org.apache.openjpa.persistence.meta
Class AbstractManagedType.SingularAttributeFilter<X>

java.lang.Object
  extended by org.apache.openjpa.persistence.meta.AbstractManagedType.SingularAttributeFilter<X>
All Implemented Interfaces:
AbstractManagedType.Filter<Attribute<? super X,?>>
Enclosing class:
AbstractManagedType<X>

public static final class AbstractManagedType.SingularAttributeFilter<X>
extends Object
implements AbstractManagedType.Filter<Attribute<? super X,?>>

Affirms if the given attribute is a Singular attribute.


Constructor Summary
AbstractManagedType.SingularAttributeFilter()
           
AbstractManagedType.SingularAttributeFilter(boolean inverted)
           
 
Method Summary
 AbstractManagedType.SingularAttributeFilter<X> inverse()
           
 boolean selects(Attribute<? super X,?> attr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractManagedType.SingularAttributeFilter

public AbstractManagedType.SingularAttributeFilter()

AbstractManagedType.SingularAttributeFilter

public AbstractManagedType.SingularAttributeFilter(boolean inverted)
Method Detail

selects

public boolean selects(Attribute<? super X,?> attr)
Specified by:
selects in interface AbstractManagedType.Filter<Attribute<? super X,?>>

inverse

public AbstractManagedType.SingularAttributeFilter<X> inverse()
Specified by:
inverse in interface AbstractManagedType.Filter<Attribute<? super X,?>>


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.