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, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, 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, remove
toJSON
private String childTypeUri
FacetValueModelImpl(String childTypeUri, ModelFactory mf)
FacetValueModelImpl(ChildTopicsModelImpl childTopics)
public RelatedTopicModel getTopic()
getTopic
in interface FacetValueModel
public List<? extends RelatedTopicModel> getTopics()
getTopics
in interface FacetValueModel
public FacetValueModel put(RelatedTopicModel value)
put
in interface FacetValueModel
public FacetValueModel put(Object value)
put
in interface FacetValueModel
public FacetValueModel put(ChildTopicsModel value)
put
in interface FacetValueModel
public FacetValueModel putRef(long refTopicId)
putRef
in interface FacetValueModel
public FacetValueModel putRef(String refTopicUri)
putRef
in interface FacetValueModel
public FacetValueModel put(List<RelatedTopicModel> values)
put
in interface FacetValueModel
public FacetValueModel addRef(long refTopicId)
addRef
in interface FacetValueModel
public FacetValueModel addRef(String refTopicUri)
addRef
in interface FacetValueModel
public FacetValueModel addDeletionRef(long refTopicId)
addDeletionRef
in interface FacetValueModel
Copyright © 2016. All Rights Reserved.