class TopicReferenceModelImpl extends RelatedTopicModelImpl implements TopicReferenceModel
childTopics, em, id, logger, mf, pl, typeUri, uri, value
Constructor and Description |
---|
TopicReferenceModelImpl(RelatedTopicModelImpl relatedTopic) |
Modifier and Type | Method and Description |
---|---|
RelatedTopicModelImpl |
findReferencedTopic(List<? extends RelatedTopicModel> topics)
From the given topics finds the one this reference refers to.
|
boolean |
isReferenceById() |
boolean |
isReferenceByUri() |
boolean |
isReferingTo(TopicModel topic)
Checks weather this reference refers to the given topic.
|
String |
toString() |
className, clone, getRelatingAssociation, instantiate, toJSON
_delete, checkReadAccess, checkWriteAccess, createModelWithChildTopics, createRoleModel, findChildTopic, getAssociations, getDeleteDirective, getPostDeleteEvent, getPostUpdateEvent, getPreDeleteEvent, getPreUpdateEvent, getRelatedTopic, getRelatedTopics, getRelatedTopics, getType, getUpdateDirective, indexSimpleValue, preDelete, removeProperty, storeProperty, storeSimpleValue, storeTypeUri, storeUri
_updateChildTopics, calculateLabel, calculateLabelAndUpdate, delete, equals, getChildTopicsModel, getId, getIndexValue, getSimpleValue, getTypeUri, getUri, hashCode, isSimple, loadChildTopics, loadChildTopics, postCreate, postDelete, postUpdate, preCreate, preUpdate, set, setChildTopicsModel, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, update, updateChildTopics, updateSimpleValue, updateTypeUri, updateUri, updateWithChildTopics, uriChange
finalize, getClass, notify, notifyAll, wait, wait, wait
getRelatingAssociation
clone
createRoleModel, getChildTopicsModel, getId, getSimpleValue, getTypeUri, getUri, set, setChildTopicsModel, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri
toJSON
TopicReferenceModelImpl(RelatedTopicModelImpl relatedTopic)
public boolean isReferenceById()
isReferenceById
in interface TopicReferenceModel
public boolean isReferenceByUri()
isReferenceByUri
in interface TopicReferenceModel
public boolean isReferingTo(TopicModel topic)
TopicReferenceModel
isReferingTo
in interface TopicReferenceModel
public RelatedTopicModelImpl findReferencedTopic(List<? extends RelatedTopicModel> topics)
TopicReferenceModel
findReferencedTopic
in interface TopicReferenceModel
public String toString()
toString
in class RelatedTopicModelImpl
Copyright © 2018. All Rights Reserved.