public class CollectionSchemaField
extends java.lang.Object
| Constructor and Description |
|---|
CollectionSchemaField(java.lang.String fieldID,
SchemaFieldSubtype subtype)
CCollectionSchemaField allows to create CollectionSchemaField object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
getEditable()
GetEditable allows to obtain information about edit mode of the current field.
|
java.lang.String |
getID()
GetID allows to obtain the unique id with which schema field has been created.
|
int |
getIndex()
GetIndex allows to obtain field index.
|
java.lang.String |
getName()
GetName allows to obtain field name.
|
SchemaFieldSubtype |
getSubtype()
GetSubtype allows to obtain the field subtype.
|
boolean |
getVisible()
GetVisible allows to obtain information about filed visibility.
|
void |
setEditable(boolean isEditable)
SetEditable allows to change edit mode for shema field. Its value false by default.
|
void |
setIndex(int idx)
SetIndex allows to set field index.
|
void |
setName(java.lang.String name)
SetName allows to change field name.
|
void |
setVisible(boolean isVisible)
SetVisible allows to set field's default visibility. Its value true by default.
|
public CollectionSchemaField(java.lang.String fieldID,
SchemaFieldSubtype subtype)
fieldID - the 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 - the schema field subtype. The subtypes are predefined. The value of this parameter must correspond to the one of the SchemaFieldSubtype enum values.public void delete()
public java.lang.String getID()
public java.lang.String getName()
public void setName(java.lang.String name)
name - the new field name.public SchemaFieldSubtype getSubtype()
public void setIndex(int idx)
idx - field index.public int getIndex()
public void setVisible(boolean isVisible)
isVisible - the visibility flag.public boolean getVisible()
public void setEditable(boolean isEditable)
isEditable - pass true to allow to edit this field or false otherwise.public boolean getEditable()