Class FieldData
- java.lang.Object
-
- org.hortonmachine.gui.spatialtoolbox.core.FieldData
-
public class FieldData extends Object
The data that represent a field.- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Field Summary
Fields Modifier and Type Field Description StringfieldDescriptionDescription of the field.StringfieldNameName of the field, to be called via reflection.StringfieldTypeType of the field.StringfieldValueThe fields value, at first the default, in the end the set one.StringguiHintsGuihints if there are some.booleanisInType of the field, either @in or @out.StringotherFieldNameField name of a connecting module, if available.ModuleDescriptionotherModuleOther module, if available.
-
Constructor Summary
Constructors Constructor Description FieldData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()booleanisProcessingRegionRelated()Checks if the FieldData are referred to values of theProcessingRegion.booleanisSimpleArrayType()Checks if this field is of simple array/matrix type.booleanisSimpleType()Checks if this field is a simple type.FieldDatamakeCopy()StringtoString()
-
-
-
Field Detail
-
isIn
public boolean isIn
Type of the field, either @in or @out.
-
fieldName
public String fieldName
Name of the field, to be called via reflection.
-
fieldType
public String fieldType
Type of the field.
-
fieldDescription
public String fieldDescription
Description of the field.
-
guiHints
public String guiHints
Guihints if there are some.
-
fieldValue
public String fieldValue
The fields value, at first the default, in the end the set one.
-
otherFieldName
public String otherFieldName
Field name of a connecting module, if available.
-
otherModule
public ModuleDescription otherModule
Other module, if available.
-
-
Method Detail
-
isProcessingRegionRelated
public boolean isProcessingRegionRelated()
Checks if the FieldData are referred to values of theProcessingRegion.- Returns:
true, if the field is related to the processing region.
-
isSimpleType
public boolean isSimpleType()
Checks if this field is a simple type.Simple types are:
- double
- float
- int
- ...
- Double
- Float
- ...
- boolean
- Boolean
- String
- Returns:
- true if the type is simple.
-
isSimpleArrayType
public boolean isSimpleArrayType()
Checks if this field is of simple array/matrix type.- Returns:
- true if the type is simple array or matrix.
-
makeCopy
public FieldData makeCopy()
-
-