Class FieldData
java.lang.Object
org.hortonmachine.gui.spatialtoolbox.core.FieldData
public class FieldData
extends java.lang.Object
The data that represent a field.
- Author:
- Andrea Antonello (www.hydrologis.com)
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringfieldDescriptionDescription of the field.java.lang.StringfieldNameName of the field, to be called via reflection.java.lang.StringfieldTypeType of the field.java.lang.StringfieldValueThe fields value, at first the default, in the end the set one.java.lang.StringguiHintsGuihints if there are some.booleanisInType of the field, either @in or @out.java.lang.StringotherFieldNameField name of a connecting module, if available.ModuleDescriptionotherModuleOther module, if available. -
Constructor Summary
Constructors Constructor Description FieldData() -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.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()java.lang.StringtoString()
-
Field Details
-
isIn
public boolean isInType of the field, either @in or @out. -
fieldName
public java.lang.String fieldNameName of the field, to be called via reflection. -
fieldType
public java.lang.String fieldTypeType of the field. -
fieldDescription
public java.lang.String fieldDescriptionDescription of the field. -
guiHints
public java.lang.String guiHintsGuihints if there are some. -
fieldValue
public java.lang.String fieldValueThe fields value, at first the default, in the end the set one. -
otherFieldName
public java.lang.String otherFieldNameField name of a connecting module, if available. -
otherModule
Other module, if available.
-
-
Constructor Details
-
FieldData
public FieldData()
-
-
Method Details
-
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
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-