Enum ScaleUnitType
- All Implemented Interfaces:
Serializable
,Comparable<ScaleUnitType>
,java.lang.constant.Constable
,org.eclipse.emf.common.util.Enumerator
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 'Days' literal object.The 'Hours' literal object.The 'Minutes' literal object.The 'Months' literal object.The 'Quarters' literal object.The 'Seconds' literal object.The 'Weeks' literal object.The 'Years' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The 'Days' literal value.static final int
The 'Hours' literal value.static final int
The 'Minutes' literal value.static final int
The 'Months' literal value.static final int
The 'Quarters' literal value.static final int
The 'Seconds' literal value.static final List<ScaleUnitType>
A public read-only list of all the 'Scale Unit Type' enumerators.static final int
The 'Weeks' literal value.static final int
The 'Years' literal value. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScaleUnitType
get
(int value) Returns the 'Scale Unit Type' literal with the specified integer value.static ScaleUnitType
Returns the 'Scale Unit Type' literal with the specified literal value.static ScaleUnitType
Returns the 'Scale Unit Type' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static ScaleUnitType
Returns the enum constant of this type with the specified name.static ScaleUnitType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
SECONDS_LITERAL
The 'Seconds' literal object.If the meaning of 'Seconds' literal object isn't clear, there really should be more of a description here...
- See Also:
-
MINUTES_LITERAL
The 'Minutes' literal object.If the meaning of 'Minutes' literal object isn't clear, there really should be more of a description here...
- See Also:
-
HOURS_LITERAL
The 'Hours' literal object.If the meaning of 'Hours' literal object isn't clear, there really should be more of a description here...
- See Also:
-
DAYS_LITERAL
The 'Days' literal object.If the meaning of 'Days' literal object isn't clear, there really should be more of a description here...
- See Also:
-
WEEKS_LITERAL
The 'Weeks' literal object.If the meaning of 'Weeks' literal object isn't clear, there really should be more of a description here...
- See Also:
-
MONTHS_LITERAL
The 'Months' literal object.If the meaning of 'Months' literal object isn't clear, there really should be more of a description here...
- See Also:
-
YEARS_LITERAL
The 'Years' literal object.If the meaning of 'Years' literal object isn't clear, there really should be more of a description here...
- See Also:
-
QUARTERS_LITERAL
The 'Quarters' literal object.- See Also:
-
-
Field Details
-
SECONDS
public static final int SECONDSThe 'Seconds' literal value.- See Also:
-
MINUTES
public static final int MINUTESThe 'Minutes' literal value.- See Also:
-
HOURS
public static final int HOURSThe 'Hours' literal value.- See Also:
-
DAYS
public static final int DAYSThe 'Days' literal value.- See Also:
-
WEEKS
public static final int WEEKSThe 'Weeks' literal value.- See Also:
-
MONTHS
public static final int MONTHSThe 'Months' literal value.- See Also:
-
YEARS
public static final int YEARSThe 'Years' literal value.- See Also:
-
QUARTERS
public static final int QUARTERSThe 'Quarters' literal value.If the meaning of 'Quarters' literal object isn't clear, there really should be more of a description here...
- See Also:
-
VALUES
A public read-only list of all the 'Scale Unit Type' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Returns the 'Scale Unit Type' literal with the specified literal value. -
getByName
Returns the 'Scale Unit Type' literal with the specified name. -
get
Returns the 'Scale Unit Type' literal with the specified integer value. -
getValue
public int getValue()- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ScaleUnitType>
-