biz.c24.io.api.data
Class TypeBlockEnum

java.lang.Object
  extended by biz.c24.io.api.data.TypeBlockEnum
All Implemented Interfaces:
Serializable

public final class TypeBlockEnum
extends Object
implements Serializable

An enumeration of possible block values.

Block values are used to prevent derivation of a type.

See Also:
Serialized Form

Field Summary
static TypeBlockEnum ALL
          The enumeration value used to block derivation by extension and restriction.
static TypeBlockEnum EXTENSION
          The enumeration value used to block derivation by extension.
static TypeBlockEnum EXTENSION_RESTRICTION
          The enumeration value used to block derivation by extension or restriction.
static TypeBlockEnum RESTRICTION
          The enumeration value used to block derivation by restriction.
 
Method Summary
static TypeBlockEnum[] getEnumArray()
          Returns an array containing the members of this enumeration.
static TypeBlockEnum getEnumValue(String name)
          Returns the enumeration value called name.
 String getName()
          Returns the name of this block instance.
 String toString()
          Returns the name of this block instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL

public static final TypeBlockEnum ALL
The enumeration value used to block derivation by extension and restriction.


EXTENSION

public static final TypeBlockEnum EXTENSION
The enumeration value used to block derivation by extension.


RESTRICTION

public static final TypeBlockEnum RESTRICTION
The enumeration value used to block derivation by restriction.


EXTENSION_RESTRICTION

public static final TypeBlockEnum EXTENSION_RESTRICTION
The enumeration value used to block derivation by extension or restriction.

Method Detail

getName

public String getName()
Returns the name of this block instance.

Returns:
The name.

toString

public String toString()
Returns the name of this block instance.

Overrides:
toString in class Object
Returns:
The name.

getEnumArray

public static TypeBlockEnum[] getEnumArray()
Returns an array containing the members of this enumeration.

Returns:
The enumeration as an array.

getEnumValue

public static TypeBlockEnum getEnumValue(String name)
Returns the enumeration value called name.

Parameters:
name - The name of the enumeration value to return.
Returns:
The enumeration value or null if none was found.


C24 Technologies © 2002-2012: All Rights Reserved.