class FacetValueModelImpl extends ChildTopicsModelImpl implements FacetValueModel
| Modifier and Type | Field and Description |
|---|---|
private String |
childTypeUri |
| Constructor and Description |
|---|
FacetValueModelImpl(ChildTopicsModelImpl childTopics) |
FacetValueModelImpl(String childTypeUri,
ModelFactory mf) |
| Modifier and Type | Method and Description |
|---|---|
FacetValueModel |
addDeletionRef(long refTopicId)
Adds a by-ID topic deletion reference to a multiple-valued facet.
|
FacetValueModel |
addRef(long refTopicId)
Adds a by-ID topic reference to a multiple-valued facet.
|
FacetValueModel |
addRef(String refTopicUri)
Adds a by-URI topic reference to a multiple-valued facet.
|
RelatedTopicModel |
getTopic()
Accesses a single-valued facet.
|
List<? extends RelatedTopicModel> |
getTopics()
Accesses a multiple-valued facet.
|
FacetValueModel |
put(ChildTopicsModel value)
Convenience method to put a *composite* value in a single-valued facet.
|
FacetValueModel |
put(List<RelatedTopicModel> values)
Sets the values of a multiple-valued facet.
|
FacetValueModel |
put(Object value)
Convenience method to put a *simple* value in a single-valued facet.
|
FacetValueModel |
put(RelatedTopicModel value)
Puts a value in a single-valued facet.
|
FacetValueModel |
putRef(long refTopicId)
Puts a by-ID topic reference in a single-valued facet.
|
FacetValueModel |
putRef(String refTopicUri)
Puts a by-URI topic reference in a single-valued facet.
|
add, add, addDeletionRef, addDeletionRef, addRef, addRef, addToChildTopics, clone, findChildTopicById, findChildTopicByRef, get, getBoolean, getBoolean, getChildTopicsModel, getChildTopicsModel, getDouble, getDouble, getInt, getInt, getLong, getLong, getObject, getObject, getString, getString, getTopic, getTopicOrNull, getTopics, getTopicsOrNull, has, iterator, put, put, put, put, put, putDeletionRef, putDeletionRef, putInChildTopics, putRef, putRef, remove, remove, removeChildTopic, removeFromChildTopics, size, toJSON, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, add, addDeletionRef, addDeletionRef, addRef, addRef, clone, get, getBoolean, getBoolean, getChildTopicsModel, getChildTopicsModel, getDouble, getDouble, getInt, getInt, getLong, getLong, getObject, getObject, getString, getString, getTopic, getTopicOrNull, getTopics, getTopicsOrNull, put, put, put, put, put, putDeletionRef, putDeletionRef, putRef, putRef, remove, removetoJSONprivate String childTypeUri
FacetValueModelImpl(String childTypeUri, ModelFactory mf)
FacetValueModelImpl(ChildTopicsModelImpl childTopics)
public RelatedTopicModel getTopic()
getTopic in interface FacetValueModelpublic List<? extends RelatedTopicModel> getTopics()
getTopics in interface FacetValueModelpublic FacetValueModel put(RelatedTopicModel value)
put in interface FacetValueModelpublic FacetValueModel put(Object value)
put in interface FacetValueModelpublic FacetValueModel put(ChildTopicsModel value)
put in interface FacetValueModelpublic FacetValueModel putRef(long refTopicId)
putRef in interface FacetValueModelpublic FacetValueModel putRef(String refTopicUri)
putRef in interface FacetValueModelpublic FacetValueModel put(List<RelatedTopicModel> values)
put in interface FacetValueModelpublic FacetValueModel addRef(long refTopicId)
addRef in interface FacetValueModelpublic FacetValueModel addRef(String refTopicUri)
addRef in interface FacetValueModelpublic FacetValueModel addDeletionRef(long refTopicId)
addDeletionRef in interface FacetValueModelCopyright © 2016. All Rights Reserved.