|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.basics.sandmessages.BaseUserQuery
AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: org.sandev.basics.structs.BaseUserStruct
generator: org.sandev.generator.MessageClassGenerator
time: Dec 2, 2005 6:38:50 PM
| Field Summary | |
protected int |
function
support for SandQueryMessage interface |
static int |
FUNCTION_AVG
Possible value for function |
static int |
FUNCTION_COUNT
Possible value for function |
static int |
FUNCTION_DATA
Possible value for function |
static int |
FUNCTION_MAX
Possible value for function |
static int |
FUNCTION_MIN
Possible value for function |
static int |
FUNCTION_SUM
Possible value for function |
protected SandAttrVal[] |
matchInfo
support for SandQueryMessage interface |
protected int |
maxReturn
support for SandQueryMessage interface |
protected java.lang.String |
operationFields
support for SandQueryMessage interface |
protected java.lang.String |
orderBy
support for SandQueryMessage interface |
protected int |
sandTransmissionCount
support for SandTransmitMessage interface |
protected long |
sandTransmitAuthID
support for SandTransmitMessage interface |
protected java.lang.String |
sandTransmitErrorMessage
support for SandTransmitMessage interface |
protected int |
sandTransmitStatus
support for SandTransmitMessage interface |
protected long |
uniqueIDAfter
support for SandQueryMessage interface |
| Fields inherited from interface org.sandev.basics.structs.SandQueryMessage |
APPERROR_FUNCTION_NOT_SUPPORTED, APPERROR_NO_OPERANDS_SPECIFIED |
| Fields inherited from interface org.sandev.basics.structs.SandTransmitMessage |
APPERROR_NODE_UNAVAILABLE, APPERROR_NODE_UNKNOWN, APPERROR_NODE_UNREACHABLE, STATUS_APPERROR, STATUS_NORMAL, STATUS_SANDERROR, STATUS_SYSERROR |
| Constructor Summary | |
BaseUserQuery()
Default constructor calls init. |
|
| Method Summary | |
void |
addMatchInfo(SandAttrVal element)
Appends a value to matchInfo |
void |
addMatchInfo(SandAttrVal[] elements)
Appends an array of values to matchInfo |
void |
clearMatchInfo()
Clears all values from matchInfo |
SandQueryMessage |
cloneQuery()
Return a deep copy of this query message. |
boolean |
fieldHasFlag(java.lang.String fieldname,
int fieldflag)
Return true if the named field declares the indicated flag, false otherwise. |
static java.lang.String |
functionActual2Print(java.lang.String actualVal)
Utility method to transform an actual value for this field into a print value. |
int |
functionLabelToValue(java.lang.String label)
Given a label, return the value for it. |
static java.lang.String |
functionPrint2Actual(java.lang.String printVal)
Utility method to transform a print value for this field into an actual value. |
static java.lang.String |
functionPrint2Key(java.lang.String printVal)
Utility method to transform a print value for this field into a key value. |
java.lang.String |
functionValueToLabel(int val)
Given a value, return the declared label for it. |
SandCollectionMessage |
getCollectionMessage()
Returns a new BaseUserCollection instance |
int |
getFunction()
Accessor for function |
static java.lang.String[] |
getFunctionActualVals()
Return an array of the possible values for this field as Strings. |
static int |
getFunctionDefaultValue()
Default value for function. |
static java.lang.String |
getFunctionEnumSummary()
Return a single String summary of the possible enum values for debug and similar purposes. |
java.lang.String |
getFunctionFieldPrintValue()
Return the print name of the function field. |
static boolean |
getFunctionFlag(int fieldflag)
Field flag accessor. |
static int |
getFunctionInvalidValue()
Invalid value for function. |
static java.lang.String[] |
getFunctionKeyVals()
Return an array of unique keys for the values of this field. |
java.lang.String |
getFunctionMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
static java.lang.String[] |
getFunctionPrintVals()
Return an array of the possible values for this field in display format. |
java.lang.String |
getFunctionPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getFunctionRange()
Return the range specification for this field |
java.lang.String |
getFunctionValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
SandAttrVal[] |
getMatchInfo()
Accessor for matchInfo |
SandAttrVal |
getMatchInfo(int index)
Returns the element at the specified index. |
static SandAttrVal[] |
getMatchInfoDefaultValue()
Default value for matchInfo. |
static SandAttrVal |
getMatchInfoElementInvalidValue()
Invalid value for matchInfoelement. |
static boolean |
getMatchInfoFlag(int fieldflag)
Field flag accessor. |
static SandAttrVal[] |
getMatchInfoInvalidValue()
Invalid value for matchInfo. |
java.lang.String |
getMatchInfoMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getMatchInfoRange()
Return the range specification for this field |
java.lang.String |
getMatchInfoValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
int |
getMaxReturn()
Accessor for maxReturn |
static int |
getMaxReturnDefaultValue()
Default value for maxReturn. |
java.lang.String |
getMaxReturnFieldPrintValue()
Return the print name of the maxReturn field. |
static boolean |
getMaxReturnFlag(int fieldflag)
Field flag accessor. |
static int |
getMaxReturnInvalidValue()
Invalid value for maxReturn. |
java.lang.String |
getMaxReturnMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getMaxReturnPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getMaxReturnRange()
Return the range specification for this field |
java.lang.String |
getMaxReturnValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getOperationFields()
Accessor for operationFields |
static java.lang.String |
getOperationFieldsDefaultValue()
Default value for operationFields. |
java.lang.String |
getOperationFieldsFieldPrintValue()
Return the print name of the operationFields field. |
static boolean |
getOperationFieldsFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getOperationFieldsInvalidValue()
Invalid value for operationFields. |
static int |
getOperationFieldsLengthMax()
Maximum operationFields length is 70 characters |
static int |
getOperationFieldsLengthNorm()
Normal operationFields length is 30 characters |
java.lang.String |
getOperationFieldsMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getOperationFieldsPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getOperationFieldsRange()
Return the range specification for this field |
java.lang.String |
getOperationFieldsValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getOrderBy()
Accessor for orderBy |
static java.lang.String |
getOrderByDefaultValue()
Default value for orderBy. |
java.lang.String |
getOrderByFieldPrintValue()
Return the print name of the orderBy field. |
static boolean |
getOrderByFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getOrderByInvalidValue()
Invalid value for orderBy. |
static int |
getOrderByLengthMax()
Maximum orderBy length is 70 characters |
static int |
getOrderByLengthNorm()
Normal orderBy length is 30 characters |
java.lang.String |
getOrderByMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getOrderByPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getOrderByRange()
Return the range specification for this field |
java.lang.String |
getOrderByValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
SandQueryMessage |
getQueryMessage()
Returns a new BaseUserQuery instance |
int |
getSandTransmissionCount()
Accessor for sandTransmissionCount |
static int |
getSandTransmissionCountDefaultValue()
Default value for sandTransmissionCount. |
java.lang.String |
getSandTransmissionCountFieldPrintValue()
Return the print name of the sandTransmissionCount field. |
static boolean |
getSandTransmissionCountFlag(int fieldflag)
Field flag accessor. |
static int |
getSandTransmissionCountInvalidValue()
Invalid value for sandTransmissionCount. |
java.lang.String |
getSandTransmissionCountMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getSandTransmissionCountPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getSandTransmissionCountRange()
Return the range specification for this field |
java.lang.String |
getSandTransmissionCountValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
long |
getSandTransmitAuthID()
Accessor for sandTransmitAuthID |
static long |
getSandTransmitAuthIDDefaultValue()
Default value for sandTransmitAuthID. |
java.lang.String |
getSandTransmitAuthIDFieldPrintValue()
Return the print name of the sandTransmitAuthID field. |
static boolean |
getSandTransmitAuthIDFlag(int fieldflag)
Field flag accessor. |
static long |
getSandTransmitAuthIDInvalidValue()
Invalid value for sandTransmitAuthID. |
java.lang.String |
getSandTransmitAuthIDMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getSandTransmitAuthIDPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getSandTransmitAuthIDRange()
Return the range specification for this field |
java.lang.String |
getSandTransmitAuthIDValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getSandTransmitErrorMessage()
Accessor for sandTransmitErrorMessage |
static java.lang.String |
getSandTransmitErrorMessageDefaultValue()
Default value for sandTransmitErrorMessage. |
java.lang.String |
getSandTransmitErrorMessageFieldPrintValue()
Return the print name of the sandTransmitErrorMessage field. |
static boolean |
getSandTransmitErrorMessageFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getSandTransmitErrorMessageInvalidValue()
Invalid value for sandTransmitErrorMessage. |
static int |
getSandTransmitErrorMessageLengthMax()
Maximum sandTransmitErrorMessage length is 70 characters |
static int |
getSandTransmitErrorMessageLengthNorm()
Normal sandTransmitErrorMessage length is 30 characters |
java.lang.String |
getSandTransmitErrorMessageMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getSandTransmitErrorMessagePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getSandTransmitErrorMessageRange()
Return the range specification for this field |
java.lang.String |
getSandTransmitErrorMessageValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
int |
getSandTransmitStatus()
Accessor for sandTransmitStatus |
static int |
getSandTransmitStatusDefaultValue()
Default value for sandTransmitStatus. |
java.lang.String |
getSandTransmitStatusFieldPrintValue()
Return the print name of the sandTransmitStatus field. |
static boolean |
getSandTransmitStatusFlag(int fieldflag)
Field flag accessor. |
static int |
getSandTransmitStatusInvalidValue()
Invalid value for sandTransmitStatus. |
java.lang.String |
getSandTransmitStatusMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getSandTransmitStatusPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getSandTransmitStatusRange()
Return the range specification for this field |
java.lang.String |
getSandTransmitStatusValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getShortName()
Returns the unqualified name of this message. |
SandStructMessage |
getStructMessage()
Returns a new BaseUser instance |
long |
getUniqueIDAfter()
Accessor for uniqueIDAfter |
static long |
getUniqueIDAfterDefaultValue()
Default value for uniqueIDAfter. |
java.lang.String |
getUniqueIDAfterFieldPrintValue()
Return the print name of the uniqueIDAfter field. |
static boolean |
getUniqueIDAfterFlag(int fieldflag)
Field flag accessor. |
static long |
getUniqueIDAfterInvalidValue()
Invalid value for uniqueIDAfter. |
java.lang.String |
getUniqueIDAfterMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getUniqueIDAfterPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getUniqueIDAfterRange()
Return the range specification for this field |
java.lang.String |
getUniqueIDAfterValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
SandUpdateMessage |
getUpdateMessage()
Returns a new BaseUserUpdate instance |
void |
init()
Initialize all fields to their default values |
void |
insertMatchInfo(int index,
SandAttrVal value)
Insert the specified element at the specified index. |
boolean |
isEquivalent(SandMessage sm)
Declared field equivalence check as specified by the SandMessage interface. |
boolean |
matches(SandStructMessage msg)
As specified by the SandQueryMessage interface. |
boolean |
matchInfoContains(SandAttrVal val)
Returns true if matchInfo contains the specified value. |
int |
matchInfoIndexOf(SandAttrVal val)
Return the index of the specified value in matchInfo, or -1 if not found. |
void |
normalize()
Fix any spacing, quoting and other issues in our match expression fields resulting from lazy input or whatever. |
SandAttrVal |
removeMatchInfo(int index)
Remove the element at the specified index and return it. |
boolean |
removeMatchInfoValue(SandAttrVal value)
Removes the given element from matchInfo. |
void |
setFunction(int function)
Mutator for function |
void |
setMatchInfo(int index,
SandAttrVal value)
Set the value at the index specified. |
void |
setMatchInfo(java.lang.Object[] matchInfo)
Generic mutator for matchInfo |
void |
setMatchInfo(SandAttrVal[] matchInfo)
Mutator for matchInfo |
void |
setMaxReturn(int maxReturn)
Mutator for maxReturn |
void |
setOperationFields(java.lang.Object operationFields)
Generic mutator for operationFields |
void |
setOperationFields(java.lang.String operationFields)
Mutator for operationFields |
void |
setOrderBy(java.lang.Object orderBy)
Generic mutator for orderBy |
void |
setOrderBy(java.lang.String orderBy)
Mutator for orderBy |
void |
setSandTransmissionCount(int sandTransmissionCount)
Mutator for sandTransmissionCount |
void |
setSandTransmitAuthID(long sandTransmitAuthID)
Mutator for sandTransmitAuthID |
void |
setSandTransmitErrorMessage(java.lang.Object sandTransmitErrorMessage)
Generic mutator for sandTransmitErrorMessage |
void |
setSandTransmitErrorMessage(java.lang.String sandTransmitErrorMessage)
Mutator for sandTransmitErrorMessage |
void |
setSandTransmitStatus(int sandTransmitStatus)
Mutator for sandTransmitStatus |
void |
setUniqueIDAfter(long uniqueIDAfter)
Mutator for uniqueIDAfter |
int |
sizeofMatchInfo()
Returns the size of matchInfo. |
java.lang.String |
undecimalize(java.lang.String attr,
java.lang.String val)
Given an attribute name and a match value, return the undecimalized form of the match value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected long sandTransmitAuthID
protected java.lang.String sandTransmitErrorMessage
protected int sandTransmitStatus
protected int sandTransmissionCount
protected SandAttrVal[] matchInfo
protected int maxReturn
protected java.lang.String orderBy
protected long uniqueIDAfter
protected int function
public static final int FUNCTION_DATA
public static final int FUNCTION_COUNT
public static final int FUNCTION_AVG
public static final int FUNCTION_MAX
public static final int FUNCTION_MIN
public static final int FUNCTION_SUM
protected java.lang.String operationFields
| Constructor Detail |
public BaseUserQuery()
| Method Detail |
public boolean fieldHasFlag(java.lang.String fieldname,
int fieldflag)
public long getSandTransmitAuthID()
getSandTransmitAuthID in interface SandTransmitMessagepublic void setSandTransmitAuthID(long sandTransmitAuthID)
setSandTransmitAuthID in interface SandTransmitMessagepublic static boolean getSandTransmitAuthIDFlag(int fieldflag)
public static long getSandTransmitAuthIDDefaultValue()
public static long getSandTransmitAuthIDInvalidValue()
public java.lang.String getSandTransmitAuthIDPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getSandTransmitAuthIDFieldPrintValue()
public java.lang.String getSandTransmitAuthIDRange()
public java.lang.String getSandTransmitAuthIDValidityCheck()
public java.lang.String getSandTransmitAuthIDMetatype()
public java.lang.String getSandTransmitErrorMessage()
getSandTransmitErrorMessage in interface SandTransmitMessagepublic void setSandTransmitErrorMessage(java.lang.String sandTransmitErrorMessage)
setSandTransmitErrorMessage in interface SandTransmitMessagepublic void setSandTransmitErrorMessage(java.lang.Object sandTransmitErrorMessage)
public static boolean getSandTransmitErrorMessageFlag(int fieldflag)
public static int getSandTransmitErrorMessageLengthNorm()
public static int getSandTransmitErrorMessageLengthMax()
public static java.lang.String getSandTransmitErrorMessageDefaultValue()
public static java.lang.String getSandTransmitErrorMessageInvalidValue()
public java.lang.String getSandTransmitErrorMessagePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getSandTransmitErrorMessageFieldPrintValue()
public java.lang.String getSandTransmitErrorMessageRange()
public java.lang.String getSandTransmitErrorMessageValidityCheck()
public java.lang.String getSandTransmitErrorMessageMetatype()
public int getSandTransmitStatus()
getSandTransmitStatus in interface SandTransmitMessagepublic void setSandTransmitStatus(int sandTransmitStatus)
setSandTransmitStatus in interface SandTransmitMessagepublic static boolean getSandTransmitStatusFlag(int fieldflag)
public static int getSandTransmitStatusDefaultValue()
public static int getSandTransmitStatusInvalidValue()
public java.lang.String getSandTransmitStatusPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getSandTransmitStatusFieldPrintValue()
public java.lang.String getSandTransmitStatusRange()
public java.lang.String getSandTransmitStatusValidityCheck()
public java.lang.String getSandTransmitStatusMetatype()
public int getSandTransmissionCount()
getSandTransmissionCount in interface SandTransmitMessagepublic void setSandTransmissionCount(int sandTransmissionCount)
setSandTransmissionCount in interface SandTransmitMessagepublic static boolean getSandTransmissionCountFlag(int fieldflag)
public static int getSandTransmissionCountDefaultValue()
public static int getSandTransmissionCountInvalidValue()
public java.lang.String getSandTransmissionCountPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getSandTransmissionCountFieldPrintValue()
public java.lang.String getSandTransmissionCountRange()
public java.lang.String getSandTransmissionCountValidityCheck()
public java.lang.String getSandTransmissionCountMetatype()
public SandAttrVal[] getMatchInfo()
getMatchInfo in interface SandQueryMessagepublic void setMatchInfo(SandAttrVal[] matchInfo)
setMatchInfo in interface SandQueryMessagepublic void setMatchInfo(java.lang.Object[] matchInfo)
public void addMatchInfo(SandAttrVal element)
addMatchInfo in interface SandQueryMessagepublic void addMatchInfo(SandAttrVal[] elements)
public SandAttrVal getMatchInfo(int index)
public void setMatchInfo(int index,
SandAttrVal value)
public void insertMatchInfo(int index,
SandAttrVal value)
public SandAttrVal removeMatchInfo(int index)
public boolean removeMatchInfoValue(SandAttrVal value)
public void clearMatchInfo()
public boolean matchInfoContains(SandAttrVal val)
public int matchInfoIndexOf(SandAttrVal val)
public int sizeofMatchInfo()
public static boolean getMatchInfoFlag(int fieldflag)
public static SandAttrVal[] getMatchInfoDefaultValue()
public static SandAttrVal getMatchInfoElementInvalidValue()
public static SandAttrVal[] getMatchInfoInvalidValue()
public java.lang.String getMatchInfoRange()
public java.lang.String getMatchInfoValidityCheck()
public java.lang.String getMatchInfoMetatype()
public int getMaxReturn()
getMaxReturn in interface SandQueryMessagepublic void setMaxReturn(int maxReturn)
setMaxReturn in interface SandQueryMessagepublic static boolean getMaxReturnFlag(int fieldflag)
public static int getMaxReturnDefaultValue()
public static int getMaxReturnInvalidValue()
public java.lang.String getMaxReturnPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getMaxReturnFieldPrintValue()
public java.lang.String getMaxReturnRange()
public java.lang.String getMaxReturnValidityCheck()
public java.lang.String getMaxReturnMetatype()
public java.lang.String getOrderBy()
getOrderBy in interface SandQueryMessagepublic void setOrderBy(java.lang.String orderBy)
setOrderBy in interface SandQueryMessagepublic void setOrderBy(java.lang.Object orderBy)
public static boolean getOrderByFlag(int fieldflag)
public static int getOrderByLengthNorm()
public static int getOrderByLengthMax()
public static java.lang.String getOrderByDefaultValue()
public static java.lang.String getOrderByInvalidValue()
public java.lang.String getOrderByPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getOrderByFieldPrintValue()
public java.lang.String getOrderByRange()
public java.lang.String getOrderByValidityCheck()
public java.lang.String getOrderByMetatype()
public long getUniqueIDAfter()
getUniqueIDAfter in interface SandQueryMessagepublic void setUniqueIDAfter(long uniqueIDAfter)
setUniqueIDAfter in interface SandQueryMessagepublic static boolean getUniqueIDAfterFlag(int fieldflag)
public static long getUniqueIDAfterDefaultValue()
public static long getUniqueIDAfterInvalidValue()
public java.lang.String getUniqueIDAfterPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getUniqueIDAfterFieldPrintValue()
public java.lang.String getUniqueIDAfterRange()
public java.lang.String getUniqueIDAfterValidityCheck()
public java.lang.String getUniqueIDAfterMetatype()
public int getFunction()
getFunction in interface SandQueryMessagepublic void setFunction(int function)
setFunction in interface SandQueryMessagepublic java.lang.String functionValueToLabel(int val)
public int functionLabelToValue(java.lang.String label)
public static java.l