|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.TaskHeap.sandmessages.ResourceCollection
AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: org.sandev.TaskHeap.structs.ResourceStruct
generator: org.sandev.generator.MessageClassGenerator
time: Dec 2, 2005 6:38:52 PM
| Field Summary | |
protected boolean |
complete
support for SandCollectionMessage interface |
protected java.lang.String |
queryResult
support for SandCollectionMessage interface |
protected Resource[] |
resources
actual element array |
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 |
| 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 | |
ResourceCollection()
Default constructor calls init. |
|
| Method Summary | |
void |
addElement(org.sandev.basics.structs.SandInstanceMessage elem)
Specified by SandCollectionMessage interface |
void |
addResources(Resource element)
Appends a value to resources |
void |
addResources(Resource[] elements)
Appends an array of values to resources |
void |
clearResources()
Clears all values from resources |
ResourceCollection |
cloneResourceCollection()
Clone the collection returning a new copy of the message with a new array containing the same references. |
boolean |
fieldHasFlag(java.lang.String fieldname,
int fieldflag)
Return true if the named field declares the indicated flag, false otherwise. |
org.sandev.basics.structs.SandCollectionMessage |
getCollectionMessage()
Returns a new ResourceCollection instance |
boolean |
getComplete()
Accessor for complete |
static boolean |
getCompleteDefaultValue()
Default value for complete. |
java.lang.String |
getCompleteFieldPrintValue()
Return the print name of the complete field. |
static boolean |
getCompleteFlag(int fieldflag)
Field flag accessor. |
java.lang.String |
getCompleteMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getCompletePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getCompleteRange()
Return the range specification for this field |
java.lang.String |
getCompleteValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.structs.SandInstanceMessage[] |
getElements()
Specified by SandCollectionMessage interface |
org.sandev.basics.structs.SandQueryMessage |
getQueryMessage()
Returns a new ResourceQuery instance |
java.lang.String |
getQueryResult()
Accessor for queryResult |
static java.lang.String |
getQueryResultDefaultValue()
Default value for queryResult. |
java.lang.String |
getQueryResultFieldPrintValue()
Return the print name of the queryResult field. |
static boolean |
getQueryResultFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getQueryResultInvalidValue()
Invalid value for queryResult. |
static int |
getQueryResultLengthMax()
Maximum queryResult length is 70 characters |
static int |
getQueryResultLengthNorm()
Normal queryResult length is 30 characters |
java.lang.String |
getQueryResultMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getQueryResultPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getQueryResultRange()
Return the range specification for this field |
java.lang.String |
getQueryResultValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
Resource[] |
getResources()
Accessor for resources |
Resource |
getResources(int index)
Returns the element at the specified index. |
static Resource[] |
getResourcesDefaultValue()
Default value for resources. |
static Resource |
getResourcesElementInvalidValue()
Invalid value for resourceselement. |
static boolean |
getResourcesFlag(int fieldflag)
Field flag accessor. |
static Resource[] |
getResourcesInvalidValue()
Invalid value for resources. |
java.lang.String |
getResourcesMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getResourcesRange()
Return the range specification for this field |
java.lang.String |
getResourcesValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
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. |
org.sandev.basics.structs.SandStructMessage |
getStructMessage()
Returns a new Resource instance |
org.sandev.basics.structs.SandUpdateMessage |
getUpdateMessage()
Returns a new ResourceUpdate instance |
void |
init()
Initialize all fields to their default values |
void |
insertResources(int index,
Resource value)
Insert the specified element at the specified index. |
boolean |
isComplete()
Specified by SandCollectionMessage interface |
boolean |
isEquivalent(org.sandev.basics.structs.SandMessage sm)
Declared field equivalence check as specified by the SandMessage interface. |
boolean |
removeElement(org.sandev.basics.structs.SandInstanceMessage elem)
Specified by SandCollectionMessage interface |
Resource |
removeResources(int index)
Remove the element at the specified index and return it. |
boolean |
removeResourcesValue(Resource value)
Removes the given element from resources. |
boolean |
resourcesContains(Resource val)
Returns true if resources contains the specified value. |
int |
resourcesIndexOf(Resource val)
Return the index of the specified value in resources, or -1 if not found. |
void |
setComplete(boolean complete)
Mutator for complete |
void |
setQueryResult(java.lang.Object queryResult)
Generic mutator for queryResult |
void |
setQueryResult(java.lang.String queryResult)
Mutator for queryResult |
void |
setResources(int index,
Resource value)
Set the value at the index specified. |
void |
setResources(java.lang.Object[] resources)
Generic mutator for resources |
void |
setResources(Resource[] resources)
Mutator for resources |
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 |
int |
sizeofResources()
Returns the size of resources. |
| 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 boolean complete
protected Resource[] resources
protected java.lang.String queryResult
| Constructor Detail |
public ResourceCollection()
| Method Detail |
public boolean fieldHasFlag(java.lang.String fieldname,
int fieldflag)
public long getSandTransmitAuthID()
getSandTransmitAuthID in interface org.sandev.basics.structs.SandTransmitMessagepublic void setSandTransmitAuthID(long sandTransmitAuthID)
setSandTransmitAuthID in interface org.sandev.basics.structs.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 org.sandev.basics.structs.SandTransmitMessagepublic void setSandTransmitErrorMessage(java.lang.String sandTransmitErrorMessage)
setSandTransmitErrorMessage in interface org.sandev.basics.structs.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 org.sandev.basics.structs.SandTransmitMessagepublic void setSandTransmitStatus(int sandTransmitStatus)
setSandTransmitStatus in interface org.sandev.basics.structs.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 org.sandev.basics.structs.SandTransmitMessagepublic void setSandTransmissionCount(int sandTransmissionCount)
setSandTransmissionCount in interface org.sandev.basics.structs.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 boolean getComplete()
public void setComplete(boolean complete)
setComplete in interface org.sandev.basics.structs.SandCollectionMessagepublic static boolean getCompleteFlag(int fieldflag)
public static boolean getCompleteDefaultValue()
public java.lang.String getCompletePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getCompleteFieldPrintValue()
public java.lang.String getCompleteRange()
public java.lang.String getCompleteValidityCheck()
public java.lang.String getCompleteMetatype()
public Resource[] getResources()
public void setResources(Resource[] resources)
public void setResources(java.lang.Object[] resources)
public void addResources(Resource element)
public void addResources(Resource[] elements)
public Resource getResources(int index)
public void setResources(int index,
Resource value)
public void insertResources(int index,
Resource value)
public Resource removeResources(int index)
public boolean removeResourcesValue(Resource value)
public void clearResources()
public boolean resourcesContains(Resource val)
public int resourcesIndexOf(Resource val)
public int sizeofResources()
public static boolean getResourcesFlag(int fieldflag)
public static Resource[] getResourcesDefaultValue()
public static Resource getResourcesElementInvalidValue()
public static Resource[] getResourcesInvalidValue()
public java.lang.String getResourcesRange()
public java.lang.String getResourcesValidityCheck()
public java.lang.String getResourcesMetatype()
public java.lang.String getQueryResult()
getQueryResult in interface org.sandev.basics.structs.SandCollectionMessagepublic void setQueryResult(java.lang.String queryResult)
setQueryResult in interface org.sandev.basics.structs.SandCollectionMessagepublic void setQueryResult(java.lang.Object queryResult)
public static boolean getQueryResultFlag(int fieldflag)
public static int getQueryResultLengthNorm()
public static int getQueryResultLengthMax()
public static java.lang.String getQueryResultDefaultValue()
public static java.lang.String getQueryResultInvalidValue()
public java.lang.String getQueryResultPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getQueryResultFieldPrintValue()
public java.lang.String getQueryResultRange()
public java.lang.String getQueryResultValidityCheck()
public java.lang.String getQueryResultMetatype()
public void init()
public org.sandev.basics.structs.SandInstanceMessage[] getElements()
getElements in interface org.sandev.basics.structs.SandCollectionMessagepublic void addElement(org.sandev.basics.structs.SandInstanceMessage elem)
addElement in interface org.sandev.basics.structs.SandCollectionMessagepublic boolean removeElement(org.sandev.basics.structs.SandInstanceMessage elem)
removeElement in interface org.sandev.basics.structs.SandCollectionMessagepublic boolean isComplete()
isComplete in interface org.sandev.basics.structs.SandCollectionMessagepublic ResourceCollection cloneResourceCollection()
public java.lang.String getShortName()
getShortName in interface org.sandev.basics.structs.SandMessagepublic org.sandev.basics.structs.SandQueryMessage getQueryMessage()
getQueryMessage in interface org.sandev.basics.structs.SandMessagepublic org.sandev.basics.structs.SandCollectionMessage getCollectionMessage()
getCollectionMessage in interface org.sandev.basics.structs.SandMessagepublic org.sandev.basics.structs.SandUpdateMessage getUpdateMessage()
getUpdateMessage in interface org.sandev.basics.structs.SandMessagepublic org.sandev.basics.structs.SandStructMessage getStructMessage()
getStructMessage in interface org.sandev.basics.structs.SandMessagepublic boolean isEquivalent(org.sandev.basics.structs.SandMessage sm)
isEquivalent in interface org.sandev.basics.structs.SandMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||