com.ashridgetech.jamda.uml
Class TagDefinition.TagType

java.lang.Object
  |
  +--com.ashridgetech.jamda.uml.TagDefinition.TagType
Enclosing class:
TagDefinition

public static class TagDefinition.TagType
extends java.lang.Object

Type-safe enumeration for the allowable tag types. These are copies of all the UML Model.ElementTypes, with String and boolean added.


Field Summary
static TagDefinition.TagType ABSTRACTION
           
static TagDefinition.TagType ACTOR
           
static TagDefinition.TagType ARTIFACT
           
static TagDefinition.TagType ASSOCIATION
           
static TagDefinition.TagType ASSOCIATION_END
           
static TagDefinition.TagType ATTRIBUTE
           
static TagDefinition.TagType BEHAVIORAL_FEATURE
           
static TagDefinition.TagType BOOLEAN
           
static TagDefinition.TagType CALL_EVENT
           
static TagDefinition.TagType CLASSIFIER
           
static TagDefinition.TagType COMMENT
           
static TagDefinition.TagType COMPONENT
           
static TagDefinition.TagType CONSTRAINT
           
static TagDefinition.TagType DEPENDENCY
           
static TagDefinition.TagType FLOW
           
static TagDefinition.TagType GENERALIZATION
           
static TagDefinition.TagType LINK_END
           
static TagDefinition.TagType MESSAGE
           
static TagDefinition.TagType MODEL
           
static TagDefinition.TagType MODEL_CLASS
           
static TagDefinition.TagType MODEL_ELEMENT
           
static TagDefinition.TagType MODEL_INTERFACE
           
static TagDefinition.TagType MODEL_PACKAGE
           
static TagDefinition.TagType OBJECT_FLOW_STATE
           
static TagDefinition.TagType OPERATION
           
static TagDefinition.TagType PARAMETER
           
static TagDefinition.TagType PERMISSION
           
static TagDefinition.TagType STIMULUS
           
static TagDefinition.TagType STRING
           
static TagDefinition.TagType USAGE
           
 
Method Summary
(package private) static TagDefinition.TagType 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 TagDefinition.TagType ABSTRACTION

ACTOR

public static final TagDefinition.TagType ACTOR

ARTIFACT

public static final TagDefinition.TagType ARTIFACT

ASSOCIATION

public static final TagDefinition.TagType ASSOCIATION

ASSOCIATION_END

public static final TagDefinition.TagType ASSOCIATION_END

ATTRIBUTE

public static final TagDefinition.TagType ATTRIBUTE

BEHAVIORAL_FEATURE

public static final TagDefinition.TagType BEHAVIORAL_FEATURE

CALL_EVENT

public static final TagDefinition.TagType CALL_EVENT

CLASSIFIER

public static final TagDefinition.TagType CLASSIFIER

COMMENT

public static final TagDefinition.TagType COMMENT

COMPONENT

public static final TagDefinition.TagType COMPONENT

CONSTRAINT

public static final TagDefinition.TagType CONSTRAINT

DEPENDENCY

public static final TagDefinition.TagType DEPENDENCY

FLOW

public static final TagDefinition.TagType FLOW

GENERALIZATION

public static final TagDefinition.TagType GENERALIZATION

LINK_END

public static final TagDefinition.TagType LINK_END

MESSAGE

public static final TagDefinition.TagType MESSAGE

MODEL

public static final TagDefinition.TagType MODEL

MODEL_CLASS

public static final TagDefinition.TagType MODEL_CLASS

MODEL_ELEMENT

public static final TagDefinition.TagType MODEL_ELEMENT

MODEL_INTERFACE

public static final TagDefinition.TagType MODEL_INTERFACE

MODEL_PACKAGE

public static final TagDefinition.TagType MODEL_PACKAGE

OBJECT_FLOW_STATE

public static final TagDefinition.TagType OBJECT_FLOW_STATE

OPERATION

public static final TagDefinition.TagType OPERATION

PARAMETER

public static final TagDefinition.TagType PARAMETER

PERMISSION

public static final TagDefinition.TagType PERMISSION

STIMULUS

public static final TagDefinition.TagType STIMULUS

USAGE

public static final TagDefinition.TagType USAGE

STRING

public static final TagDefinition.TagType STRING

BOOLEAN

public static final TagDefinition.TagType BOOLEAN
Method Detail

toString

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

getInstance

static TagDefinition.TagType 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.