Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


oracle.eclipselink.coherence.integrated.internal.querying
Class EclipseLinkFilterFactory.SubClassOf

java.lang.Object
  extended by oracle.eclipselink.coherence.integrated.internal.querying.EclipseLinkFilterFactory.SubClassOf

All Implemented Interfaces:
com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject, com.tangosol.util.Filter, java.io.Serializable
Enclosing class:
EclipseLinkFilterFactory

public static class EclipseLinkFilterFactory.SubClassOf
extends java.lang.Object
implements com.tangosol.util.Filter, java.io.Serializable, com.tangosol.io.pof.PortableObject, com.tangosol.util.ExternalizableLite

This filter is added to filter out superclasses that may be outside of the scope of a polymorphic query. ie. C inherits from B which inherits from A. All will be stored in same cache but a query on B should not return any As.

Author:
gyorke
See Also:
Serialized Form

Field Summary
protected  java.lang.Class parentClass
           
protected  java.lang.String parentClassName
           

 

Constructor Summary
EclipseLinkFilterFactory.SubClassOf()
           
EclipseLinkFilterFactory.SubClassOf(java.lang.Class parentClass)
           

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean evaluate(java.lang.Object arg0)
           
 int hashCode()
           
 void readExternal(java.io.DataInput in)
           
 void readExternal(com.tangosol.io.pof.PofReader in)
           
 void writeExternal(java.io.DataOutput out)
           
 void writeExternal(com.tangosol.io.pof.PofWriter out)
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

parentClass

protected transient java.lang.Class parentClass

parentClassName

protected java.lang.String parentClassName

Constructor Detail

EclipseLinkFilterFactory.SubClassOf

public EclipseLinkFilterFactory.SubClassOf()

EclipseLinkFilterFactory.SubClassOf

public EclipseLinkFilterFactory.SubClassOf(java.lang.Class parentClass)

Method Detail

evaluate

public boolean evaluate(java.lang.Object arg0)
Specified by:
evaluate in interface com.tangosol.util.Filter

readExternal

public void readExternal(com.tangosol.io.pof.PofReader in)
                  throws java.io.IOException
Specified by:
readExternal in interface com.tangosol.io.pof.PortableObject
Throws:
java.io.IOException

writeExternal

public void writeExternal(com.tangosol.io.pof.PofWriter out)
                   throws java.io.IOException
Specified by:
writeExternal in interface com.tangosol.io.pof.PortableObject
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.DataInput in)
                  throws java.io.IOException
Specified by:
readExternal in interface com.tangosol.io.ExternalizableLite
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.DataOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface com.tangosol.io.ExternalizableLite
Throws:
java.io.IOException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.