Package com.sodius.mdw.metamodel.excel
Enum FontUnderline
- java.lang.Object
-
- java.lang.Enum<FontUnderline>
-
- com.sodius.mdw.metamodel.excel.FontUnderline
-
- All Implemented Interfaces:
Serializable,Comparable<FontUnderline>,org.eclipse.emf.common.util.Enumerator
public enum FontUnderline extends Enum<FontUnderline> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Font Underline', and utility methods for working with them.- See Also:
ExcelPackage.getFontUnderline()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE_ACCOUNTING_LITERALThe 'Double Accounting' literal object.DOUBLE_LITERALThe 'Double' literal object.NONE_LITERALThe 'None' literal object.SINGLE_ACCOUNTING_LITERALThe 'Single Accounting' literal object.SINGLE_LITERALThe 'Single' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intDOUBLEThe 'Double' literal value.static intDOUBLE_ACCOUNTINGThe 'Double Accounting' literal value.static intNONEThe 'None' literal value.static intSINGLEThe 'Single' literal value.static intSINGLE_ACCOUNTINGThe 'Single Accounting' literal value.static List<FontUnderline>VALUESA public read-only list of all the 'Font Underline' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FontUnderlineget(int value)Returns the 'Font Underline' literal with the specified integer value.static FontUnderlineget(String literal)Returns the 'Font Underline' literal with the specified literal value.static FontUnderlinegetByName(String name)Returns the 'Font Underline' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static FontUnderlinevalueOf(String name)Returns the enum constant of this type with the specified name.static FontUnderline[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE_LITERAL
public static final FontUnderline NONE_LITERAL
The 'None' literal object.- See Also:
NONE
-
SINGLE_LITERAL
public static final FontUnderline SINGLE_LITERAL
The 'Single' literal object.- See Also:
SINGLE
-
DOUBLE_LITERAL
public static final FontUnderline DOUBLE_LITERAL
The 'Double' literal object.- See Also:
DOUBLE
-
SINGLE_ACCOUNTING_LITERAL
public static final FontUnderline SINGLE_ACCOUNTING_LITERAL
The 'Single Accounting' literal object.- See Also:
SINGLE_ACCOUNTING
-
DOUBLE_ACCOUNTING_LITERAL
public static final FontUnderline DOUBLE_ACCOUNTING_LITERAL
The 'Double Accounting' literal object.- See Also:
DOUBLE_ACCOUNTING
-
-
Field Detail
-
NONE
public static final int NONE
The 'None' literal value.- See Also:
NONE_LITERAL, Constant Field Values
-
SINGLE
public static final int SINGLE
The 'Single' literal value.- See Also:
SINGLE_LITERAL, Constant Field Values
-
DOUBLE
public static final int DOUBLE
The 'Double' literal value.- See Also:
DOUBLE_LITERAL, Constant Field Values
-
SINGLE_ACCOUNTING
public static final int SINGLE_ACCOUNTING
The 'Single Accounting' literal value.- See Also:
SINGLE_ACCOUNTING_LITERAL, Constant Field Values
-
DOUBLE_ACCOUNTING
public static final int DOUBLE_ACCOUNTING
The 'Double Accounting' literal value.- See Also:
DOUBLE_ACCOUNTING_LITERAL, Constant Field Values
-
VALUES
public static final List<FontUnderline> VALUES
A public read-only list of all the 'Font Underline' enumerators.
-
-
Method Detail
-
values
public static FontUnderline[] 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 (FontUnderline c : FontUnderline.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FontUnderline 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
-
get
public static FontUnderline get(String literal)
Returns the 'Font Underline' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static FontUnderline getByName(String name)
Returns the 'Font Underline' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static FontUnderline get(int value)
Returns the 'Font Underline' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()
- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<FontUnderline>
-
-