Class TupleDef

java.lang.Object
io.higson.runtime.model.def.TupleDef

public class TupleDef extends Object
Entity to table mapping.
Author:
przemek hertel
  • Constructor Details

  • Method Details

    • add

      public TupleDef add(String column, String type, String propertyName)
      add column mapping to this tuple
      Parameters:
      column - column name
      type - mpp type code
      propertyName - property name
      Returns:
      tuple definition on which this method was invoked
    • add

      public TupleDef add(String column, String type)
    • getEntityName

      public String getEntityName()
    • getFieldCount

      public int getFieldCount()
    • getProperty

      public TuplePropertyDef getProperty(String propertyName)
    • getProperty

      public TuplePropertyDef getProperty(int index)
    • hasMapping

      public boolean hasMapping(String propertyName)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object