Package com._1c.g5.v8.dt.form.model
Enum UsualGroupRepresentation
- java.lang.Object
-
- java.lang.Enum<UsualGroupRepresentation>
-
- com._1c.g5.v8.dt.form.model.UsualGroupRepresentation
-
- All Implemented Interfaces:
Serializable,Comparable<UsualGroupRepresentation>,org.eclipse.emf.common.util.Enumerator
public enum UsualGroupRepresentation extends Enum<UsualGroupRepresentation> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Usual Group Representation', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONEThe 'None' literal object.NORMAL_SEPARATIONThe 'Normal Separation' literal object.STRONG_SEPARATIONThe 'Strong Separation' literal object.WEAK_SEPARATIONThe 'Weak Separation' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intNONE_VALUEThe 'None' literal value.static intNORMAL_SEPARATION_VALUEThe 'Normal Separation' literal value.static intSTRONG_SEPARATION_VALUEThe 'Strong Separation' literal value.static List<UsualGroupRepresentation>VALUESA public read-only list of all the 'Usual Group Representation' enumerators.static intWEAK_SEPARATION_VALUEThe 'Weak Separation' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsualGroupRepresentationget(int value)Returns the 'Usual Group Representation' literal with the specified integer value.static UsualGroupRepresentationget(String literal)Returns the 'Usual Group Representation' literal with the specified literal value.static UsualGroupRepresentationgetByName(String name)Returns the 'Usual Group Representation' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static UsualGroupRepresentationvalueOf(String name)Returns the enum constant of this type with the specified name.static UsualGroupRepresentation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final UsualGroupRepresentation NONE
The 'None' literal object.- See Also:
NONE_VALUE
-
STRONG_SEPARATION
public static final UsualGroupRepresentation STRONG_SEPARATION
The 'Strong Separation' literal object.- See Also:
STRONG_SEPARATION_VALUE
-
WEAK_SEPARATION
public static final UsualGroupRepresentation WEAK_SEPARATION
The 'Weak Separation' literal object.- See Also:
WEAK_SEPARATION_VALUE
-
NORMAL_SEPARATION
public static final UsualGroupRepresentation NORMAL_SEPARATION
The 'Normal Separation' literal object.- See Also:
NORMAL_SEPARATION_VALUE
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
The 'None' literal value.- See Also:
NONE, Constant Field Values
-
STRONG_SEPARATION_VALUE
public static final int STRONG_SEPARATION_VALUE
The 'Strong Separation' literal value.- See Also:
STRONG_SEPARATION, Constant Field Values
-
WEAK_SEPARATION_VALUE
public static final int WEAK_SEPARATION_VALUE
The 'Weak Separation' literal value.- See Also:
WEAK_SEPARATION, Constant Field Values
-
NORMAL_SEPARATION_VALUE
public static final int NORMAL_SEPARATION_VALUE
The 'Normal Separation' literal value.- See Also:
NORMAL_SEPARATION, Constant Field Values
-
VALUES
public static final List<UsualGroupRepresentation> VALUES
A public read-only list of all the 'Usual Group Representation' enumerators.
-
-
Method Detail
-
values
public static UsualGroupRepresentation[] 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 (UsualGroupRepresentation c : UsualGroupRepresentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsualGroupRepresentation 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 UsualGroupRepresentation get(String literal)
Returns the 'Usual Group Representation' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static UsualGroupRepresentation getByName(String name)
Returns the 'Usual Group Representation' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static UsualGroupRepresentation get(int value)
Returns the 'Usual Group Representation' 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<UsualGroupRepresentation>
-
-