com.ashridgetech.jamda.uml
Class Model.ElementType

java.lang.Object
  |
  +--com.ashridgetech.jamda.uml.Model.ElementType
Enclosing class:
Model

public static class Model.ElementType
extends java.lang.Object

Type-safe enumeration for the standard UML element types, as used in Stereotype as the base class type.


Field Summary
static Model.ElementType ABSTRACTION
           
static Model.ElementType ACTOR
           
static Model.ElementType ARTIFACT
           
static Model.ElementType ASSOCIATION
           
static Model.ElementType ASSOCIATION_END
           
static Model.ElementType ATTRIBUTE
           
static Model.ElementType BEHAVIORAL_FEATURE
           
static Model.ElementType CALL_EVENT
           
static Model.ElementType CLASSIFIER
           
static Model.ElementType COMMENT
           
static Model.ElementType COMPONENT
           
static Model.ElementType CONSTRAINT
           
static Model.ElementType DEPENDENCY
           
static Model.ElementType FLOW
           
static Model.ElementType GENERALIZATION
           
static Model.ElementType LINK_END
           
static Model.ElementType MESSAGE
           
static Model.ElementType MODEL
           
static Model.ElementType MODEL_CLASS
           
static Model.ElementType MODEL_ELEMENT
           
static Model.ElementType MODEL_INTERFACE
           
static Model.ElementType MODEL_PACKAGE
           
static Model.ElementType OBJECT_FLOW_STATE
           
static Model.ElementType OPERATION
           
static Model.ElementType PARAMETER
           
static Model.ElementType PERMISSION
           
static Model.ElementType STIMULUS
           
static Model.ElementType TAG_DEFINITION
           
static Model.ElementType USAGE
           
 
Method Summary
(package private) static Model.ElementType getInstance(java.lang.String name)
          Get the instance of this class with the given name.
(package private) static java.util.Collection getValues()
          Get all the enumerated values.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ABSTRACTION

public static final Model.ElementType ABSTRACTION

ACTOR

public static final Model.ElementType ACTOR

ARTIFACT

public static final Model.ElementType ARTIFACT

ASSOCIATION

public static final Model.ElementType ASSOCIATION

ASSOCIATION_END

public static final Model.ElementType ASSOCIATION_END

ATTRIBUTE

public static final Model.ElementType ATTRIBUTE

BEHAVIORAL_FEATURE

public static final Model.ElementType BEHAVIORAL_FEATURE

CALL_EVENT

public static final Model.ElementType CALL_EVENT

CLASSIFIER

public static final Model.ElementType CLASSIFIER

COMMENT

public static final Model.ElementType COMMENT

COMPONENT

public static final Model.ElementType COMPONENT

CONSTRAINT

public static final Model.ElementType CONSTRAINT

DEPENDENCY

public static final Model.ElementType DEPENDENCY

FLOW

public static final Model.ElementType FLOW

GENERALIZATION

public static final Model.ElementType GENERALIZATION

LINK_END

public static final Model.ElementType LINK_END

MESSAGE

public static final Model.ElementType MESSAGE

MODEL

public static final Model.ElementType MODEL

MODEL_CLASS

public static final Model.ElementType MODEL_CLASS

MODEL_ELEMENT

public static final Model.ElementType MODEL_ELEMENT

MODEL_INTERFACE

public static final Model.ElementType MODEL_INTERFACE

MODEL_PACKAGE

public static final Model.ElementType MODEL_PACKAGE

OBJECT_FLOW_STATE

public static final Model.ElementType OBJECT_FLOW_STATE

OPERATION

public static final Model.ElementType OPERATION

PARAMETER

public static final Model.ElementType PARAMETER

PERMISSION

public static final Model.ElementType PERMISSION

STIMULUS

public static final Model.ElementType STIMULUS

TAG_DEFINITION

public static final Model.ElementType TAG_DEFINITION

USAGE

public static final Model.ElementType USAGE
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getInstance

static Model.ElementType getInstance(java.lang.String name)
Get the instance of this class with the given name.

Parameters:
name - the name of the instance, as returned by toString
Returns:
the object with the value name
Throws:
java.lang.IllegalArgumentException - if there is no instance with the value name

getValues

static java.util.Collection getValues()
Get all the enumerated values.

Returns:
a Collection of ElementType objects


Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.