# RHEnum

Inherits from: RHObject

The RHEnum abstract class makes it easy to define and manage enumerations.

See Enumerated Types in OpenText Content Server for more information on using this class.

# Class Methods

# Inherited methods

Destructor ErrorAssoc OKAssoc

# Choices

function List choices()

# Elements

function List elements()

# Mapping

function Assoc mapping()

# Name

function String name(Dynamic enumValue)

# New

function Dynamic New(Object prgCtx=Undefined)

The constructor method should never be called since RHEnum should never be instantiated.

# Overrides:

New in class RHObject

# Random

function Integer random()

# SQLDecodeStatement

function String SQLDecodeStatement(Object prgCtx, String fieldName, String defaultValue=Undefined)

# Instance Methods

# Property Methods

Property methods can be accessed with the valueForKey method.

choices classidentifier classname clone elements errorassoc hash identityhashcode iterator mapping methods okassoc propertymethods random serialize string values

# Inherited methods

assert cacheMethod cacheValueForKey callSuper checkError class classIdentifier className clone deserialize dict endTrans hash identityHashCode isAccessorMethod isCached isInstanceOf isProperty isPropertyMethod iterator methods pluck prepareForReuse propertyMethods removeFromCache reset resetCache resetSubclass respondsTo serialize setCacheValueForKey setValueForKey setValueForKeyPath setValues startTrans string super valueForKey valueForKeyPath

# values

function List values()

Last Updated: 11/15/2019, 4:24:30 PM