de.topicmapslab.majortom.revision.core
Class ReadOnlyScopable

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
All Implemented Interfaces:
de.topicmapslab.majortom.model.core.IConstruct, de.topicmapslab.majortom.model.core.IReifiable, de.topicmapslab.majortom.model.core.IScopable, java.io.Serializable, java.lang.Comparable<de.topicmapslab.majortom.model.core.IConstruct>, org.tmapi.core.Construct, org.tmapi.core.Reifiable, org.tmapi.core.Scoped
Direct Known Subclasses:
ReadOnlyAssociation, ReadOnlyDatatypeAware, ReadOnlyName

public abstract class ReadOnlyScopable
extends ReadOnlyReifiable
implements de.topicmapslab.majortom.model.core.IScopable

Read only implementation of IScopable

Author:
Sven Krosse
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
ReadOnlyScopable(de.topicmapslab.majortom.model.core.IScopable clone)
          constructor
 
Method Summary
 void addTheme(org.tmapi.core.Topic arg0)
          
 java.util.Set<org.tmapi.core.Topic> getScope()
          
 void removeTheme(org.tmapi.core.Topic arg0)
          
 
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.IScopable
getScopeObject, getTopicMap
 
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, getParent, hashCode, remove, removeItemIdentifier
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.tmapi.core.Reifiable
getReifier
 

Field Detail

serialVersionUID

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

ReadOnlyScopable

public ReadOnlyScopable(de.topicmapslab.majortom.model.core.IScopable clone)
constructor

Parameters:
clone - the construct to clone
Method Detail

addTheme

public void addTheme(org.tmapi.core.Topic arg0)
              throws org.tmapi.core.ModelConstraintException

Specified by:
addTheme in interface org.tmapi.core.Scoped
Throws:
org.tmapi.core.ModelConstraintException

getScope

public java.util.Set<org.tmapi.core.Topic> getScope()

Specified by:
getScope in interface org.tmapi.core.Scoped

removeTheme

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

Specified by:
removeTheme in interface org.tmapi.core.Scoped