|
|||||||||
| Home >> All >> com >> virtuosotechnologies >> asaph >> model >> [ opsemantics overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.virtuosotechnologies.asaph.model.opsemantics
Class SearchFieldPredicateSemantics.DefaultImplementation

java.lang.Objectcom.virtuosotechnologies.asaph.model.opsemantics.SearchFieldPredicateSemantics.DefaultImplementation
- All Implemented Interfaces:
- PredicateSemantics, SearchFieldPredicateSemantics, com.virtuosotechnologies.asaph.model.SongOperation
- Enclosing class:
- SearchFieldPredicateSemantics
- public static class SearchFieldPredicateSemantics.DefaultImplementation
- extends java.lang.Object
- implements SearchFieldPredicateSemantics
- extends java.lang.Object
The default implementation of TruePredicateSemantics
| Nested Class Summary |
| Nested classes inherited from class com.virtuosotechnologies.asaph.model.opsemantics.SearchFieldPredicateSemantics |
SearchFieldPredicateSemantics.DefaultImplementation |
| Field Summary | |
private java.lang.String |
fieldName_
|
private SearchParameters |
params_
|
| Constructor Summary | |
SearchFieldPredicateSemantics.DefaultImplementation(java.lang.String fieldName,
SearchParameters params)
Constructor |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
The equals method should return true if the given object is a SongOperation with the same semantics as this one. |
java.lang.String |
getFieldName()
Get the name of the field to search |
SearchParameters |
getSearchParameters()
Get the search parameters |
void |
perform(com.virtuosotechnologies.asaph.model.SongIDResultSet resultSet)
Performs the operation on the given result set. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
fieldName_
private java.lang.String fieldName_
params_
private SearchParameters params_
| Constructor Detail |
SearchFieldPredicateSemantics.DefaultImplementation
public SearchFieldPredicateSemantics.DefaultImplementation(java.lang.String fieldName, SearchParameters params)
- Constructor
| Method Detail |
getFieldName
public java.lang.String getFieldName()
- Get the name of the field to search
- Specified by:
getFieldNamein interfaceSearchFieldPredicateSemantics
getSearchParameters
public SearchParameters getSearchParameters()
- Get the search parameters
- Specified by:
getSearchParametersin interfaceSearchFieldPredicateSemantics
perform
public void perform(com.virtuosotechnologies.asaph.model.SongIDResultSet resultSet) throws com.virtuosotechnologies.asaph.model.SongDatabaseFailedException
- Performs the operation on the given result set.
- Specified by:
performin interfacecom.virtuosotechnologies.asaph.model.SongOperation
equals
public boolean equals(java.lang.Object obj)
- The equals method should return true if the given object is a SongOperation
with the same semantics as this one. (i.e. it would perform the same operation.)
This may be used to optimize performance. It is always safe to return false from
this method, if the semantics of the given object cannot be determined.
(This is similar to the equals method in java.util.Comparator.)
As a corollary, it is safe just to fall back on the default implementation
inherited from java.lang.Object.
- Specified by:
equalsin interfacecom.virtuosotechnologies.asaph.model.SongOperation
|
|||||||||
| Home >> All >> com >> virtuosotechnologies >> asaph >> model >> [ opsemantics overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.virtuosotechnologies.asaph.model.opsemantics.SearchFieldPredicateSemantics.DefaultImplementation