Skip navigation links
com.fatwire.assetapi.def
Class AttributeDefProperties.EnumData
java.lang.Object
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
Method Summary |
java.lang.String |
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 |
AttributeDefProperties.EnumData
public AttributeDefProperties.EnumData(java.lang.String defaultValue,
java.util.Map enumValues)
getDefaultValue
public java.lang.String 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.
Skip navigation links
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.