org.tm4j.tmapi.core
Class TMAPIAssociationImpl

java.lang.Object
  extended byorg.tm4j.tmapi.core.TMAPITopicMapObjectImpl
      extended byorg.tm4j.tmapi.core.TMAPIScopedObjectImpl
          extended byorg.tm4j.tmapi.core.TMAPIAssociationImpl
All Implemented Interfaces:
org.tmapi.core.Association, org.tmapi.core.ScopedObject, org.tmapi.core.TopicMapObject

public class TMAPIAssociationImpl
extends TMAPIScopedObjectImpl
implements org.tmapi.core.Association


Constructor Summary
TMAPIAssociationImpl(Association obj, TMAPITopicMapImpl tm)
           
 
Method Summary
 org.tmapi.core.AssociationRole createAssociationRole(org.tmapi.core.Topic player, org.tmapi.core.Topic roleSpec)
           
 java.util.Set getAssociationRoles()
           
 org.tmapi.core.Topic getType()
           
 Association getWrapped()
           
 void remove()
           
 void removeMember(org.tmapi.core.AssociationRole _obj)
           
 void setType(org.tmapi.core.Topic type)
           
 
Methods inherited from class org.tm4j.tmapi.core.TMAPIScopedObjectImpl
addScopingTopic, getScope, removeScopingTopic
 
Methods inherited from class org.tm4j.tmapi.core.TMAPITopicMapObjectImpl
addSourceLocator, equals, getObjectId, getReifier, getSourceLocators, getTopicMap, hashCode, removeSourceLocator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tmapi.core.Association
getReifier
 
Methods inherited from interface org.tmapi.core.ScopedObject
addScopingTopic, getScope, removeScopingTopic
 
Methods inherited from interface org.tmapi.core.TopicMapObject
addSourceLocator, equals, getObjectId, getSourceLocators, getTopicMap, hashCode, removeSourceLocator
 

Constructor Detail

TMAPIAssociationImpl

public TMAPIAssociationImpl(Association obj,
                            TMAPITopicMapImpl tm)
Method Detail

getWrapped

public Association getWrapped()

createAssociationRole

public org.tmapi.core.AssociationRole createAssociationRole(org.tmapi.core.Topic player,
                                                            org.tmapi.core.Topic roleSpec)
Specified by:
createAssociationRole in interface org.tmapi.core.Association

removeMember

public void removeMember(org.tmapi.core.AssociationRole _obj)

getAssociationRoles

public java.util.Set getAssociationRoles()
Specified by:
getAssociationRoles in interface org.tmapi.core.Association

getType

public org.tmapi.core.Topic getType()
Specified by:
getType in interface org.tmapi.core.Association

setType

public void setType(org.tmapi.core.Topic type)
Specified by:
setType in interface org.tmapi.core.Association

remove

public void remove()
Specified by:
remove in interface org.tmapi.core.Association