java.lang.Object
com.peterphi.std.guice.hibernate.webquery.impl.QRelation

public class QRelation extends Object
  • Constructor Details

    • QRelation

      public QRelation(QEntity owner, String prefix, String name, QEntity entity, boolean nullable, boolean eager, boolean collection)
  • Method Details

    • getOwner

      public QEntity getOwner()
      Get the owning entity of the relation
      Returns:
    • getName

      public String getName()
      Get the relation name on the owner
      Returns:
    • getEntity

      public QEntity getEntity()
      Get the entity for the relation destination
      Returns:
    • isNullable

      public boolean isNullable()
      Get the nullability of this relationship
      Returns:
    • isEager

      public boolean isEager()
    • isCollection

      public boolean isCollection()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • encode

      public WQEntityProperty encode()