
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public enum Multiplicity
extends Enum<Multiplicity>
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 and Description |
|---|
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). |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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).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 nameNullPointerException - if the argument is nullpublic static Multiplicity fromValue(String v)
Copyright © 2005–2016 The JOMC Project. All rights reserved.