Package com.e1c.g5.v8.dt.mw.ui
Enum MovementConstructorTreeItem.Type
- java.lang.Object
-
- java.lang.Enum<MovementConstructorTreeItem.Type>
-
- com.e1c.g5.v8.dt.mw.ui.MovementConstructorTreeItem.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<MovementConstructorTreeItem.Type>
- Enclosing class:
- MovementConstructorTreeItem
public static enum MovementConstructorTreeItem.Type extends Enum<MovementConstructorTreeItem.Type>
Enum by types of elements in trees of movements constructor
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_CR
If element is account CrACCOUNT_DR
If element is account or account DtCALCULATE_TYPE
If element is calculate typeDOCUMENT
If element is documentFIELD
If element is fieldMOVEMENT_TYPE
If element is field movement typeREGISTER
If element is predefined accountTABULAR_SECTION
If element is tabular section
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MovementConstructorTreeItem.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static MovementConstructorTreeItem.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIELD
public static final MovementConstructorTreeItem.Type FIELD
If element is field
-
MOVEMENT_TYPE
public static final MovementConstructorTreeItem.Type MOVEMENT_TYPE
If element is field movement type
-
REGISTER
public static final MovementConstructorTreeItem.Type REGISTER
If element is predefined account
-
DOCUMENT
public static final MovementConstructorTreeItem.Type DOCUMENT
If element is document
-
TABULAR_SECTION
public static final MovementConstructorTreeItem.Type TABULAR_SECTION
If element is tabular section
-
CALCULATE_TYPE
public static final MovementConstructorTreeItem.Type CALCULATE_TYPE
If element is calculate type
-
ACCOUNT_DR
public static final MovementConstructorTreeItem.Type ACCOUNT_DR
If element is account or account Dt
-
ACCOUNT_CR
public static final MovementConstructorTreeItem.Type ACCOUNT_CR
If element is account Cr
-
-
Method Detail
-
values
public static MovementConstructorTreeItem.Type[] 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 (MovementConstructorTreeItem.Type c : MovementConstructorTreeItem.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MovementConstructorTreeItem.Type 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
-
-