Package ontopoly.model
Class TopicMap
java.lang.Object
ontopoly.model.TopicMap
INTERNAL: Represents an Ontopoly topic map.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateAssociationType(String name) protected TopicIFcreateNamedTopic(String name, TopicIF type) createNameType(String name) createOccurrenceType(String name) createRoleType(String name) createTopicType(String name) protected NameFieldgetId()Returns the Id of the topic map reference in the topic map registry.getName()Returns the name of the topic map, or null if it has none.floatReturns the version of the Ontopoly meta-ontology used in this topic map.Returns a list of the topic types that is not a system topic type.getTopicById(String id) getTopicIFById(String id) protected StringgetTopicName(TopicIF topic, AbstractTypingTopic fallback) Package-internal method to get the name of a topic.Returns a list of the topic types that is not a system topic type.Returns a list of the topic types that is not a system topic type.booleanbooleanprotected TopicIF<T> QueryMapper<T>newQueryMapper(Class<T> type) <T> QueryMapper<T>voidsave()Returns the topics that matches the given search term.
-
Field Details
-
ON
- See Also:
-
XTM
- See Also:
-
TEST
- See Also:
-
TECH
- See Also:
-
DC
- See Also:
-
XSD
- See Also:
-
TMDM
- See Also:
-
-
Constructor Details
-
TopicMap
-
-
Method Details
-
getDeclarationContext
-
getQueryProcessor
-
containsOntology
public boolean containsOntology() -
isDeleteable
public boolean isDeleteable() -
getTopicMapIF
-
newQueryMapperNoWrap
-
newQueryMapper
-
getTopicIFById
-
getTopicById
-
getTopicTypeById
-
getReifier
-
makeReifier
-
getName
Returns the name of the topic map, or null if it has none. -
getOntologyVersion
public float getOntologyVersion()Returns the version of the Ontopoly meta-ontology used in this topic map. -
getId
Returns the Id of the topic map reference in the topic map registry. -
getTopicTypes
Returns a list of the topic types that is not a system topic type. -
getRootTopicTypes
Returns a list of the topic types that is not a system topic type. -
getTopicTypesWithLargeInstanceSets
Returns a list of the topic types that is not a system topic type. -
getOccurrenceFields
-
getRoleFields
-
getNameFields
-
getIdentityFields
-
getQueryFields
-
isSaveable
public boolean isSaveable() -
save
public void save() -
createNamedTopic
-
createTopicType
-
getDefaultNameField
-
createNameType
-
createOccurrenceType
-
createAssociationType
-
createRoleType
-
searchAll
Returns the topics that matches the given search term. Only topics of allowed player types are returned.- Returns:
- a collection of Topic objects
-
getTopicName
Package-internal method to get the name of a topic. Introduced in Ontopia 5.1 for field definitions. Not used everywhere because I don't understand the code well enough to do that, and anyway things appear to work properly elsewhere. Should probably use this in Topic.getName(), though.
-