org.eclipse.ocl.examples.modelregistry.model
Class NamedSerialization

java.lang.Object
  extended by org.eclipse.ocl.examples.modelregistry.model.NamedSerialization
All Implemented Interfaces:
ModelSerialization

public class NamedSerialization
extends java.lang.Object
implements ModelSerialization

A NamedSerialisation defines the serialization of a model by an informal name, and is used when the ModelSerialisationRegistryReader has no registration for that name.


Field Summary
protected  java.lang.String name
           
 
Constructor Summary
NamedSerialization(java.lang.String name)
           
 
Method Summary
 java.lang.String getFactoryClassName()
          Return the name of the resource factory class.
 java.lang.String getName()
          Return the name of the model serialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final java.lang.String name
Constructor Detail

NamedSerialization

public NamedSerialization(java.lang.String name)
Method Detail

getFactoryClassName

public java.lang.String getFactoryClassName()
Description copied from interface: ModelSerialization
Return the name of the resource factory class.

Specified by:
getFactoryClassName in interface ModelSerialization
Returns:
the resource factory class name.

getName

public java.lang.String getName()
Description copied from interface: ModelSerialization
Return the name of the model serialization.

Specified by:
getName in interface ModelSerialization
Returns:
the model serialization name