org.apache.openjpa.persistence.meta
Class AbstractManagedType.AttributeTypeFilter<X,Y>
java.lang.Object
org.apache.openjpa.persistence.meta.AbstractManagedType.AttributeTypeFilter<X,Y>
- All Implemented Interfaces:
- AbstractManagedType.Filter<Attribute<? super X,?>>
- Enclosing class:
- AbstractManagedType<X>
public static final class AbstractManagedType.AttributeTypeFilter<X,Y>
- extends Object
- implements AbstractManagedType.Filter<Attribute<? super X,?>>
Selects if the attribute type matches the given Java class.
null matches any type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractManagedType.AttributeTypeFilter
public AbstractManagedType.AttributeTypeFilter(Class<Y> type)
AbstractManagedType.AttributeTypeFilter
public AbstractManagedType.AttributeTypeFilter(Class<Y> type,
boolean inverted)
selects
public boolean selects(Attribute<? super X,?> attr)
- Specified by:
selects
in interface AbstractManagedType.Filter<Attribute<? super X,?>>
inverse
public AbstractManagedType.AttributeTypeFilter<X,Y> inverse()
- Specified by:
inverse
in interface AbstractManagedType.Filter<Attribute<? super X,?>>
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.