Package org.opencms.util
Class A_CmsModeIntEnumeration
- java.lang.Object
-
- 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
,CmsSubscriptionReadMode
,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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
A_CmsModeIntEnumeration(int mode)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getMode()
Returns the mode.int
hashCode()
java.lang.String
toString()
-
-
-
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 classjava.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 classjava.lang.Object
- See Also:
Object.hashCode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-