|
Oracle© Fusion Middleware Extensibility Framework (REX) for Oracle Enterprise Repository 11g Release 1 (11.1.1) E16598-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.flashline.registry.openapi.query.SearchTermGroup
com.flashline.registry.openapi.query.And
public class And
Reserved for future API functionality.
Construct a criteria object that will combine simple or complex search terms using the AND operator.
Example of usage:
And lAnd = new And(); lAnd.setSimpleSearchTerms(new SearchTerm[]{ new OPLT("age", "30") } ); Or lOr = new Or(); lOr.setSimpleSearchTerms(new SearchTerm[]{ new OPLIKE("name", "fudd"), new OPLIKE("name", "bunny")} ); lAnd.setComplexSearchTerms(new Criteria[]{lOr});
The Criteria object lAnd
specifies a query of all entities with a ((name LIKE fudd OR a name LIKE bunny) AND age LESS THAN 30) NOTE: The criteria object model is currently moving to a more flexible representation of terms and grouping. As they occur, these changes will affect the availability of certain API features when executing a query using a criteria object. Many subsystems do not make use of the extended capabilities of the underlying SearchTermGroup (including grouping by AND and OR), unless otherwise noted in this documentation.
Constructor Summary | |
---|---|
And() |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) Get Custom Deserializer |
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) Get Custom Serializer |
static org.apache.axis.description.TypeDesc |
getTypeDesc() Return type metadata object |
int |
hashCode() |
Methods inherited from class com.flashline.registry.openapi.query.SearchTermGroup |
---|
getOrderBy, getQualifier, getSearchTermGroups, getSearchTerms, getSupportedKeys, setOrderBy, setQualifier, setSearchTermGroups, setSearchTerms, setSupportedKeys |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public And()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class SearchTermGroup
public int hashCode()
hashCode
in class SearchTermGroup
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
|
Oracle© Fusion Middleware Extensibility Framework (REX) for Oracle Enterprise Repository 11g Release 1 (11.1.1) E16598-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |