Class JOOQMapping

java.lang.Object
no.sikt.graphitron.definitions.mapping.MethodMapping
no.sikt.graphitron.definitions.mapping.JOOQMapping
All Implemented Interfaces:
JoinElement

public class JOOQMapping extends MethodMapping implements JoinElement
Stores operations related to rendering jOOQ key and table mappings.
  • Method Details

    • getMappingName

      public String getMappingName()
      Specified by:
      getMappingName in interface JoinElement
      Returns:
      The exact name of the data that this object corresponds to.
    • getCodeName

      public String getCodeName()
      Specified by:
      getCodeName in interface JoinElement
      Returns:
      The method call version of the name.
    • fromTable

      public static JOOQMapping fromTable(String tableName)
    • fromKey

      public static JOOQMapping fromKey(String keyName)
    • getInverseKey

      public JOOQMapping getInverseKey()
    • getTable

      public JOOQMapping getTable()
      Specified by:
      getTable in interface JoinElement
      Returns:
      The table that this join element is built of.
    • clearsPreviousSequence

      public boolean clearsPreviousSequence()
      Specified by:
      clearsPreviousSequence in interface JoinElement
      Returns:
      Should this element reset the sequence?
    • equals

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

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

      public Class<?> getTableClass()
    • getRecordClass

      public Class<?> getRecordClass()