Enum ReturnValuesReuse
- java.lang.Object
-
- java.lang.Enum<ReturnValuesReuse>
-
- com._1c.g5.v8.dt.metadata.mdclass.ReturnValuesReuse
-
- All Implemented Interfaces:
Serializable
,Comparable<ReturnValuesReuse>
,org.eclipse.emf.common.util.Enumerator
public enum ReturnValuesReuse extends Enum<ReturnValuesReuse> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Return Values Reuse', and utility methods for working with them.- See Also:
MdClassPackage.getReturnValuesReuse()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONT_USE
The 'Dont Use' literal object.DURING_REQUEST
The 'During Request' literal object.DURING_SESSION
The 'During Session' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
DONT_USE_VALUE
The 'Dont Use' literal value.static int
DURING_REQUEST_VALUE
The 'During Request' literal value.static int
DURING_SESSION_VALUE
The 'During Session' literal value.static List<ReturnValuesReuse>
VALUES
A public read-only list of all the 'Return Values Reuse' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReturnValuesReuse
get(int value)
Returns the 'Return Values Reuse' literal with the specified integer value.static ReturnValuesReuse
get(String literal)
Returns the 'Return Values Reuse' literal with the specified literal value.static ReturnValuesReuse
getByName(String name)
Returns the 'Return Values Reuse' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static ReturnValuesReuse
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReturnValuesReuse[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DONT_USE
public static final ReturnValuesReuse DONT_USE
The 'Dont Use' literal object.- See Also:
DONT_USE_VALUE
-
DURING_REQUEST
public static final ReturnValuesReuse DURING_REQUEST
The 'During Request' literal object.- See Also:
DURING_REQUEST_VALUE
-
DURING_SESSION
public static final ReturnValuesReuse DURING_SESSION
The 'During Session' literal object.- See Also:
DURING_SESSION_VALUE
-
-
Field Detail
-
DONT_USE_VALUE
public static final int DONT_USE_VALUE
The 'Dont Use' literal value.- See Also:
DONT_USE
, Constant Field Values
-
DURING_REQUEST_VALUE
public static final int DURING_REQUEST_VALUE
The 'During Request' literal value.- See Also:
DURING_REQUEST
, Constant Field Values
-
DURING_SESSION_VALUE
public static final int DURING_SESSION_VALUE
The 'During Session' literal value.- See Also:
DURING_SESSION
, Constant Field Values
-
VALUES
public static final List<ReturnValuesReuse> VALUES
A public read-only list of all the 'Return Values Reuse' enumerators.
-
-
Method Detail
-
values
public static ReturnValuesReuse[] 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 (ReturnValuesReuse c : ReturnValuesReuse.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReturnValuesReuse 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 ReturnValuesReuse get(String literal)
Returns the 'Return Values Reuse' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static ReturnValuesReuse getByName(String name)
Returns the 'Return Values Reuse' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static ReturnValuesReuse get(int value)
Returns the 'Return Values Reuse' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ReturnValuesReuse>
-
-