|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.portal.attributes.viewmodel.SemanticView
public class SemanticView
This class represents the top-level container for the Unified Attribute Model (UAM). It contains attribute and group hash map collections, as well as an ordered list representing the order of groups. Instances of this class can be converted to JSON using Jackson.
Field Summary | |
---|---|
static java.lang.String |
PERMANENT_GROUP_ALL_DN
|
static java.lang.String |
PERMANENT_GROUP_ALL_KEY
|
static java.lang.String |
PERMANENT_GROUP_OTHER_DN
|
static java.lang.String |
PERMANENT_GROUP_OTHER_KEY
|
Constructor Summary | |
---|---|
SemanticView()
|
Method Summary | |
---|---|
SemanticView |
copyBPCs()
This method creates a shallow copy of SemanticView by cloning it's containers (attributes, predefinedMetrics, metadata, groups and GroupOrder). |
Group |
getAllGroup()
Get all group, create the all group dynamically |
BPCFilter |
getAttributeFilter()
An AttributeSettings instance can contain pre-constructed BPC filters for attributes and groups. |
java.util.HashMap<java.lang.String,Attribute> |
getAttributes()
|
BPCFilter |
getGroupFilter()
An AttributeSettings instance can contain pre-constructed BPC filters for attributes and groups. |
java.util.List<java.lang.String> |
getGroupOrder()
|
java.util.HashMap<java.lang.String,Group> |
getGroups()
|
ViewMetadata |
getMetadata()
|
java.util.List<java.lang.String> |
getOtherAttrKeys()
|
Group |
getOtherGroup()
Get other group, create the other group dynamically |
java.util.LinkedHashMap<java.lang.String,PrefinedMetric> |
getPredefinedMetrics()
|
Group |
getRealOtherGroup()
|
void |
setAllGroup(Group allGroup)
|
void |
setAttributeFilter(BPCFilter attributeFilter)
|
void |
setAttributes(java.util.HashMap<java.lang.String,Attribute> attributes)
|
void |
setGroupFilter(BPCFilter groupFilter)
|
void |
setGroupOrder(java.util.List<java.lang.String> groupOrder)
|
void |
setGroups(java.util.HashMap<java.lang.String,Group> groups)
|
void |
setMetadata(ViewMetadata metadata)
|
void |
setOtherGroup(Group otherGroup)
|
void |
setPredefinedMetrics(java.util.LinkedHashMap<java.lang.String,PrefinedMetric> predefinedMetrics)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PERMANENT_GROUP_ALL_KEY
public static final java.lang.String PERMANENT_GROUP_ALL_DN
public static final java.lang.String PERMANENT_GROUP_OTHER_KEY
public static final java.lang.String PERMANENT_GROUP_OTHER_DN
Constructor Detail |
---|
public SemanticView()
Method Detail |
---|
public void setAttributes(java.util.HashMap<java.lang.String,Attribute> attributes)
attributes
- the attributes to setpublic java.util.HashMap<java.lang.String,Attribute> getAttributes()
public void setGroups(java.util.HashMap<java.lang.String,Group> groups)
groups
- the groups to setpublic java.util.HashMap<java.lang.String,Group> getGroups()
public void setGroupOrder(java.util.List<java.lang.String> groupOrder)
groupOrder
- the groupOrder to setpublic java.util.List<java.lang.String> getGroupOrder()
public void setAttributeFilter(BPCFilter attributeFilter)
attributeFilter
- the attributeFilter to setpublic BPCFilter getAttributeFilter()
public void setGroupFilter(BPCFilter groupFilter)
groupFilter
- the groupFilter to setpublic BPCFilter getGroupFilter()
public java.util.LinkedHashMap<java.lang.String,PrefinedMetric> getPredefinedMetrics()
public void setPredefinedMetrics(java.util.LinkedHashMap<java.lang.String,PrefinedMetric> predefinedMetrics)
public ViewMetadata getMetadata()
public void setMetadata(ViewMetadata metadata)
public void setAllGroup(Group allGroup)
allGroup
- public Group getAllGroup()
public void setOtherGroup(Group otherGroup)
public Group getOtherGroup()
public java.util.List<java.lang.String> getOtherAttrKeys()
public Group getRealOtherGroup()
public SemanticView copyBPCs()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |