Package net.ontopia.topicmaps.rest.model
Class Occurrence
- 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.Occurrence
-
public class Occurrence extends Scoped
-
-
Constructor Summary
Constructors Constructor Description Occurrence()Occurrence(String objectId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URILocatorgetDataType()intgetLength()LocatorIFgetLocator()TopicgetTopic()TopicgetType()StringgetValue()voidsetDatatype(LocatorIF datatype)voidsetDatatype(URILocator datatype)voidsetLocator(LocatorIF locator)voidsetTopic(Topic topic)voidsetType(Topic type)voidsetValue(String value)-
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
-
Occurrence
public Occurrence()
-
Occurrence
public Occurrence(String objectId)
-
-
Method Detail
-
getTopic
public Topic getTopic()
-
setTopic
public void setTopic(Topic topic)
-
getDataType
public URILocator getDataType()
-
setDatatype
public void setDatatype(URILocator datatype)
-
setDatatype
public void setDatatype(LocatorIF datatype) throws MalformedURLException
- Throws:
MalformedURLException
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
setLocator
public void setLocator(LocatorIF locator)
-
getLocator
public LocatorIF getLocator()
-
getLength
public int getLength()
-
getType
public Topic getType()
-
setType
public void setType(Topic type)
-
-