Class Join

java.lang.Object
org.tentackle.wurblet.Join

public class Join extends Object
Load join.
Author:
harald
  • Constructor Details

    • Join

      public Join(Relation relation)
      Creates an unnamed join.
      Parameters:
      relation - the relation
  • Method Details

    • getRelation

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

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

      public void setName(String name)
      Sets the name of the join.
      Parameters:
      name - the name
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object