com.sap.ip.collaboration.gw.api.enums

Class AbstractEnum

java.lang.Object
  extended by com.sap.ip.collaboration.gw.api.enums.AbstractEnum
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AvailabilityType, GroupwareItemType, PriorityType, RecurrencePatternType, RecurrenceRangeSelectionType, RecurrenceStatusType, TransportType, WeekDayType

public class AbstractEnum
extends Object
implements Serializable

Base class for Groupware enumeration types

See Also:
Serialized Form

Nested Class Summary
protected static class AbstractEnum.StringIterator
          Enum Iterator Class.
 
Field Summary
protected  String value
           
 
Constructor Summary
protected AbstractEnum(String value)
          construct a new Enumeration object with a specified name
 
Method Summary
 String getStringValue()
          get the String name associated with the enumerator
 String toString()
          get the String name associated with the enumerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected String value
Constructor Detail

AbstractEnum

protected AbstractEnum(String value)
construct a new Enumeration object with a specified name

Parameters:
value - a String identifying the enumerator
Method Detail

getStringValue

public String getStringValue()
get the String name associated with the enumerator

Returns:
the name used in the constructor.

toString

public String toString()
get the String name associated with the enumerator

Overrides:
toString in class Object
Returns:
the name used in the constructor.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-COLL [sap.com] tc/kmc/coll/gw api EP-KM-COL


Copyright 2012 SAP AG Complete Copyright Notice