org.exolab.castor.builder.binding.xml.types

Class VisibilityType

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

static VisibilityType
PRIVATE
The instance of the private type
static int
PRIVATE_TYPE
The private type
static VisibilityType
PROTECTED
The instance of the protected type
static int
PROTECTED_TYPE
The protected type
static VisibilityType
PUBLIC
The instance of the public type
static int
PUBLIC_TYPE
The public type

Method Summary

static java.util.Enumeration
enumerate()
Method enumerate.Returns an enumeration of all possible instances of VisibilityType
int
getType()
Method getType.Returns the type of this VisibilityType
java.lang.String
toString()
Method toString.Returns the String representation of this VisibilityType
static VisibilityType
valueOf(java.lang.String string)
Method valueOf.Returns a new VisibilityType based on the given String value.

Field Details

PRIVATE

public static final VisibilityType PRIVATE
The instance of the private type

PRIVATE_TYPE

public static final int PRIVATE_TYPE
The private type
Field Value:
2

PROTECTED

public static final VisibilityType PROTECTED
The instance of the protected type

PROTECTED_TYPE

public static final int PROTECTED_TYPE
The protected type
Field Value:
1

PUBLIC

public static final VisibilityType PUBLIC
The instance of the public type

PUBLIC_TYPE

public static final int PUBLIC_TYPE
The public type
Field Value:
0

Method Details

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
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'

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com