Class ConstrainedAttribute<T extends AbstractAttribute<?,?>>

java.lang.Object
com.blazebit.persistence.view.impl.metamodel.ConstrainedAttribute<T>

public class ConstrainedAttribute<T extends AbstractAttribute<?,?>> extends Object
Since:
1.2.0
Author:
Christian Beikov
  • Constructor Details

    • ConstrainedAttribute

      public ConstrainedAttribute(String constraint, int[] subtypeIndexes, T attribute, int index)
  • Method Details

    • getAttribute

      public T getAttribute()
    • getIndex

      public int getIndex()
    • requiresCaseWhen

      public boolean requiresCaseWhen()
    • getSelectionConstrainedAttributes

      public Collection<ConstrainedAttribute.Entry<T>> getSelectionConstrainedAttributes()
    • getSubAttribute

      public T getSubAttribute(ManagedViewType<?> viewType)
    • addSelectionConstraint

      public void addSelectionConstraint(String constraint, int[] subtypeIndexes, T attribute)
    • addSubAttribute

      public void addSubAttribute(ManagedViewType<?> viewType, T attribute)