Package com._1c.g5.v8.dt.chart.model
Enum TrendlineApproximationType
- java.lang.Object
-
- java.lang.Enum<TrendlineApproximationType>
-
- com._1c.g5.v8.dt.chart.model.TrendlineApproximationType
-
- All Implemented Interfaces:
Serializable
,Comparable<TrendlineApproximationType>
,org.eclipse.emf.common.util.Enumerator
public enum TrendlineApproximationType extends Enum<TrendlineApproximationType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Trendline Approximation Type', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPONENTIAL
The 'Exponential' literal object.LINEAR
The 'Linear' literal object.LOGARITHMIC
The 'Logarithmic' literal object.POLYNOMIAL
The 'Polynomial' literal object.POWER
The 'Power' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
EXPONENTIAL_VALUE
The 'Exponential' literal value.static int
LINEAR_VALUE
The 'Linear' literal value.static int
LOGARITHMIC_VALUE
The 'Logarithmic' literal value.static int
POLYNOMIAL_VALUE
The 'Polynomial' literal value.static int
POWER_VALUE
The 'Power' literal value.static List<TrendlineApproximationType>
VALUES
A public read-only list of all the 'Trendline Approximation Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrendlineApproximationType
get(int value)
Returns the 'Trendline Approximation Type' literal with the specified integer value.static TrendlineApproximationType
get(String literal)
Returns the 'Trendline Approximation Type' literal with the specified literal value.static TrendlineApproximationType
getByName(String name)
Returns the 'Trendline Approximation Type' 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 TrendlineApproximationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TrendlineApproximationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINEAR
public static final TrendlineApproximationType LINEAR
The 'Linear' literal object.- See Also:
LINEAR_VALUE
-
EXPONENTIAL
public static final TrendlineApproximationType EXPONENTIAL
The 'Exponential' literal object.- See Also:
EXPONENTIAL_VALUE
-
LOGARITHMIC
public static final TrendlineApproximationType LOGARITHMIC
The 'Logarithmic' literal object.- See Also:
LOGARITHMIC_VALUE
-
POWER
public static final TrendlineApproximationType POWER
The 'Power' literal object.- See Also:
POWER_VALUE
-
POLYNOMIAL
public static final TrendlineApproximationType POLYNOMIAL
The 'Polynomial' literal object.- See Also:
POLYNOMIAL_VALUE
-
-
Field Detail
-
LINEAR_VALUE
public static final int LINEAR_VALUE
The 'Linear' literal value.- See Also:
LINEAR
, Constant Field Values
-
EXPONENTIAL_VALUE
public static final int EXPONENTIAL_VALUE
The 'Exponential' literal value.- See Also:
EXPONENTIAL
, Constant Field Values
-
LOGARITHMIC_VALUE
public static final int LOGARITHMIC_VALUE
The 'Logarithmic' literal value.- See Also:
LOGARITHMIC
, Constant Field Values
-
POWER_VALUE
public static final int POWER_VALUE
The 'Power' literal value.- See Also:
POWER
, Constant Field Values
-
POLYNOMIAL_VALUE
public static final int POLYNOMIAL_VALUE
The 'Polynomial' literal value.- See Also:
POLYNOMIAL
, Constant Field Values
-
VALUES
public static final List<TrendlineApproximationType> VALUES
A public read-only list of all the 'Trendline Approximation Type' enumerators.
-
-
Method Detail
-
values
public static TrendlineApproximationType[] 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 (TrendlineApproximationType c : TrendlineApproximationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrendlineApproximationType 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 TrendlineApproximationType get(String literal)
Returns the 'Trendline Approximation Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static TrendlineApproximationType getByName(String name)
Returns the 'Trendline Approximation Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static TrendlineApproximationType get(int value)
Returns the 'Trendline Approximation Type' 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<TrendlineApproximationType>
-
-