com.sapportals.wcm.util.enum

Class AbstractEnum

java.lang.Object
  extended bycom.sapportals.wcm.util.enum.AbstractEnum
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BestClassesSensitivity, ClassificationStatus, DiscussionItemType, DisplayMode, FilterType, GroupRendererType, ICustomizingContollerSettings.CustomizingControllerMode, LinkType, LockDepth, LockScope, LockType, MetaInfo, NamespaceFilterMode, Operator, OrderPosition, OrderType, PropertyDisplayMode, PropertyFilterMode, PropertyType, ReportStatus, ResourceStateType, ScheduleRepeat, SenderMode, SpecialFolder, Status, StructureDisplayMode, SupportedOption, SupportedOption, TaskState, TaxonomyType, TextKey, TimebasedPublishInfoSortField

public abstract class AbstractEnum
extends Object
implements Serializable

Base class for type safe enumeration constants * Copyright (c) SAP AG 2001-2002

See Also:
Serialized Form

Field Summary
protected  String description
           
protected  int m_code
           
 
Constructor Summary
protected AbstractEnum(int code)
           
protected AbstractEnum(int code, String description)
           
 
Method Summary
 int compare(AbstractEnum to)
           
 boolean equals(Object code)
           
protected  int getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_code

protected int m_code

description

protected String description
Constructor Detail

AbstractEnum

protected AbstractEnum(int code)

AbstractEnum

protected AbstractEnum(int code,
                       String description)
Method Detail

getValue

protected int getValue()

equals

public boolean equals(Object code)

toString

public String toString()

compare

public int compare(AbstractEnum to)


Copyright 2006 SAP AG Complete Copyright Notice