net.sf.quarrel.file
Class ElementType

java.lang.Object
  extended byorg.apache.commons.lang.enums.Enum
      extended bynet.sf.quarrel.file.ElementType
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class ElementType
extends org.apache.commons.lang.enums.Enum

ElementType represents the set of independent entities in a UML diagram, such class, interface, actor, etc.

This class also captures the set of FeatureType values that may be associated with each ElementType.

See Also:
FeatureType, Serialized Form

Field Summary
static ElementType ACTOR
          An element representing an Actor in a UseCase
static ElementType CLASS
           
static ElementType INTERFACE
           
static ElementType NOTE
           
static ElementType PACKAGE
           
static ElementType USECASE
           
 
Fields inherited from class org.apache.commons.lang.enums.Enum
iToString
 
Method Summary
static ElementType getEnum(java.lang.String type)
           
 java.util.List getFeatures()
           
static java.util.List getTypes()
           
static java.util.Iterator iterator()
           
 boolean supportFeatureType(FeatureType featureType)
           
 
Methods inherited from class org.apache.commons.lang.enums.Enum
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS

public static final ElementType CLASS

INTERFACE

public static final ElementType INTERFACE

ACTOR

public static final ElementType ACTOR
An element representing an Actor in a UseCase


USECASE

public static final ElementType USECASE

PACKAGE

public static final ElementType PACKAGE

NOTE

public static final ElementType NOTE
Method Detail

getEnum

public static ElementType getEnum(java.lang.String type)

iterator

public static java.util.Iterator iterator()

getTypes

public static java.util.List getTypes()

getFeatures

public java.util.List getFeatures()

supportFeatureType

public boolean supportFeatureType(FeatureType featureType)


Copyright © 2006-2007. All Rights Reserved.