Class VisibilityType
- java.lang.Object
-
- org.exolab.castor.builder.binding.xml.types.VisibilityType
-
- All Implemented Interfaces:
java.io.Serializable
public class VisibilityType extends java.lang.Object implements java.io.SerializableClass VisibilityType.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static VisibilityTypePRIVATEThe instance of the private typestatic intPRIVATE_TYPEThe private typestatic VisibilityTypePROTECTEDThe instance of the protected typestatic intPROTECTED_TYPEThe protected typestatic VisibilityTypePUBLICThe instance of the public typestatic intPUBLIC_TYPEThe public type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Enumerationenumerate()Method enumerate.Returns an enumeration of all possible instances of VisibilityTypeintgetType()Method getType.Returns the type of this VisibilityTypejava.lang.StringtoString()Method toString.Returns the String representation of this VisibilityTypestatic VisibilityTypevalueOf(java.lang.String string)Method valueOf.Returns a new VisibilityType based on the given String value.
-
-
-
Field Detail
-
PUBLIC_TYPE
public static final int PUBLIC_TYPE
The public type- See Also:
- Constant Field Values
-
PUBLIC
public static final VisibilityType PUBLIC
The instance of the public type
-
PROTECTED_TYPE
public static final int PROTECTED_TYPE
The protected type- See Also:
- Constant Field Values
-
PROTECTED
public static final VisibilityType PROTECTED
The instance of the protected type
-
PRIVATE_TYPE
public static final int PRIVATE_TYPE
The private type- See Also:
- Constant Field Values
-
PRIVATE
public static final VisibilityType PRIVATE
The instance of the private type
-
-
Method Detail
-
enumerate
public static java.util.Enumeration enumerate()
Method enumerate.Returns an enumeration of all possible instances of VisibilityType- Returns:
- an Enumeration over all possible instances of VisibilityType
-
getType
public int getType()
Method getType.Returns the type of this VisibilityType- Returns:
- the type of this VisibilityType
-
toString
public java.lang.String toString()
Method toString.Returns the String representation of this VisibilityType- Overrides:
toStringin classjava.lang.Object- Returns:
- the String representation of this VisibilityType
-
valueOf
public static VisibilityType valueOf(java.lang.String string)
Method valueOf.Returns a new VisibilityType based on the given String value.- Parameters:
string-- Returns:
- the VisibilityType value of parameter 'string'
-
-