public static enum RowObjectContainer.PseudoFieldName extends java.lang.Enum<RowObjectContainer.PseudoFieldName>
RowObjectContainer that can be
accessed from a StringTemplate V4 template. The enumerated fields can be accessed
like ordinary public fields from a StringTemplate V4 template. The dot notation is
used to do so. Taking the first named value rowAry as an
example, one would write <container.rowAry> to access the related
pseudo-field.A short explanation of each pseudo-field and a reference to more in-depth information can be found as description of each named value of the enumeration.
Please note, that the pseudo-fields of the base class ObjectMap are
inherited and can be accessed, too. See ObjectMap.PseudoFieldName.
A detailed discussion of pseudo-fields and the enumeration of these can be found
in the class description of ObjectMap.
| Enum Constant and Description |
|---|
groupAry
The list
ObjectMap.itemAry of sub-group/container objects of the given
container. |
noGroups
The number of sub-groups/containers in the given group/container.
|
noRows
The number
RowObjectContainer.getNoRows() of row objects in the
group/container. |
prop
If
RowObjectContainer.getNoRows() returns one then this pseudo-field
RowObjectContainer.prop holds a reference to the one and only row
object in RowObjectContainer.rowAry. |
rowAry
The list
RowObjectContainer.rowAry of row objects in the
group/container. |
| Modifier and Type | Method and Description |
|---|---|
static RowObjectContainer.PseudoFieldName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RowObjectContainer.PseudoFieldName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RowObjectContainer.PseudoFieldName rowAry
RowObjectContainer.rowAry of row objects in the
group/container.
From a StringTemplate V4 template it would be accessed with an expression
like <container.rowAry>.
public static final RowObjectContainer.PseudoFieldName noRows
RowObjectContainer.getNoRows() of row objects in the
group/container.
From a StringTemplate V4 template it would be accessed with an expression
like <container.noRows>.
public static final RowObjectContainer.PseudoFieldName prop
RowObjectContainer.getNoRows() returns one then this pseudo-field
RowObjectContainer.prop holds a reference to the one and only row
object in RowObjectContainer.rowAry. If the container has any other
number of row objects then the reference RowObjectContainer.prop is
null.
From a StringTemplate V4 template the only row object would be accessed with
an expression like <container.prop>.
public static final RowObjectContainer.PseudoFieldName groupAry
ObjectMap.itemAry of sub-group/container objects of the given
container. This pseudo-field is an alias to access the pseudo-field ObjectMap.PseudoFieldName.itemAry of the base class.
From a StringTemplate V4 template the list would be accessed with an
expression like <container.groupAry>.
public static final RowObjectContainer.PseudoFieldName noGroups
ObjectMap.PseudoFieldName.noItems.
From a StringTemplate V4 template the number would be accessed with an
expression like <container.noGroups>.
public static RowObjectContainer.PseudoFieldName[] values()
for (RowObjectContainer.PseudoFieldName c : RowObjectContainer.PseudoFieldName.values()) System.out.println(c);
public static RowObjectContainer.PseudoFieldName valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null