Enum MdPropertyType
- java.lang.Object
-
- java.lang.Enum<MdPropertyType>
-
- com._1c.g5.v8.dt.metadata.mdclass.extension.type.MdPropertyType
-
- All Implemented Interfaces:
Serializable
,Comparable<MdPropertyType>
,org.eclipse.emf.common.util.Enumerator
public enum MdPropertyType extends Enum<MdPropertyType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Md Property Type', and utility methods for working with them. Metadata property extension type defining whether property may be extended or marked as checked.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKABLE
The 'Checkable' literal object.CHECKABLE_OR_EXTENSIBLE
The 'Checkable Or Extensible' literal object.CHECKABLE_OR_NOTIFY
The 'Checkable Or Notify' literal object.EXTENSIBLE
The 'Extensible' literal object.MULTI_STATE
The 'Multi State' literal object.NORMAL
The 'Normal' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
CHECKABLE_OR_EXTENSIBLE_VALUE
The 'Checkable Or Extensible' literal value.static int
CHECKABLE_OR_NOTIFY_VALUE
The 'Checkable Or Notify' literal value.static int
CHECKABLE_VALUE
The 'Checkable' literal value.static int
EXTENSIBLE_VALUE
The 'Extensible' literal value.static int
MULTI_STATE_VALUE
The 'Multi State' literal value.static int
NORMAL_VALUE
The 'Normal' literal value.static List<MdPropertyType>
VALUES
A public read-only list of all the 'Md Property Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MdPropertyType
get(int value)
Returns the 'Md Property Type' literal with the specified integer value.static MdPropertyType
get(String literal)
Returns the 'Md Property Type' literal with the specified literal value.static MdPropertyType
getByName(String name)
Returns the 'Md Property 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 MdPropertyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MdPropertyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final MdPropertyType NORMAL
The 'Normal' literal object. Property value may be used as normal value.- See Also:
NORMAL_VALUE
-
CHECKABLE
public static final MdPropertyType CHECKABLE
The 'Checkable' literal object. Property value may be used to check extension runtime plug-in ability.- See Also:
CHECKABLE_VALUE
-
EXTENSIBLE
public static final MdPropertyType EXTENSIBLE
The 'Extensible' literal object. Property value may be used to modify original property value in result runtime configuration.- See Also:
EXTENSIBLE_VALUE
-
CHECKABLE_OR_EXTENSIBLE
public static final MdPropertyType CHECKABLE_OR_EXTENSIBLE
The 'Checkable Or Extensible' literal object. Property value may either be used to check extension runtime plug-in ability or may be used to modify original property value in result runtime configuration.- See Also:
CHECKABLE_OR_EXTENSIBLE_VALUE
-
CHECKABLE_OR_NOTIFY
public static final MdPropertyType CHECKABLE_OR_NOTIFY
The 'Checkable Or Notify' literal object. Property value may either be used to check extension runtime plug-in ability or may be used to notified about discrepancy with original property value and modify original property value in result runtime configuration.- See Also:
CHECKABLE_OR_NOTIFY_VALUE
-
MULTI_STATE
public static final MdPropertyType MULTI_STATE
The 'Multi State' literal object. Property value may be contains different states in subparts of original property.- See Also:
MULTI_STATE_VALUE
-
-
Field Detail
-
NORMAL_VALUE
public static final int NORMAL_VALUE
The 'Normal' literal value. Property value may be used as normal value.- See Also:
NORMAL
, Constant Field Values
-
CHECKABLE_VALUE
public static final int CHECKABLE_VALUE
The 'Checkable' literal value. Property value may be used to check extension runtime plug-in ability.- See Also:
CHECKABLE
, Constant Field Values
-
EXTENSIBLE_VALUE
public static final int EXTENSIBLE_VALUE
The 'Extensible' literal value. Property value may be used to modify original property value in result runtime configuration.- See Also:
EXTENSIBLE
, Constant Field Values
-
CHECKABLE_OR_EXTENSIBLE_VALUE
public static final int CHECKABLE_OR_EXTENSIBLE_VALUE
The 'Checkable Or Extensible' literal value. Property value may either be used to check extension runtime plug-in ability or may be used to modify original property value in result runtime configuration.- See Also:
CHECKABLE_OR_EXTENSIBLE
, Constant Field Values
-
CHECKABLE_OR_NOTIFY_VALUE
public static final int CHECKABLE_OR_NOTIFY_VALUE
The 'Checkable Or Notify' literal value. Property value may either be used to check extension runtime plug-in ability or may be used to notified about discrepancy with original property value and modify original property value in result runtime configuration.- See Also:
CHECKABLE_OR_NOTIFY
, Constant Field Values
-
MULTI_STATE_VALUE
public static final int MULTI_STATE_VALUE
The 'Multi State' literal value. Property value may be contains different states in subparts of original property.- See Also:
MULTI_STATE
, Constant Field Values
-
VALUES
public static final List<MdPropertyType> VALUES
A public read-only list of all the 'Md Property Type' enumerators.
-
-
Method Detail
-
values
public static MdPropertyType[] 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 (MdPropertyType c : MdPropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MdPropertyType 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 MdPropertyType get(String literal)
Returns the 'Md Property Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static MdPropertyType getByName(String name)
Returns the 'Md Property Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static MdPropertyType get(int value)
Returns the 'Md Property 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<MdPropertyType>
-
-