Skip navigation links

Oracle© Fusion Middleware Extensibility Framework (REX) for Oracle Enterprise Repository
11g Release 1 (11.1.1)

E16598-01


com.flashline.registry.openapi.query
Class Or

java.lang.Object
  extended by com.flashline.registry.openapi.query.SearchTermGroup
      extended by com.flashline.registry.openapi.query.Or

All Implemented Interfaces:
java.io.Serializable

public class Or
extends SearchTermGroup
implements java.io.Serializable

Reserved for future API functionality.

Construct a criteria object that will combine simple or complex search terms using the OR operator.

Example of usage:

 And lAnd = new And();
 lAnd.setSimpleSearchTerms(new SearchTerm[]{ new LT("age", "30") } );
 
 Or  lOr  = new Or();
 lOr.setSimpleSearchTerms(new SearchTerm[]{ new LIKE("name", "fudd"), new LIKE("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)

See Also:
Serialized Form

Constructor Summary
Or()
           

 

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

Or

public Or()

Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class SearchTermGroup

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer

Skip navigation links

Oracle© Fusion Middleware Extensibility Framework (REX) for Oracle Enterprise Repository
11g Release 1 (11.1.1)

E16598-01


Copyright © 2004-2010, Oracle and/or its affiliates. All rights reserved.