org.eclipse.uml2
Class AggregationKind

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.uml2.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 of the following literal values: � none Indicates that the property has no aggregation. � shared Indicates that the property has a shared aggregation. � composite 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:
UML2Package.getAggregationKind()

Field Summary
static int COMPOSITE
          The 'Composite' literal value
static AggregationKind COMPOSITE_LITERAL
          The 'Composite' literal object
static String copyright
           
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 value
static AggregationKind get(String name)
          Returns the 'Aggregation Kind' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

NONE

public static final int NONE
The 'None' literal value.

See Also:
NONE_LITERAL, Constant Field Values

SHARED

public static final int SHARED
The 'Shared' literal value.

See Also:
SHARED_LITERAL, Constant Field Values

COMPOSITE

public static final int COMPOSITE
The 'Composite' literal value.

See Also:
COMPOSITE_LITERAL, Constant Field Values

NONE_LITERAL

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

If the meaning of 'None' literal object isn't clear, there really should be more of a description here...

See Also:
NONE

SHARED_LITERAL

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

If the meaning of 'Shared' literal object isn't clear, there really should be more of a description here...

See Also:
SHARED

COMPOSITE_LITERAL

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

If the meaning of 'Composite' literal object isn't clear, there really should be more of a description here...

See Also:
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 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 value.


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