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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConstrainedAttribute.Entry<T>
-
Constructor Summary
Constructors Constructor Description ConstrainedAttribute(String constraint, int[] subtypeIndexes, T attribute, int index)
-
Method Summary
Modifier and Type Method Description void
addSelectionConstraint(String constraint, int[] subtypeIndexes, T attribute)
void
addSubAttribute(ManagedViewType<?> viewType, T attribute)
T
getAttribute()
int
getIndex()
Collection<ConstrainedAttribute.Entry<T>>
getSelectionConstrainedAttributes()
T
getSubAttribute(ManagedViewType<?> viewType)
boolean
requiresCaseWhen()
-
Constructor Details
-
Method Details
-
getAttribute
-
getIndex
public int getIndex() -
requiresCaseWhen
public boolean requiresCaseWhen() -
getSelectionConstrainedAttributes
-
getSubAttribute
-
addSelectionConstraint
-
addSubAttribute
-