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 |
|---|---|
(package private) String |
className() |
RelatedTopicModelImpl |
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.
|
(package private) TopicModelImpl |
resolve()
Resolves this reference and replaces it by the resolved topic.
|
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_updateSimpleValue, delete, equals, getChildTopicsModel, getId, getIndexValue, getSimpleValue, getTypeUri, getUri, hashCode, isSimple, loadChildTopics, loadChildTopics, loadChildTopics, objectInfo, postCreate, postDelete, postUpdate, preCreate, preUpdate, set, setChildTopicsModel, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toString, update, updateChildTopics, updateChildTopics, updateSimpleValue, updateTypeUri, updateUri, uriChangefinalize, getClass, notify, notifyAll, wait, wait, waitgetRelatingAssociationclonecreateRoleModel, getChildTopicsModel, getId, getSimpleValue, getTypeUri, getUri, set, setChildTopicsModel, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUritoJSONTopicReferenceModelImpl(RelatedTopicModelImpl relatedTopic)
public boolean isReferenceById()
isReferenceById in interface TopicReferenceModelpublic boolean isReferenceByUri()
isReferenceByUri in interface TopicReferenceModelpublic boolean isEmptyRef()
TopicReferenceModelisEmptyRef in interface TopicReferenceModelpublic boolean isReferingTo(TopicModel topic)
TopicReferenceModelisReferingTo in interface TopicReferenceModelpublic RelatedTopicModelImpl findReferencedTopic(List<? extends RelatedTopicModel> topics)
TopicReferenceModelfindReferencedTopic in interface TopicReferenceModelString className()
className in class RelatedTopicModelImplTopicModelImpl resolve()
RuntimeException - if retrieval of the refered topic failsRuntimeException - if this reference refers to nothingCopyright © 2018. All Rights Reserved.