Enum AbsItfAttribute.Use
- java.lang.Object
-
- java.lang.Enum<AbsItfAttribute.Use>
-
- org.ow2.easywsdl.schema.api.absItf.AbsItfAttribute.Use
-
- All Implemented Interfaces:
Serializable,Comparable<AbsItfAttribute.Use>
- Enclosing interface:
- AbsItfAttribute<T extends AbsItfType>
public static enum AbsItfAttribute.Use extends Enum<AbsItfAttribute.Use>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPTIONALPROHIBITEDREQUIRED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(String val)StringtoString()Stringvalue()static AbsItfAttribute.Usevalue(String val)static AbsItfAttribute.UsevalueOf(String name)Returns the enum constant of this type with the specified name.static AbsItfAttribute.Use[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPTIONAL
public static final AbsItfAttribute.Use OPTIONAL
-
REQUIRED
public static final AbsItfAttribute.Use REQUIRED
-
PROHIBITED
public static final AbsItfAttribute.Use PROHIBITED
-
-
Method Detail
-
values
public static AbsItfAttribute.Use[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbsItfAttribute.Use c : AbsItfAttribute.Use.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbsItfAttribute.Use valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
- Returns:
-
equals
public boolean equals(String val)
-
toString
public String toString()
- Overrides:
toStringin classEnum<AbsItfAttribute.Use>
-
value
public static AbsItfAttribute.Use value(String val)
-
-