public enum ServiceContractEnum extends Enum<ServiceContractEnum>
Java class for serviceContractEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="serviceContractEnum">
<restriction base="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}baseArtifactEnum">
<enumeration value="ServiceContract"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
SERVICE_CONTRACT |
| Modifier and Type | Method and Description |
|---|---|
static ServiceContractEnum |
fromValue(BaseArtifactEnum v) |
BaseArtifactEnum |
value() |
static ServiceContractEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceContractEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceContractEnum SERVICE_CONTRACT
public static ServiceContractEnum[] values()
for (ServiceContractEnum c : ServiceContractEnum.values()) System.out.println(c);
public static ServiceContractEnum 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 BaseArtifactEnum value()
public static ServiceContractEnum fromValue(BaseArtifactEnum v)
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.