public class FieldBaseStructureInstance extends Object implements StructureInstance
FieldBaseStructureDefinition
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
fieldValues |
protected FieldBaseStructureDefinition |
structureDefinition |
Constructor and Description |
---|
FieldBaseStructureInstance(FieldBaseStructureDefinition structureDefinition) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldNameAt(int index) |
int |
getFieldSize() |
Object |
getFieldValue(String fieldName) |
void |
loadFrom(Object[] array)
Loads this structure from array
|
void |
setFieldValue(String fieldName,
Object value) |
Object[] |
toArray()
Converts this structure instance into an array
|
protected FieldBaseStructureDefinition structureDefinition
public FieldBaseStructureInstance(FieldBaseStructureDefinition structureDefinition)
public int getFieldSize()
public String getFieldNameAt(int index)
public Object[] toArray()
StructureInstance
toArray
in interface StructureInstance
public void loadFrom(Object[] array)
StructureInstance
loadFrom
in interface StructureInstance
array
- the array where this structure loads dataCopyright © 2015. All rights reserved.