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 SearchTermGroup

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

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AcceptableValueListCriteria, And, ArtifactStoreCriteria, AssetCriteria, AssetTypeCriteria, CategorizationTypeCriteria, ContactCriteria, DepartmentCriteria, MetadataEntryCriteria, MetadataEntryTypeCriteria, Or, ProjectCriteria, RelationshipTypeCriteria, RoleCriteria, SFIDCandidateCriteria, SFIDCriteria, SystemSettingsCriteria, UserCriteria, VendorCriteria

public class SearchTermGroup
extends java.lang.Object
implements java.io.Serializable

Base class for search criteria of entities in REX.

See Also:
Serialized Form

Constructor Summary
SearchTermGroup()
           
SearchTermGroup(java.lang.String[] orderBy, java.lang.String qualifier, SearchTermGroup[] searchTermGroups, SearchTerm[] searchTerms, java.lang.String[] supportedKeys)
           

 

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
 java.lang.String[] getOrderBy()
          Return the column names to include in the ORDERBY clause that will be generated to represent this SearchTermGroup.
 java.lang.String getQualifier()
          Get the operator to use between sub-criteria and individual search tearms.
 SearchTermGroup[] getSearchTermGroups()
          Get the criteria to be aggregated using the operator specified on this criteria object.
 SearchTerm[] getSearchTerms()
          Gets the searchTerms value for this SearchTermGroup.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String[] getSupportedKeys()
          Returns the list of valid search terms that may be set on a criterion.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setOrderBy(java.lang.String[] orderBy)
          Set the column names to include in the ORDERBY clause that will be generated to represent this SearchTermGroup.
 void setQualifier(java.lang.String qualifier)
          Set the operator to use between sub-criteria and individual search tearms.
 void setSearchTermGroups(SearchTermGroup[] searchTermGroups)
          Set the subcriteria to be aggregated using the operator specified on this criteria object.
 void setSearchTerms(SearchTerm[] searchTerms)
          Sets the searchTerms value for this SearchTermGroup.
 void setSupportedKeys(java.lang.String[] supportedKeys)
          Sets the supportedKeys value for this SearchTermGroup.

 

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

 

Constructor Detail

SearchTermGroup

public SearchTermGroup()

SearchTermGroup

public SearchTermGroup(java.lang.String[] orderBy,
                       java.lang.String qualifier,
                       SearchTermGroup[] searchTermGroups,
                       SearchTerm[] searchTerms,
                       java.lang.String[] supportedKeys)

Method Detail

getOrderBy

public java.lang.String[] getOrderBy()
Return the column names to include in the ORDERBY clause that will be generated to represent this SearchTermGroup.
Returns:
column names used to construct ORDERBY clause

setOrderBy

public void setOrderBy(java.lang.String[] orderBy)
Set the column names to include in the ORDERBY clause that will be generated to represent this SearchTermGroup.
Parameters:
pOrderByColumns - the column names to be used in constructing the ORDERBY clause

getQualifier

public java.lang.String getQualifier()
Get the operator to use between sub-criteria and individual search tearms. For example, if a criteria is created with operator AND, and two sub-criteria are added, subA and subB, as well as one search term, eq1(key=key1, val=val1), the resulting logical organization would be:

subA AND subB AND (key1 EQ val1)

Returns:
the operator to use between elements (SearchTerms and SubCriteria) of this Criteria object.

setQualifier

public void setQualifier(java.lang.String qualifier)
Set the operator to use between sub-criteria and individual search tearms. For example, if a criterion is created with operator AND, and two sub-criterion are added, subA and subB, as well as one search term, eq1(key=key1, val=val1), the resulting logical organization would be:

subA AND subB AND (key1 EQ val1)

Parameters:
operator - The qualifier to add. One of the SearchTermGroup.OPERATOR_* constants

getSearchTermGroups

public SearchTermGroup[] getSearchTermGroups()
Get the criteria to be aggregated using the operator specified on this criteria object.
Returns:
the sub criteria of this criteria object

setSearchTermGroups

public void setSearchTermGroups(SearchTermGroup[] searchTermGroups)
Set the subcriteria to be aggregated using the operator specified on this criteria object.
Parameters:
subCriteria - the subcriteria to include

getSearchTerms

public SearchTerm[] getSearchTerms()
Gets the searchTerms value for this SearchTermGroup.
Returns:
searchTerms

setSearchTerms

public void setSearchTerms(SearchTerm[] searchTerms)
Sets the searchTerms value for this SearchTermGroup.
Parameters:
searchTerms -

getSupportedKeys

public java.lang.String[] getSupportedKeys()
Returns the list of valid search terms that may be set on a criterion. The SearchTerms returned by this method may be used in a call to setSearchTerms() on a Criteria object.
Returns:

setSupportedKeys

public void setSupportedKeys(java.lang.String[] supportedKeys)
Sets the supportedKeys value for this SearchTermGroup.
Parameters:
supportedKeys -

equals

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

hashCode

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

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.