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.Serializable
Class VisibilityType.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static VisibilityType
PRIVATE
The instance of the private typestatic int
PRIVATE_TYPE
The private typestatic VisibilityType
PROTECTED
The instance of the protected typestatic int
PROTECTED_TYPE
The protected typestatic VisibilityType
PUBLIC
The instance of the public typestatic int
PUBLIC_TYPE
The public type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Enumeration
enumerate()
Method enumerate.Returns an enumeration of all possible instances of VisibilityTypeint
getType()
Method getType.Returns the type of this VisibilityTypejava.lang.String
toString()
Method toString.Returns the String representation of this VisibilityTypestatic VisibilityType
valueOf(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:
toString
in 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'
-
-