|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.field.OwStandardEnum
public class OwStandardEnum
Standard implementation of the OwEnum interface.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor Summary | |
|---|---|
OwStandardEnum(Object value_p,
String strSymbolName_p)
construct a single enum value, used in getEnums Use this constructor if you got already a localized displayname. |
|
OwStandardEnum(Object value_p,
String label_p,
String localizeKey_p)
Constructor to create an enumeration entry with a predefined localization key. |
|
| Method Summary | |
|---|---|
OwEnumCollection |
getChilds()
get the contained child collection |
String |
getDisplayName(Locale local_p)
get a display name |
String |
getLocalizeKey()
Returns the localize key of this enumeration entry. |
Object |
getValue()
get the enum value |
boolean |
hasChildEnums()
check if enum has a contained child collection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwStandardEnum(Object value_p,
String strSymbolName_p)
value_p - Object enum valuestrSymbolName_p - String symbol name to be translated
public OwStandardEnum(Object value_p,
String label_p,
String localizeKey_p)
value_p - Object the native valuelabel_p - String representing the default labellocalizeKey_p - String localization key without owlable. prefix| Method Detail |
|---|
public Object getValue()
OwEnum
getValue in interface OwEnumpublic String getDisplayName(Locale local_p)
OwEnum
getDisplayName in interface OwEnumpublic boolean hasChildEnums()
hasChildEnums in interface OwEnumpublic OwEnumCollection getChilds()
getChilds in interface OwEnumpublic String getLocalizeKey()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||