de.topicmapslab.majortom.revision.core
Class ReadOnlyName

java.lang.Object
  extended by de.topicmapslab.majortom.revision.core.ReadOnlyConstruct
      extended by de.topicmapslab.majortom.revision.core.ReadOnlyReifiable
          extended by de.topicmapslab.majortom.revision.core.ReadOnlyScopable
              extended by de.topicmapslab.majortom.revision.core.ReadOnlyName
All Implemented Interfaces:
de.topicmapslab.majortom.model.core.ICharacteristics, de.topicmapslab.majortom.model.core.IConstruct, de.topicmapslab.majortom.model.core.IName, de.topicmapslab.majortom.model.core.IReifiable, de.topicmapslab.majortom.model.core.IScopable, de.topicmapslab.majortom.model.core.ITypeable, java.io.Serializable, java.lang.Comparable<de.topicmapslab.majortom.model.core.IConstruct>, org.tmapi.core.Construct, org.tmapi.core.Name, org.tmapi.core.Reifiable, org.tmapi.core.Scoped, org.tmapi.core.Typed
Direct Known Subclasses:
InMemoryReadOnlyName, JdbcReadOnlyName

public abstract class ReadOnlyName
extends ReadOnlyScopable
implements de.topicmapslab.majortom.model.core.IName

Author:
Sven Krosse
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
ReadOnlyName(de.topicmapslab.majortom.model.core.IName clone)
           
 
Method Summary
 org.tmapi.core.Variant createVariant(org.tmapi.core.Locator arg0, java.util.Collection<org.tmapi.core.Topic> arg1)
          
 org.tmapi.core.Variant createVariant(org.tmapi.core.Locator arg0, org.tmapi.core.Topic... arg1)
          
 org.tmapi.core.Variant createVariant(java.lang.String arg0, java.util.Collection<org.tmapi.core.Topic> arg1)
          
 org.tmapi.core.Variant createVariant(java.lang.String arg0, org.tmapi.core.Locator arg1, java.util.Collection<org.tmapi.core.Topic> arg2)
          
 org.tmapi.core.Variant createVariant(java.lang.String arg0, org.tmapi.core.Locator arg1, org.tmapi.core.Topic... arg2)
          
 org.tmapi.core.Variant createVariant(java.lang.String arg0, org.tmapi.core.Topic... arg1)
          
 java.util.Set<org.tmapi.core.Variant> getVariants(de.topicmapslab.majortom.model.core.IScope scope)
          
 void setType(org.tmapi.core.Topic arg0)
          
 void setValue(java.lang.String arg0)
          
 
Methods inherited from class de.topicmapslab.majortom.revision.core.ReadOnlyScopable
addTheme, getScope, removeTheme
 
Methods inherited from class de.topicmapslab.majortom.revision.core.ReadOnlyReifiable
setReifier
 
Methods inherited from class de.topicmapslab.majortom.revision.core.ReadOnlyConstruct
addItemIdentifier, compareTo, equals, getId, getTopicMap, hashCode, isRemoved, longId, remove, remove, removeItemIdentifier, setRemoved
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IName
getParent
 
Methods inherited from interface org.tmapi.core.Name
getValue, getVariants
 
Methods inherited from interface org.tmapi.core.Typed
getType
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IScopable
getScopeObject, getTopicMap
 
Methods inherited from interface org.tmapi.core.Scoped
addTheme, getScope, removeTheme
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IConstruct
isRemoved, longId, remove
 
Methods inherited from interface org.tmapi.core.Construct
addItemIdentifier, equals, getId, getItemIdentifiers, hashCode, remove, removeItemIdentifier
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.tmapi.core.Reifiable
getReifier, setReifier
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ReadOnlyName

public ReadOnlyName(de.topicmapslab.majortom.model.core.IName clone)
Parameters:
clone -
Method Detail

getVariants

public java.util.Set<org.tmapi.core.Variant> getVariants(de.topicmapslab.majortom.model.core.IScope scope)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.core.IName

createVariant

public org.tmapi.core.Variant createVariant(java.lang.String arg0,
                                            org.tmapi.core.Topic... arg1)
                                     throws org.tmapi.core.ModelConstraintException

Specified by:
createVariant in interface org.tmapi.core.Name
Throws:
org.tmapi.core.ModelConstraintException

createVariant

public org.tmapi.core.Variant createVariant(java.lang.String arg0,
                                            java.util.Collection<org.tmapi.core.Topic> arg1)
                                     throws org.tmapi.core.ModelConstraintException

Specified by:
createVariant in interface org.tmapi.core.Name
Throws:
org.tmapi.core.ModelConstraintException

createVariant

public org.tmapi.core.Variant createVariant(org.tmapi.core.Locator arg0,
                                            org.tmapi.core.Topic... arg1)
                                     throws org.tmapi.core.ModelConstraintException

Specified by:
createVariant in interface org.tmapi.core.Name
Throws:
org.tmapi.core.ModelConstraintException

createVariant

public org.tmapi.core.Variant createVariant(org.tmapi.core.Locator arg0,
                                            java.util.Collection<org.tmapi.core.Topic> arg1)
                                     throws org.tmapi.core.ModelConstraintException

Specified by:
createVariant in interface org.tmapi.core.Name
Throws:
org.tmapi.core.ModelConstraintException

createVariant

public org.tmapi.core.Variant createVariant(java.lang.String arg0,
                                            org.tmapi.core.Locator arg1,
                                            org.tmapi.core.Topic... arg2)
                                     throws org.tmapi.core.ModelConstraintException

Specified by:
createVariant in interface org.tmapi.core.Name
Throws:
org.tmapi.core.ModelConstraintException

createVariant

public org.tmapi.core.Variant createVariant(java.lang.String arg0,
                                            org.tmapi.core.Locator arg1,
                                            java.util.Collection<org.tmapi.core.Topic> arg2)
                                     throws org.tmapi.core.ModelConstraintException

Specified by:
createVariant in interface org.tmapi.core.Name
Throws:
org.tmapi.core.ModelConstraintException

setValue

public void setValue(java.lang.String arg0)
              throws org.tmapi.core.ModelConstraintException

Specified by:
setValue in interface org.tmapi.core.Name
Throws:
org.tmapi.core.ModelConstraintException

setType

public void setType(org.tmapi.core.Topic arg0)

Specified by:
setType in interface org.tmapi.core.Typed