public class TopicReferenceModel extends RelatedTopicModel
childTopics, id, typeUri, uri, value
Constructor and Description |
---|
TopicReferenceModel(long topicId) |
TopicReferenceModel(long topicId,
AssociationModel relatingAssoc) |
TopicReferenceModel(long topicId,
ChildTopicsModel relatingAssocChildTopics) |
TopicReferenceModel(String topicUri) |
TopicReferenceModel(String topicUri,
AssociationModel relatingAssoc) |
TopicReferenceModel(String topicUri,
ChildTopicsModel relatingAssocChildTopics) |
Modifier and Type | Method and Description |
---|---|
RelatedTopic |
findReferencedTopic(List<RelatedTopic> topics)
From the given topics finds the one this reference refers to.
|
boolean |
isReferenceById() |
boolean |
isReferenceByUri() |
boolean |
isReferingTo(Topic topic)
Checks weather this reference refers to the given topic.
|
String |
toString() |
clone, getRelatingAssociation, toJSON
createRoleModel
equals, getChildTopicsModel, getId, getSimpleValue, getTypeUri, getUri, hashCode, set, setChildTopicsModel, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri
public TopicReferenceModel(long topicId)
public TopicReferenceModel(long topicId, AssociationModel relatingAssoc)
public TopicReferenceModel(String topicUri)
public TopicReferenceModel(String topicUri, AssociationModel relatingAssoc)
public TopicReferenceModel(long topicId, ChildTopicsModel relatingAssocChildTopics)
public TopicReferenceModel(String topicUri, ChildTopicsModel relatingAssocChildTopics)
public boolean isReferenceById()
public boolean isReferenceByUri()
public boolean isReferingTo(Topic topic)
public RelatedTopic findReferencedTopic(List<RelatedTopic> topics)
public String toString()
toString
in class RelatedTopicModel
Copyright © 2015. All Rights Reserved.