de.interactive_instruments.ShapeChange.Ocl
Enum OclNode.BuiltInType

java.lang.Object
  extended by java.lang.Enum<OclNode.BuiltInType>
      extended by de.interactive_instruments.ShapeChange.Ocl.OclNode.BuiltInType
All Implemented Interfaces:
Serializable, Comparable<OclNode.BuiltInType>
Enclosing class:
OclNode

public static enum OclNode.BuiltInType
extends Enum<OclNode.BuiltInType>

Enum describing the implemented Built-in primitive Types


Enum Constant Summary
ANY
           
BOOLEAN
           
CLASS
           
DATE
           
ENUMERATION
           
INTEGER
           
INVALID
           
OCLVOID
           
PACKAGE
           
REAL
           
STRING
           
UMLTYPE
           
VOID
           
 
Method Summary
static OclNode.BuiltInType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OclNode.BuiltInType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REAL

public static final OclNode.BuiltInType REAL

INTEGER

public static final OclNode.BuiltInType INTEGER

STRING

public static final OclNode.BuiltInType STRING

BOOLEAN

public static final OclNode.BuiltInType BOOLEAN

DATE

public static final OclNode.BuiltInType DATE

CLASS

public static final OclNode.BuiltInType CLASS

ENUMERATION

public static final OclNode.BuiltInType ENUMERATION

PACKAGE

public static final OclNode.BuiltInType PACKAGE

ANY

public static final OclNode.BuiltInType ANY

OCLVOID

public static final OclNode.BuiltInType OCLVOID

INVALID

public static final OclNode.BuiltInType INVALID

VOID

public static final OclNode.BuiltInType VOID

UMLTYPE

public static final OclNode.BuiltInType UMLTYPE
Method Detail

values

public static OclNode.BuiltInType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OclNode.BuiltInType c : OclNode.BuiltInType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OclNode.BuiltInType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2015. All rights reserved.