|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.sadapter.GenericPA.PersistentMatchTemplate
public class PersistentMatchTemplate
the PersistentMatchTemplate is used to describe a match condition. According to PersistentMatchTemplate entries are selected from the underlying data source
Constructor Summary | |
---|---|
PersistentMatchTemplate()
|
|
PersistentMatchTemplate(String className,
Object[] fieldValues,
short[] matchCodes,
Object[] rangeValues,
boolean fifo)
|
Method Summary | |
---|---|
String |
getClazzName()
class name from which to select the entries. |
Object[] |
getFieldValues()
array of values for search condition.m_FieldValues array correspond to the fields array given when the table was created (fieldNames parameter in createClassTable), and the size of the m_FieldValues array is less or equal to the size of fieldNames. |
short[] |
getMatchCodes()
m_MatchCodes is an array of match conditions (GT,LT and etc..), values taken from com.j_spaces.core.client.TemplateMatchCodes class if m_MatchCodes is null it means equal matching for all non null values in m_FieldValues. |
boolean |
isFifo()
if m_Fifo is true result should be returned recording to "m_SCN" and m_Order fields. |
boolean |
isLeaseManagerQuery()
if template from LeaseManager should be returned true. |
void |
setClazzName(String className)
|
void |
setFieldValues(Object[] fieldValues)
|
void |
setFifo(boolean fifo)
|
void |
setMatchCodes(short[] matchCodes)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistentMatchTemplate(String className, Object[] fieldValues, short[] matchCodes, Object[] rangeValues, boolean fifo)
className
- The class/table from which to select the entriesfieldValues
- The array of values for search conditionmatchCodes
- The codes of operationfifo
- The fifo ordering indicatorpublic PersistentMatchTemplate()
Method Detail |
---|
public String getClazzName()
public void setClazzName(String className)
className
- The m_ClassName to set.public Object[] getFieldValues()
public void setFieldValues(Object[] fieldValues)
fieldValues
- The m_FieldValues to set.public boolean isFifo()
public boolean isLeaseManagerQuery()
public void setFifo(boolean fifo)
fifo
- The m_Fifo to set.public short[] getMatchCodes()
public void setMatchCodes(short[] matchCodes)
matchCodes
- The m_MatchCodes to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |