|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.model.search.SearchCriteriaTypedSet
public class SearchCriteriaTypedSet
A set of word search criteria.
Constructor Summary | |
---|---|
SearchCriteriaTypedSet(java.lang.String typeClass)
Creates a new set of word search criteria of a specific type represented by the class of that type. |
Method Summary | |
---|---|
void |
add(SearchCriterion criterion)
Adds a criterion. |
void |
appendDescription(TextLine line,
FontInfo latinFontInfo,
FontInfo[] fontInfo)
Appends a description to a text line. |
boolean |
contains(SearchCriterion criterion)
Checks for criterion. |
java.lang.Object |
get(int index)
Get item . |
java.lang.String |
getBoolRelationship()
Get the boolean relationship for this set. |
protected java.lang.String |
getCleanClassName(java.lang.Object o)
|
java.util.Collection |
getCriteria()
Get criterion set. |
java.lang.Class |
getJoinClass()
Gets the join class. |
java.lang.String |
getSearchCriterionClassname()
Get SearchCriterion Class . |
java.lang.String |
getWhereClause()
Gets the Hibernate where clause. |
void |
refreshPersistentObjects(org.hibernate.Session session)
Refresh persistent objects in search criteria. |
boolean |
remove(SearchCriterion criterion)
Removes a criterion. |
void |
setArg(org.hibernate.Query q,
org.hibernate.Session session)
Sets the Hibernate query argument. |
void |
setBoolRelationship(java.lang.String booleanRelation)
Set the boolean relationship for this set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchCriteriaTypedSet(java.lang.String typeClass)
typeClass
- The class of the SearchCriterion for this set Method Detail |
---|
public void setBoolRelationship(java.lang.String booleanRelation)
booleanRelation
- The boolean relationship for this set. public java.lang.String getBoolRelationship()
public void add(SearchCriterion criterion) throws SearchCriteriaClassMismatchException
criterion
- Search criterion.
SearchCriteriaClassMismatchException
public boolean contains(SearchCriterion criterion)
criterion
- Search criterion.
protected java.lang.String getCleanClassName(java.lang.Object o)
public boolean remove(SearchCriterion criterion)
criterion
- Search criterion. public java.util.Collection getCriteria()
public java.lang.Object get(int index)
public java.lang.String getSearchCriterionClassname()
public java.lang.Class getJoinClass()
getJoinClass
in interface SearchCriterion
public java.lang.String getWhereClause()
getWhereClause
in interface SearchCriterion
public void setArg(org.hibernate.Query q, org.hibernate.Session session)
setArg
in interface SearchCriterion
q
- Hibernate query.session
- Hibernate session. public void appendDescription(TextLine line, FontInfo latinFontInfo, FontInfo[] fontInfo)
appendDescription
in interface SearchCriterion
line
- Text line.latinFontInfo
- Latin font info.fontInfo
- Array of font info indexed by character
set. public void refreshPersistentObjects(org.hibernate.Session session)
session
- The persistence manager session.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |