org.opencms.util
Class A_CmsModeIntEnumeration

java.lang.Object
  extended by org.opencms.util.A_CmsModeIntEnumeration
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CmsLockType, CmsMenuItemVisibilityMode, CmsProject.CmsProjectType, CmsPropertyDefinition.CmsPropertyType, CmsResource.CmsResourceCopyMode, CmsResource.CmsResourceDeleteMode, CmsResource.CmsResourceUndoMode, CmsResourceUtil.CmsResourceProjectState, CmsSearchFieldMappingType, I_CmsPermissionHandler.CmsPermissionCheckResult

public abstract class A_CmsModeIntEnumeration
extends java.lang.Object
implements java.io.Serializable

Base class for all integer mode enumeration classes.

Like:

Since:
6.5.3
Version:
$Revision: 1.8 $
Author:
Michael Moossen
See Also:
Serialized Form

Constructor Summary
protected A_CmsModeIntEnumeration(int mode)
          Default constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getMode()
          Returns the mode.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

A_CmsModeIntEnumeration

protected A_CmsModeIntEnumeration(int mode)
Default constructor.

Parameters:
mode - the internal mode descriptor
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

getMode

public int getMode()
Returns the mode.

Returns:
the mode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()