public class OwStandardLocalizeableEnum extends Object implements OwEnum
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 and Description |
---|
OwStandardLocalizeableEnum(Object value_p,
OwString displayName_p)
construct a single enum value, used in getEnums
Use this constructor if the display name should be retrieve from resource bundle with the given key
|
Modifier and Type | Method and Description |
---|---|
OwEnumCollection |
getChilds()
get the contained child collection
|
String |
getDisplayName(Locale local_p)
get a display name
|
Object |
getValue()
get the enum value
|
boolean |
hasChildEnums()
check if enum has a contained child collection
|
public OwStandardLocalizeableEnum(Object value_p, OwString displayName_p)
value_p
- Object enum valuedisplayName_p
- OwString localizeable display namepublic String getDisplayName(Locale local_p)
OwEnum
getDisplayName
in interface OwEnum
public boolean hasChildEnums()
OwEnum
hasChildEnums
in interface OwEnum
public OwEnumCollection getChilds()
OwEnum
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.