Package net.ontopia.topicmaps.rest.model
Class Association
- java.lang.Object
-
- net.ontopia.topicmaps.rest.model.TMObject
-
- net.ontopia.topicmaps.rest.model.Reifiable
-
- net.ontopia.topicmaps.rest.model.Scoped
-
- net.ontopia.topicmaps.rest.model.Association
-
public class Association extends Scoped
-
-
Constructor Summary
Constructors Constructor Description Association()
Association(String objectId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<AssociationRole>
getRoles()
Topic
getType()
void
setRoles(Collection<AssociationRole> roles)
void
setType(Topic type)
-
Methods inherited from class net.ontopia.topicmaps.rest.model.Reifiable
getReifier, setReifier
-
Methods inherited from class net.ontopia.topicmaps.rest.model.TMObject
getItemIdentifiers, getObjectId, setItemIdentifiers
-
-
-
-
Constructor Detail
-
Association
public Association()
-
Association
public Association(String objectId)
-
-
Method Detail
-
getRoles
public Collection<AssociationRole> getRoles()
-
setRoles
public void setRoles(Collection<AssociationRole> roles)
-
getType
public Topic getType()
-
setType
public void setType(Topic type)
-
-