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 URILocator
getDataType()
int
getLength()
LocatorIF
getLocator()
Topic
getTopic()
Topic
getType()
String
getValue()
void
setDatatype(LocatorIF datatype)
void
setDatatype(URILocator datatype)
void
setLocator(LocatorIF locator)
void
setTopic(Topic topic)
void
setType(Topic type)
void
setValue(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)
-
-