Class AbstractManagedType.AttributeTypeFilter<X,Y>
- java.lang.Object
-
- org.apache.openjpa.persistence.meta.AbstractManagedType.AttributeTypeFilter<X,Y>
-
- All Implemented Interfaces:
AbstractManagedType.Filter<jakarta.persistence.metamodel.Attribute<? super X,?>>
- Enclosing class:
- AbstractManagedType<X>
public static final class AbstractManagedType.AttributeTypeFilter<X,Y> extends java.lang.Object implements AbstractManagedType.Filter<jakarta.persistence.metamodel.Attribute<? super X,?>>
Selects if the attribute type matches the given Java class. null matches any type.
-
-
Constructor Summary
Constructors Constructor Description AttributeTypeFilter(java.lang.Class<Y> type)
AttributeTypeFilter(java.lang.Class<Y> type, boolean inverted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractManagedType.AttributeTypeFilter<X,Y>
inverse()
boolean
selects(jakarta.persistence.metamodel.Attribute<? super X,?> attr)
-
-
-
Method Detail
-
selects
public boolean selects(jakarta.persistence.metamodel.Attribute<? super X,?> attr)
- Specified by:
selects
in interfaceAbstractManagedType.Filter<X>
-
inverse
public AbstractManagedType.AttributeTypeFilter<X,Y> inverse()
- Specified by:
inverse
in interfaceAbstractManagedType.Filter<X>
-
-