net.sf.quarrel.file
Class FeatureType

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

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

An enumerations of compartments types that can exist inside an element, such as operations, dependencies and attributes.

See Also:
Serialized Form

Field Summary
static FeatureType ACTORS
          This specifies the set of Actor elements that use the UseCase.
static FeatureType ASSOCIATIONS
          The header for the associations compartment, identifying the elements the element being defined is related to.
static FeatureType ATTRIBUTES
          The header for the attributes compartment, identifying the the attributes or fields defined on the element.
static FeatureType DEPENDENCIES
          The header for the dependencies compartment, identifying those elements the current element requires for its definition or implementation.
static FeatureType EXTENDS
          The header for the extends compartment, identifying the more generalized element that the current element specializes.
static FeatureType IMPLEMENTS
          The header for the implements compartment, identifying the interfaces a class implements
static FeatureType INCLUDES
          The header for the includes compartment, identifying the use cases that are aggregated into the used case being defined.
static FeatureType LINKS
          Represents a specialized relationship attaching a note to an Element.
static FeatureType OPERATIONS
          The header for the operations compartment, identifying the the methods defined on the element.
static FeatureType STEREOTYPES
          The header for the stereotypes compartment, identifying the set of UML stereotypes that apply to the element being defined.
 
Fields inherited from class org.apache.commons.lang.enums.Enum
iToString
 
Method Summary
static FeatureType getEnum(java.lang.String type)
          Returns the FeatureType identified by the specified String.
static java.util.List getTypes()
          Gets a List of the FeatureType objects.
static java.util.Iterator iterator()
          Gets an Iterator over the FeatureType objects.
 
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

DEPENDENCIES

public static final FeatureType DEPENDENCIES
The header for the dependencies compartment, identifying those elements the current element requires for its definition or implementation.


ASSOCIATIONS

public static final FeatureType ASSOCIATIONS
The header for the associations compartment, identifying the elements the element being defined is related to.


OPERATIONS

public static final FeatureType OPERATIONS
The header for the operations compartment, identifying the the methods defined on the element.


ATTRIBUTES

public static final FeatureType ATTRIBUTES
The header for the attributes compartment, identifying the the attributes or fields defined on the element.


IMPLEMENTS

public static final FeatureType IMPLEMENTS
The header for the implements compartment, identifying the interfaces a class implements


STEREOTYPES

public static final FeatureType STEREOTYPES
The header for the stereotypes compartment, identifying the set of UML stereotypes that apply to the element being defined.


LINKS

public static final FeatureType LINKS
Represents a specialized relationship attaching a note to an Element.


ACTORS

public static final FeatureType ACTORS
This specifies the set of Actor elements that use the UseCase. This feature type will only be valid for UseCase elements.

See Also:
ElementType.ACTOR

EXTENDS

public static final FeatureType EXTENDS
The header for the extends compartment, identifying the more generalized element that the current element specializes.


INCLUDES

public static final FeatureType INCLUDES
The header for the includes compartment, identifying the use cases that are aggregated into the used case being defined.

Method Detail

getEnum

public static FeatureType getEnum(java.lang.String type)
Returns the FeatureType identified by the specified String.

Parameters:
type - the String identifying a FeatureType
Returns:
the matching FeatureType object
Throws:
java.lang.IllegalArgumentException - - if the name can not be matched

iterator

public static java.util.Iterator iterator()
Gets an Iterator over the FeatureType objects.

Returns:
an Iterator over the FeatureType objects.

getTypes

public static java.util.List getTypes()
Gets a List of the FeatureType objects.

Returns:
a List of the FeatureType objects.


Copyright © 2006-2007. All Rights Reserved.