C
- Java collection typeE
- Java collection element typepublic abstract class CollectionField<C extends Collection<E>,E> extends ComplexField<C>
Collection
.Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_FIELD_NAME |
NAME_PATTERN
Modifier and Type | Method and Description |
---|---|
SimpleField<E> |
getElementField()
Get the element field.
|
List<SimpleField<E>> |
getSubFields()
Get the sub-field(s) associated with this instance, ordered according to their meaning.
|
abstract C |
getValue(Transaction tx,
ObjId id)
Get the value of this field in the given object.
|
boolean |
hasDefaultValue(Transaction tx,
ObjId id)
Determine if this field in the specified object has its default value in the specified
Transaction . |
getTypeToken, visit
getName, getSchema, getStorageId, toString
public static final String ELEMENT_FIELD_NAME
public SimpleField<E> getElementField()
public final List<SimpleField<E>> getSubFields()
ComplexField
getSubFields
in class ComplexField<C extends Collection<E>>
public boolean hasDefaultValue(Transaction tx, ObjId id)
Field
Transaction
.hasDefaultValue
in class Field<C extends Collection<E>>
tx
- Transaction
containing field stateid
- object IDid
, otherwise falsepublic abstract C getValue(Transaction tx, ObjId id)
Field
getValue
in class Field<C extends Collection<E>>
tx
- transactionid
- object idCopyright © 2022. All rights reserved.