|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.portal.attributes.model.BasePropertyContainer
com.endeca.portal.attributes.viewmodel.Attribute
public class Attribute
Represents an attribute object serializable via Jackson
Field Summary | |
---|---|
static java.lang.String |
AVAILABLE_AGGREGATIONS_PROPERTY
|
static java.lang.String |
DATA_TYPE_PROPERTY
|
static java.lang.String |
DEFAULT_AGGREGATION_PROPERTY
|
static java.lang.String |
DESCRIPTION_PROPERTY
|
static java.lang.String |
DISPLAY_NAME_PROPERTY
|
static java.lang.String |
FORMATTER_PROPERTY
|
static java.lang.String |
IS_DIMENSION_PROPERTY
|
static java.lang.String |
IS_KEY_COLUMN_PROPERTY
|
static java.lang.String |
IS_REFINEABLE_PROPERTY
|
static java.lang.String |
LOCALIZED_DISPLAY_NAME_PROPERTY
|
static java.lang.String |
NAVIGATION_ORDERING_PROPERTY
Lexical/Dynamic |
static java.lang.String |
REFINEMENT_BEHAVIOR_PROPERTY
Single, Multi-AND, Multi-OR |
Fields inherited from class com.endeca.portal.attributes.model.BasePropertyContainer |
---|
KEY_PROPERTY, properties |
Constructor Summary | |
---|---|
Attribute()
|
Method Summary | |
---|---|
java.lang.String |
getAvailableAggregations()
|
java.lang.String |
getDatatype()
|
java.lang.String |
getDefaultAggregation()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getDisplayName(java.util.Locale locale)
Get display name by locale settings |
java.lang.String |
getDisplayName(javax.portlet.PortletRequest request)
Get display name by request |
java.lang.String |
getDisplayName(java.lang.String languageId)
Get display name bu language id |
java.lang.String |
getFormatter()
|
java.lang.String |
getLocalizedDisplayName()
|
java.lang.String |
getNavigationOrder()
|
java.lang.String |
getRefinement()
|
boolean |
isDimension()
|
boolean |
isKeyColumn()
|
boolean |
isRefineable()
|
void |
setAvailableAggregations(java.lang.String availableAggregations)
Sets the Available Aggregations |
void |
setDatatype(java.lang.String dataType)
Sets the dataType |
void |
setDefaultAggregation(java.lang.String defaultAggregation)
Sets the Default Aggregation |
void |
setDescription(java.lang.String description)
Sets the description |
void |
setDimension(boolean isDimension)
Sets whether or not this is a dimension |
void |
setDisplayName(java.lang.String displayName)
|
void |
setFormatter(java.lang.String formatter)
Sets the Formatter |
void |
setKeyColumn(boolean isKeyColumn)
Sets whether or not this is Key Column |
void |
setLocalizedDisplayName(java.lang.String displayName)
|
void |
setNavigationOrder(java.lang.String order)
Sets the navigation order |
void |
setRefineable(boolean isRefineable)
Sets whether or not this is refineable |
void |
setRefinement(java.lang.String refinement)
Sets the refinement behavior |
Methods inherited from class com.endeca.portal.attributes.model.BasePropertyContainer |
---|
addProperty, getKey, getProperties, getProperty, getProperty, isEmpty, isValid, setKey, setProperties, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DISPLAY_NAME_PROPERTY
public static final java.lang.String LOCALIZED_DISPLAY_NAME_PROPERTY
public static final java.lang.String DATA_TYPE_PROPERTY
public static final java.lang.String IS_DIMENSION_PROPERTY
public static final java.lang.String DESCRIPTION_PROPERTY
public static final java.lang.String REFINEMENT_BEHAVIOR_PROPERTY
public static final java.lang.String NAVIGATION_ORDERING_PROPERTY
public static final java.lang.String IS_KEY_COLUMN_PROPERTY
public static final java.lang.String IS_REFINEABLE_PROPERTY
public static final java.lang.String AVAILABLE_AGGREGATIONS_PROPERTY
public static final java.lang.String DEFAULT_AGGREGATION_PROPERTY
public static final java.lang.String FORMATTER_PROPERTY
Constructor Detail |
---|
public Attribute()
Method Detail |
---|
public void setDisplayName(java.lang.String displayName)
displayName
- the displayName to setpublic java.lang.String getDisplayName()
public java.lang.String getDisplayName(java.lang.String languageId)
languageId
-
public java.lang.String getDisplayName(java.util.Locale locale)
locale
-
public java.lang.String getDisplayName(javax.portlet.PortletRequest request)
locale
-
public void setLocalizedDisplayName(java.lang.String displayName)
LocalizedDisplayName
- the LocalizedDisplayName to setpublic java.lang.String getLocalizedDisplayName()
public void setDatatype(java.lang.String dataType)
dataType
- the dataType to setpublic java.lang.String getDatatype()
public boolean isDimension()
public void setDimension(boolean isDimension)
isDimension
- public void setDescription(java.lang.String description)
description
- the description to setpublic java.lang.String getDescription()
public void setRefinement(java.lang.String refinement)
refinement
- the refinement behavior to setpublic java.lang.String getRefinement()
public void setNavigationOrder(java.lang.String order)
order
- the navigation order to setpublic java.lang.String getNavigationOrder()
public boolean isRefineable()
public void setRefineable(boolean isRefineable)
isRefineable
- public boolean isKeyColumn()
public void setKeyColumn(boolean isKeyColumn)
isKeyColumn
- public void setAvailableAggregations(java.lang.String availableAggregations)
availableAggregations
- the Available Aggregations to setpublic java.lang.String getAvailableAggregations()
public void setDefaultAggregation(java.lang.String defaultAggregation)
defaultAggregation
- the Default Aggregation to setpublic java.lang.String getDefaultAggregation()
public void setFormatter(java.lang.String formatter)
formatter
- the description to setpublic java.lang.String getFormatter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |