Class Join


  • public class Join
    extends java.lang.Object
    Load join.
    Author:
    harald
    • Constructor Summary

      Constructors 
      Constructor Description
      Join​(org.tentackle.model.Relation relation)
      Creates an unnamed join.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getName()
      Gets the name of the join.
      org.tentackle.model.Relation getRelation()
      Gets the relation wrapped by this join.
      int hashCode()  
      void setName​(java.lang.String name)
      Sets the name of the join.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Join

        public Join​(org.tentackle.model.Relation relation)
        Creates an unnamed join.
        Parameters:
        relation - the relation
    • Method Detail

      • getRelation

        public org.tentackle.model.Relation getRelation()
        Gets the relation wrapped by this join.
        Returns:
        the relation, never null
      • getName

        public java.lang.String getName()
        Gets the name of the join.
        Returns:
        the name, null if yet unnamed
      • setName

        public void setName​(java.lang.String name)
        Sets the name of the join.
        Parameters:
        name - the name
      • 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
      • toString

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