planetj.dataengine.action
Class ActionPropertyGroup

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byplanetj.property.PropertyGroup
              extended byplanetj.property.DefaultPropertyGroup
                  extended byplanetj.dataengine.action.ActionPropertyGroup
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.util.Map, java.io.Serializable

public class ActionPropertyGroup
extends DefaultPropertyGroup

An ActionDescriptor contains all the actions of a given type that should be shown or hidden when displaying.

See Also:
Serialized Form

Field Summary
static java.lang.String ACTIONS
          Used for the default ActionDisplayDescriptor's property group name.
static java.lang.String className
          Class name.
static java.lang.String HIDE
          Actions to hide.
static java.lang.String SHOW
          Actions to show.
static java.lang.String TYPE
          Type of actions to show or hide (e.g.
static java.lang.String TYPE_FIELD
           
static java.lang.String TYPE_OPERATION
           
static java.lang.String TYPE_ROW
           
static java.lang.String TYPE_ROWCOLLECTION
           
 
Fields inherited from class planetj.property.PropertyGroup
ALL, ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, FLOAT_PROPERTY, INTEGER_PROPERTY, JAVA_CLASS_PROPERTY, LIST_PROPERTY, MAP_PROPERTY, NONE, ROW_COLLECTION_KEY, STRING_PROPERTY
 
Constructor Summary
ActionPropertyGroup()
          ActionDescriptor constructor comment.
ActionPropertyGroup(int initialCapacity)
          ActionDescriptor constructor comment.
ActionPropertyGroup(java.lang.String pName)
          ActionDescriptor constructor comment.
 
Method Summary
 java.util.List getAllPropertyNames()
          Gets a List containing the names of all the supported properties.
 java.util.List getHiddenActionNames()
          Get list of actions to hide.
 java.util.List getShownActionNames()
          Get list of actions to show.
 java.lang.String getType()
          Get the type of actions shown or hidden.
protected  short propertyType(java.lang.String propName)
          Gets the type of property for a specified property name.
 
Methods inherited from class planetj.property.DefaultPropertyGroup
getDefaultPropertiesString, getRequiredPropertyNames
 
Methods inherited from class planetj.property.PropertyGroup
add, addProperty, addProperty, append, clone, compareTo, compareTo, compareTo, containsProperty, copyUndefinedPropertiesFrom, createProperty, createValue, getAllMetapropertyNames, getAllSetBooleanPropertyNames, getAllSetIntPropertyNames, getAllSetListPropertyNames, getAllSetPropertyNames, getAllSetStringPropertyNames, getBooleanValue, getDateFormat, getDateValue, getDoubleValue, getFloatValue, getIntValue, getJavaClassValue, getListValue, getMapValue, getName, getProperty, getPropertyType, getStringValue, getValue, isMergeableOnList, isMetaproperty, iterator, mergeOnList, metapropertyType, put, put, put, setName, toString, updateProperty, validate, validateMetadata, validateMetadataBoolean
 
Methods inherited from class java.util.HashMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

className

public static final java.lang.String className
Class name.


ACTIONS

public static final java.lang.String ACTIONS
Used for the default ActionDisplayDescriptor's property group name.

See Also:
Constant Field Values

TYPE

public static final java.lang.String TYPE
Type of actions to show or hide (e.g. rc, row, column).

See Also:
Constant Field Values

TYPE_OPERATION

public static final java.lang.String TYPE_OPERATION
See Also:
Constant Field Values

TYPE_ROWCOLLECTION

public static final java.lang.String TYPE_ROWCOLLECTION
See Also:
Constant Field Values

TYPE_ROW

public static final java.lang.String TYPE_ROW
See Also:
Constant Field Values

TYPE_FIELD

public static final java.lang.String TYPE_FIELD
See Also:
Constant Field Values

SHOW

public static final java.lang.String SHOW
Actions to show.

See Also:
Constant Field Values

HIDE

public static final java.lang.String HIDE
Actions to hide.

See Also:
Constant Field Values
Constructor Detail

ActionPropertyGroup

public ActionPropertyGroup()
ActionDescriptor constructor comment.


ActionPropertyGroup

public ActionPropertyGroup(int initialCapacity)
ActionDescriptor constructor comment.

Parameters:
initialCapacity - int

ActionPropertyGroup

public ActionPropertyGroup(java.lang.String pName)
ActionDescriptor constructor comment.

Parameters:
pName - java.lang.String
Method Detail

getAllPropertyNames

public java.util.List getAllPropertyNames()
Gets a List containing the names of all the supported properties.

Overrides:
getAllPropertyNames in class DefaultPropertyGroup

getHiddenActionNames

public java.util.List getHiddenActionNames()
Get list of actions to hide.


getShownActionNames

public java.util.List getShownActionNames()
Get list of actions to show.


getType

public java.lang.String getType()
Get the type of actions shown or hidden.


propertyType

protected short propertyType(java.lang.String propName)
Gets the type of property for a specified property name.

Overrides:
propertyType in class DefaultPropertyGroup