de.deepamehta.core.model
Class TopicReferenceModel
java.lang.Object
de.deepamehta.core.model.DeepaMehtaObjectModel
de.deepamehta.core.model.TopicModel
de.deepamehta.core.model.TopicReferenceModel
- All Implemented Interfaces:
- Identifiable, JSONEnabled, Cloneable
public class TopicReferenceModel
- extends TopicModel
Methods inherited from class de.deepamehta.core.model.DeepaMehtaObjectModel |
equals, getCompositeValueModel, getId, getSimpleValue, getTypeUri, getUri, hashCode, set, setCompositeValue, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toJSON |
TopicReferenceModel
public TopicReferenceModel(long topicId)
TopicReferenceModel
public TopicReferenceModel(String uri)
isReferenceById
public boolean isReferenceById()
isReferenceByUri
public boolean isReferenceByUri()
isReferingTo
public boolean isReferingTo(Topic topic)
- Checks weather this reference refers to the given topic.
isReferingToAny
public boolean isReferingToAny(List<Topic> topics)
- Checks weather this reference refers to any of the given topics.
Copyright © 2013. All Rights Reserved.