Package systems.dmx.core.model
Interface TopicReferenceModel
-
- All Superinterfaces:
Cloneable
,DMXObjectModel
,Identifiable
,JSONEnabled
,RelatedObjectModel
,RelatedTopicModel
,TopicModel
public interface TopicReferenceModel extends RelatedTopicModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelatedTopicModel
findReferencedTopic(List<? extends RelatedTopicModel> topics)
From the given topics finds the one this reference refers to.boolean
isEmptyRef()
Returns true if this reference refers to nothing.boolean
isReferenceById()
boolean
isReferenceByUri()
boolean
isReferingTo(TopicModel topic)
Checks whether this reference refers to the given topic.-
Methods inherited from interface systems.dmx.core.model.DMXObjectModel
createPlayerModel, getChildTopics, getId, getSimpleValue, getTypeUri, getUri, set, setChildTopics, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump, toJSON
-
Methods inherited from interface systems.dmx.core.model.RelatedObjectModel
getRelatingAssoc
-
Methods inherited from interface systems.dmx.core.model.RelatedTopicModel
clone
-
-
-
-
Method Detail
-
isReferenceById
boolean isReferenceById()
-
isReferenceByUri
boolean isReferenceByUri()
-
isEmptyRef
boolean isEmptyRef()
Returns true if this reference refers to nothing.
-
isReferingTo
boolean isReferingTo(TopicModel topic)
Checks whether this reference refers to the given topic.
-
findReferencedTopic
RelatedTopicModel findReferencedTopic(List<? extends RelatedTopicModel> topics)
From the given topics finds the one this reference refers to.
-
-