com.fatwire.assetapi.def
Class AttributeDefProperties.EnumData

java.lang.Object
  extended by com.fatwire.assetapi.def.AttributeDefProperties.EnumData
Enclosing class:
AttributeDefProperties

public static final class AttributeDefProperties.EnumData
extends java.lang.Object

Indicates the data definition associated with an attribute of type ENUM


Constructor Summary
AttributeDefProperties.EnumData(java.lang.String defaultValue, java.util.Map enumValues)
           
 
Method Summary
 java.lang.Object getDefaultValue()
          Returns the default value of the ENUM type, if any.
 java.util.Map getEnumValues()
          Returns all ENUM values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDefProperties.EnumData

public AttributeDefProperties.EnumData(java.lang.String defaultValue,
                                       java.util.Map enumValues)
Method Detail

getDefaultValue

public java.lang.Object getDefaultValue()
Returns the default value of the ENUM type, if any.

Returns:
default value.

getEnumValues

public java.util.Map getEnumValues()
Returns all ENUM values. The keys of the returned map are the entries of the ENUM, values indicate the display values, if any. Value will be an empty String in case there is no display value

Returns:
Map of ENUM keys and their display values.