org.eclipse.uml2.uml
Class AggregationKind

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.uml2.uml.AggregationKind
All Implemented Interfaces:
Enumerator

public final class AggregationKind
extends AbstractEnumerator

A representation of the literals of the enumeration 'Aggregation Kind', and utility methods for working with them. AggregationKind is an enumeration type that specifies the literals for defining the kind of aggregation of a property.

See Also:
UMLPackage.getAggregationKind()

Field Summary
static int COMPOSITE
          The 'Composite' literal value
static AggregationKind COMPOSITE_LITERAL
          The 'Composite' literal object
static int NONE
          The 'None' literal value
static AggregationKind NONE_LITERAL
          The 'None' literal object
static int SHARED
          The 'Shared' literal value
static AggregationKind SHARED_LITERAL
          The 'Shared' literal object
static List VALUES
          A public read-only list of all the 'Aggregation Kind' enumerators
 
Method Summary
static AggregationKind get(int value)
          Returns the 'Aggregation Kind' literal with the specified integer value
static AggregationKind get(String literal)
          Returns the 'Aggregation Kind' literal with the specified literal value
static AggregationKind getByName(String name)
          Returns the 'Aggregation Kind' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
The 'None' literal value. Indicates that the property has no aggregation.

See Also:
AggregationKind.NONE_LITERAL, Constant Field Values

SHARED

public static final int SHARED
The 'Shared' literal value. Indicates that the property has a shared aggregation.

See Also:
AggregationKind.SHARED_LITERAL, Constant Field Values

COMPOSITE

public static final int COMPOSITE
The 'Composite' literal value. Indicates that the property is aggregated compositely, i.e., the composite object has responsibility for the existence and storage of the composed objects (parts).

See Also:
AggregationKind.COMPOSITE_LITERAL, Constant Field Values

NONE_LITERAL

public static final AggregationKind NONE_LITERAL
The 'None' literal object.

See Also:
AggregationKind.NONE

SHARED_LITERAL

public static final AggregationKind SHARED_LITERAL
The 'Shared' literal object.

See Also:
AggregationKind.SHARED

COMPOSITE_LITERAL

public static final AggregationKind COMPOSITE_LITERAL
The 'Composite' literal object.

See Also:
AggregationKind.COMPOSITE

VALUES

public static final List VALUES
A public read-only list of all the 'Aggregation Kind' enumerators.

Method Detail

get

public static AggregationKind get(String literal)
Returns the 'Aggregation Kind' literal with the specified literal value.


getByName

public static AggregationKind getByName(String name)
Returns the 'Aggregation Kind' literal with the specified name.


get

public static AggregationKind get(int value)
Returns the 'Aggregation Kind' literal with the specified integer value.


Copyright 2003, 2006 IBM Corporation and others.
All Rights Reserved.