Package com.appiancorp.type.system
Class TypedValueListView
java.lang.Object
com.appiancorp.type.system.ListView<TypedValue,TypedValue>
com.appiancorp.type.system.TypedValueListView
This class is available as a preview of functionality that will be added to the supported public API in a future release. While it is in the preview phase, it is subject to change or removal without deprecation or notice. Although notice of change is not guaranteed, we will try to let developers know of major changes through announcements in release notes.
A ListView where the ListViewDataSubset contains results with TypedValue
identifiers, and the
Facet values are TypedValue objects.
A TypedValueListView can be constructed with a ListViewDataSubset and a list of Facet objects, although the list of Facet objects is not required.
-
Field Summary
Fields inherited from class com.appiancorp.type.system.ListView
LOCAL_PART, QNAME, XML_ROOT_ELEMENT
-
Constructor Summary
ConstructorDescriptionTypedValueListView
(ListViewDataSubset<TypedValue> dataSubset) The identifiers of the ListViewDataSubset must beTypedValue
objects.TypedValueListView
(ListViewDataSubset<TypedValue> dataSubset, List<Facet<TypedValue>> facets) The identifiers of the ListViewDatSubset must beTypedValue
objects. -
Method Summary
Modifier and TypeMethodDescriptionReturns theListViewDataSubset
.Returns the facets that are applicable to the current (possibly filtered) data set.protected void
setDataSubset
(ListViewDataSubset<TypedValue> dataSubset) protected void
setFacets
(List<Facet<TypedValue>> facets) Methods inherited from class com.appiancorp.type.system.ListView
equalDataCheck, multilineToString, toString
-
Field Details
-
EMPTY
-
-
Constructor Details
-
TypedValueListView
public TypedValueListView(ListViewDataSubset<TypedValue> dataSubset, List<Facet<TypedValue>> facets) The identifiers of the ListViewDatSubset must beTypedValue
objects.- Parameters:
dataSubset
-facets
-
-
TypedValueListView
The identifiers of the ListViewDataSubset must beTypedValue
objects.- Parameters:
dataSubset
-
-
-
Method Details
-
getDataSubset
Returns theListViewDataSubset
. The identifiers of the ListViewDataSubset will beTypedValue
objects.- Specified by:
getDataSubset
in classListView<TypedValue,
TypedValue> - Returns:
- the ListViewDataSubset
-
setDataSubset
- Specified by:
setDataSubset
in classListView<TypedValue,
TypedValue>
-
getFacets
Returns the facets that are applicable to the current (possibly filtered) data set. The order is significant -- facets that are most relevant for an end user come first. The Facet values will beTypedValue
objects.- Specified by:
getFacets
in classListView<TypedValue,
TypedValue> - Returns:
- the list of Facets
-
setFacets
- Specified by:
setFacets
in classListView<TypedValue,
TypedValue>
-