com.sapportals.wcm.util.enums

Class AbstractEnum

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

public abstract class AbstractEnum
extends Object
implements Serializable

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

Since:
NetWeaver 7.1
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()
           
 int hashCode()
           
protected  AbstractEnum map2Old_Internal()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object code)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

compare

public int compare(AbstractEnum to)

map2Old_Internal

protected AbstractEnum map2Old_Internal()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice