public interface TopicReferenceModel extends RelatedTopicModel
Modifier and Type | Method and 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 weather this reference refers to the given topic.
|
getRelatingAssociation
clone
createRoleModel, getChildTopicsModel, getId, getSimpleValue, getTypeUri, getUri, set, setChildTopicsModel, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri
toJSON
boolean isReferenceById()
boolean isReferenceByUri()
boolean isEmptyRef()
boolean isReferingTo(TopicModel topic)
RelatedTopicModel findReferencedTopic(List<? extends RelatedTopicModel> topics)
Copyright © 2018. All Rights Reserved.