de.topicmapslab.majortom.inmemory.store.revision.readonly
Class InMemoryReadOnlyAssociationRole

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.ReadOnlyAssociationRole
              extended by de.topicmapslab.majortom.inmemory.store.revision.readonly.InMemoryReadOnlyAssociationRole
All Implemented Interfaces:
de.topicmapslab.majortom.model.core.IAssociationRole, de.topicmapslab.majortom.model.core.IConstruct, de.topicmapslab.majortom.model.core.IReifiable, 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.Reifiable, org.tmapi.core.Role, org.tmapi.core.Typed

public class InMemoryReadOnlyAssociationRole
extends ReadOnlyAssociationRole

Author:
Sven Krosse
See Also:
Serialized Form

Field Summary
private  de.topicmapslab.majortom.model.core.IAssociation cachedParent
           
private  org.tmapi.core.Topic cachedPlayer
           
private  org.tmapi.core.Topic cachedReifier
           
private  org.tmapi.core.Topic cachedType
           
private  java.util.Set<org.tmapi.core.Locator> itemIdentifiers
           
private  java.lang.String parentId
           
private  java.lang.String playerId
           
private  java.lang.String reifierId
           
private static long serialVersionUID
           
private  java.lang.String typeId
           
 
Constructor Summary
InMemoryReadOnlyAssociationRole(de.topicmapslab.majortom.model.core.IAssociationRole clone)
           
 
Method Summary
 java.util.Set<org.tmapi.core.Locator> getItemIdentifiers()
          
 de.topicmapslab.majortom.model.core.IAssociation getParent()
          
 org.tmapi.core.Topic getPlayer()
          
 org.tmapi.core.Topic getReifier()
          
 org.tmapi.core.Topic getType()
          
 
Methods inherited from class de.topicmapslab.majortom.revision.core.ReadOnlyAssociationRole
setPlayer, setType
 
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 org.tmapi.core.Reifiable
setReifier
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IConstruct
getTopicMap, isRemoved, longId, remove
 
Methods inherited from interface org.tmapi.core.Construct
addItemIdentifier, equals, getId, hashCode, remove, removeItemIdentifier
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

reifierId

private final java.lang.String reifierId

typeId

private final java.lang.String typeId

playerId

private final java.lang.String playerId

parentId

private java.lang.String parentId

cachedPlayer

private org.tmapi.core.Topic cachedPlayer

cachedType

private org.tmapi.core.Topic cachedType

cachedReifier

private org.tmapi.core.Topic cachedReifier

itemIdentifiers

private java.util.Set<org.tmapi.core.Locator> itemIdentifiers

cachedParent

private de.topicmapslab.majortom.model.core.IAssociation cachedParent
Constructor Detail

InMemoryReadOnlyAssociationRole

public InMemoryReadOnlyAssociationRole(de.topicmapslab.majortom.model.core.IAssociationRole clone)
Parameters:
clone -
Method Detail

getItemIdentifiers

public java.util.Set<org.tmapi.core.Locator> getItemIdentifiers()


getParent

public de.topicmapslab.majortom.model.core.IAssociation getParent()


getPlayer

public org.tmapi.core.Topic getPlayer()


getType

public org.tmapi.core.Topic getType()


getReifier

public org.tmapi.core.Topic getReifier()