CollectionSchemaField Class Documentation
class CollectionSchemaFieldNamespace:com::datalogics::PDFL
Detailed Description
Allows for the creation of collection schema field objects. Parameters that are part of a schema's field may be set.
Referenced by
Constructor & Destructor Documentation
CollectionSchemaField
CollectionSchemaField(String fieldID, SchemaFieldSubtype subtype)Parameters
fieldID: Stringthe schema field ID. The ID is used during creation and extraction of the schema field. It is the unique identifier of the schema field.
subtype: SchemaFieldSubtypethe schema field subtype. The subtypes are predefined. The value of this parameter must correspond to the one of the SchemaFieldSubtype enum values.
CCollectionSchemaField allows to create CollectionSchemaField object. The constructor accepts identifier value and subtype required by the schema field.
Member Function Documentation
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetEditable
boolean getEditable()Returns:
booleanwhether edit mode is allowed or not.
GetEditable allows to obtain information about edit mode of the current field.
getID
String getID()Returns:
Stringthe unique field's id.
GetID allows to obtain the unique id with which schema field has been created.
getIndex
int getIndex()Returns:
intthe index of the field.
GetIndex allows to obtain field index.
getName
String getName()Returns:
Stringthe field name.
GetName allows to obtain field name.
getSubtype
SchemaFieldSubtype getSubtype()Returns:
SchemaFieldSubtypefield subtype. One of the ShemaFieldSubtype enum values.
GetSubtype allows to obtain the field subtype.
getVisible
boolean getVisible()Returns:
booleantrue if current schema field is visible, false otherwise.
GetVisible allows to obtain information about filed visibility.
setEditable
void setEditable(boolean isEditable)Parameters
isEditable: booleanpass true to allow to edit this field or false otherwise.
Returns:
voidSetEditable allows to change edit mode for shema field.Its value false by default.
setIndex
void setIndex(int idx)Parameters
idx: intfield index.
Returns:
voidSetIndex allows to set field index. NOTE: the field indexes are zero-based in ascending order without gaps.
setName
void setName(String name)Parameters
name: Stringthe new field name.
Returns:
voidSetName allows to change field name.
setVisible
void setVisible(boolean isVisible)Parameters
isVisible: booleanthe visibility flag.
Returns:
voidSetVisible allows to set field's default visibility.Its value true by default.