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.String fieldDescription
    Description of the field.
    java.lang.String fieldName
    Name of the field, to be called via reflection.
    java.lang.String fieldType
    Type of the field.
    java.lang.String fieldValue
    The fields value, at first the default, in the end the set one.
    java.lang.String guiHints
    Guihints if there are some.
    boolean isIn
    Type of the field, either @in or @out.
    java.lang.String otherFieldName
    Field name of a connecting module, if available.
    ModuleDescription otherModule
    Other module, if available.
  • Constructor Summary

    Constructors 
    Constructor Description
    FieldData()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    int hashCode()  
    boolean isProcessingRegionRelated()
    Checks if the FieldData are referred to values of the ProcessingRegion.
    boolean isSimpleArrayType()
    Checks if this field is of simple array/matrix type.
    boolean isSimpleType()
    Checks if this field is a simple type.
    FieldData makeCopy()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • isIn

      public boolean isIn
      Type of the field, either @in or @out.
    • fieldName

      public java.lang.String fieldName
      Name of the field, to be called via reflection.
    • fieldType

      public java.lang.String fieldType
      Type of the field.
    • fieldDescription

      public java.lang.String fieldDescription
      Description of the field.
    • guiHints

      public java.lang.String guiHints
      Guihints if there are some.
    • fieldValue

      public java.lang.String fieldValue
      The fields value, at first the default, in the end the set one.
    • otherFieldName

      public java.lang.String otherFieldName
      Field name of a connecting module, if available.
    • otherModule

      public ModuleDescription otherModule
      Other module, if available.
  • Constructor Details

  • Method Details

    • isProcessingRegionRelated

      public boolean isProcessingRegionRelated()
      Checks if the FieldData are referred to values of the ProcessingRegion.
      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()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object