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