|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<Multiplicity>
org.jomc.model.Multiplicity
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-04T12:50:46+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public enum MultiplicityEnumeration of multiplicities.
Java class for Multiplicity.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Multiplicity">
<restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
<enumeration value="One"/>
<enumeration value="Many"/>
</restriction>
</simpleType>
| Enum Constant Summary | |
|---|---|
MANY
A multiplicity equal to MANY specifies that many implementations of the
specification are allowed to exist among a set of modules (including none). |
|
ONE
A multiplicity equal to ONE specifies that no more than one
implementation of the specification is allowed to exist among a set of modules
(including none). |
|
| Field Summary | |
|---|---|
private String |
value
|
| Method Summary | |
|---|---|
static Multiplicity |
fromValue(String v)
|
String |
value()
|
static Multiplicity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Multiplicity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Multiplicity ONE
ONE specifies that no more than one
implementation of the specification is allowed to exist among a set of modules
(including none).
public static final Multiplicity MANY
MANY specifies that many implementations of the
specification are allowed to exist among a set of modules (including none).
| Field Detail |
|---|
private final String value
| Method Detail |
|---|
public static Multiplicity[] values()
for (Multiplicity c : Multiplicity.values()) System.out.println(c);
public static Multiplicity valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public static Multiplicity fromValue(String v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||