Record Class InspectionDecl

java.lang.Object
java.lang.Record
guru.interlis.convconf.lm.InspectionDecl

public record InspectionDecl(String name, String sourceTable, String className, MappingDirection direction, String identColumn, String parentColumn, String structAttrColumn, String structAttrMap, String classColumn, String classMap, List<ConversionDecl> conversions, List<AliasDecl> aliases, List<WithBlock> withBlocks, List<ColumnMap> columns) extends Record
Inspection declaration used for structure rows with $PARENT/$CLASS/$STRUCTATTR semantics.
  • Constructor Details

    • InspectionDecl

      public InspectionDecl(String name, String sourceTable, String className, MappingDirection direction, String identColumn, String parentColumn, String structAttrColumn, String structAttrMap, String classColumn, String classMap, List<ConversionDecl> conversions, List<AliasDecl> aliases, List<WithBlock> withBlocks, List<ColumnMap> columns)
      Creates an instance of a InspectionDecl record class.
      Parameters:
      name - the value for the name record component
      sourceTable - the value for the sourceTable record component
      className - the value for the className record component
      direction - the value for the direction record component
      identColumn - the value for the identColumn record component
      parentColumn - the value for the parentColumn record component
      structAttrColumn - the value for the structAttrColumn record component
      structAttrMap - the value for the structAttrMap record component
      classColumn - the value for the classColumn record component
      classMap - the value for the classMap record component
      conversions - the value for the conversions record component
      aliases - the value for the aliases record component
      withBlocks - the value for the withBlocks record component
      columns - the value for the columns record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • sourceTable

      public String sourceTable()
      Returns the value of the sourceTable record component.
      Returns:
      the value of the sourceTable record component
    • className

      public String className()
      Returns the value of the className record component.
      Returns:
      the value of the className record component
    • direction

      public MappingDirection direction()
      Returns the value of the direction record component.
      Returns:
      the value of the direction record component
    • identColumn

      public String identColumn()
      Returns the value of the identColumn record component.
      Returns:
      the value of the identColumn record component
    • parentColumn

      public String parentColumn()
      Returns the value of the parentColumn record component.
      Returns:
      the value of the parentColumn record component
    • structAttrColumn

      public String structAttrColumn()
      Returns the value of the structAttrColumn record component.
      Returns:
      the value of the structAttrColumn record component
    • structAttrMap

      public String structAttrMap()
      Returns the value of the structAttrMap record component.
      Returns:
      the value of the structAttrMap record component
    • classColumn

      public String classColumn()
      Returns the value of the classColumn record component.
      Returns:
      the value of the classColumn record component
    • classMap

      public String classMap()
      Returns the value of the classMap record component.
      Returns:
      the value of the classMap record component
    • conversions

      public List<ConversionDecl> conversions()
      Returns the value of the conversions record component.
      Returns:
      the value of the conversions record component
    • aliases

      public List<AliasDecl> aliases()
      Returns the value of the aliases record component.
      Returns:
      the value of the aliases record component
    • withBlocks

      public List<WithBlock> withBlocks()
      Returns the value of the withBlocks record component.
      Returns:
      the value of the withBlocks record component
    • columns

      public List<ColumnMap> columns()
      Returns the value of the columns record component.
      Returns:
      the value of the columns record component