Package de.isas.mztab2.model
Enum Comment.Properties
- java.lang.Object
-
- java.lang.Enum<Comment.Properties>
-
- de.isas.mztab2.model.Comment.Properties
-
- All Implemented Interfaces:
Serializable
,Comparable<Comment.Properties>
- Enclosing class:
- Comment
public static enum Comment.Properties extends Enum<Comment.Properties>
Property enumeration for Comment.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description lineNumber
msg
prefix
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPropertyName()
static Comment.Properties
of(String value)
String
toString()
String
toUpper()
static Comment.Properties
valueOf(String name)
Returns the enum constant of this type with the specified name.static Comment.Properties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
prefix
public static final Comment.Properties prefix
-
msg
public static final Comment.Properties msg
-
lineNumber
public static final Comment.Properties lineNumber
-
-
Method Detail
-
values
public static Comment.Properties[] 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 (Comment.Properties c : Comment.Properties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Comment.Properties 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
-
getPropertyName
public String getPropertyName()
-
toString
public String toString()
- Overrides:
toString
in classEnum<Comment.Properties>
-
of
public static Comment.Properties of(String value)
-
-