org.eclipse.jst.j2ee.ejb
Class MultiplicityKind

java.lang.Object
  extended byAbstractEnumerator
      extended byorg.eclipse.jst.j2ee.ejb.MultiplicityKind

public final class MultiplicityKind
extends AbstractEnumerator

Since:
1.0
See Also:
Serialized Form

Field Summary
static int MANY
           
static MultiplicityKind MANY_LITERAL
          The 'Many' literal object
static int ONE
           
static MultiplicityKind ONE_LITERAL
          The 'One' literal object
static java.util.List VALUES
          A public read-only list of all the 'Multiplicity Kind' enumerators
 
Method Summary
static MultiplicityKind get(int value)
          Returns the 'Multiplicity Kind' literal with the specified integer value
static MultiplicityKind get(java.lang.String literal)
          Returns the 'Multiplicity Kind' literal with the specified literal value
static MultiplicityKind getByName(java.lang.String name)
          Returns the 'Multiplicity Kind' literal with the specified name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONE

public static final int ONE
See Also:
Constant Field Values

MANY

public static final int MANY
See Also:
Constant Field Values

ONE_LITERAL

public static final MultiplicityKind ONE_LITERAL
The 'One' literal object.

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

See Also:
ONE

MANY_LITERAL

public static final MultiplicityKind MANY_LITERAL
The 'Many' literal object.

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

See Also:
MANY

VALUES

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

Method Detail

get

public static MultiplicityKind get(java.lang.String literal)
Returns the 'Multiplicity Kind' literal with the specified literal value.

Returns:
literal instance

getByName

public static MultiplicityKind getByName(java.lang.String name)
Returns the 'Multiplicity Kind' literal with the specified name.


get

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

Parameters:
value - passes literal value
Returns:
literal instance