|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ontopoly.model.Topic ontopoly.model.DataType
public class DataType
Represents a datatype which can be assigned to an occurrence type.
Constructor Summary | |
---|---|
DataType(TopicIF topic,
TopicMap tm)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static java.util.List<DataType> |
getDataTypes(TopicMap tm)
|
static DataType |
getDefaultDataType(TopicMap tm)
|
LocatorIF |
getLocator()
Returns the datatype locator that this datatype represents. |
boolean |
isBinary()
Tests whether this datatype is xsd:base64Binary (binary content). |
boolean |
isDate()
Tests whether this datatype is xsd:date. |
boolean |
isDateTime()
Tests whether this datatype is xsd:datetime. |
boolean |
isHTML()
Tests whether this datatype is on:datatype-html. |
boolean |
isImage()
Tests whether this datatype is on:datatype-image. |
boolean |
isNumber()
Tests whether this datatype is xsd:number. |
boolean |
isString()
Tests whether this datatype is xsd:string. |
boolean |
isURI()
Tests whether this datatype is xsd:anyUri. |
Methods inherited from class ontopoly.model.Topic |
---|
addTopicType, copyCharacteristics, findDependentObjects, getDependentObjects, getFieldInstances, getFieldInstances, getId, getMostSpecificTopicType, getName, getTopicIF, getTopicMap, getTopicTypes, hashCode, isAssociationType, isFieldDefinition, isInstanceOf, isInstanceOf, isNameType, isOccurrenceType, isOntologyTopic, isOntologyType, isPrivateSystemTopic, isPublicSystemTopic, isRoleType, isSystemTopic, isTopicMap, isTopicType, remove, removeTopicType, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataType(TopicIF topic, TopicMap tm)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class Topic
public LocatorIF getLocator()
public boolean isDate()
public boolean isDateTime()
public boolean isNumber()
public boolean isString()
public boolean isURI()
public boolean isHTML()
public boolean isImage()
public boolean isBinary()
public static DataType getDefaultDataType(TopicMap tm)
public static java.util.List<DataType> getDataTypes(TopicMap tm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |