org.sandev.TaskHeap.sandmessages
Class TaskTypeCollection

java.lang.Object
  extended byorg.sandev.TaskHeap.sandmessages.TaskTypeCollection
All Implemented Interfaces:
org.sandev.basics.structs.SandCollectionMessage, org.sandev.basics.structs.SandMessage, org.sandev.basics.structs.SandTransmitMessage, org.sandev.basics.structs.SandVerbMessage

public class TaskTypeCollection
extends java.lang.Object
implements org.sandev.basics.structs.SandCollectionMessage

AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: org.sandev.TaskHeap.structs.TaskTypeStruct
generator: org.sandev.generator.MessageClassGenerator
time: Dec 2, 2005 6:38:53 PM


Field Summary
protected  boolean complete
          support for SandCollectionMessage interface
protected  java.lang.String queryResult
          support for SandCollectionMessage 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  TaskType[] taskTypes
          actual element array
 
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
TaskTypeCollection()
          Default constructor calls init.
 
Method Summary
 void addElement(org.sandev.basics.structs.SandInstanceMessage elem)
          Specified by SandCollectionMessage interface
 void addTaskTypes(TaskType element)
          Appends a value to taskTypes
 void addTaskTypes(TaskType[] elements)
          Appends an array of values to taskTypes
 void clearTaskTypes()
          Clears all values from taskTypes
 TaskTypeCollection cloneTaskTypeCollection()
          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 TaskTypeCollection 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 TaskTypeQuery 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.
 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 TaskType instance
 TaskType[] getTaskTypes()
          Accessor for taskTypes
 TaskType getTaskTypes(int index)
          Returns the element at the specified index.
static TaskType[] getTaskTypesDefaultValue()
          Default value for taskTypes.
static TaskType getTaskTypesElementInvalidValue()
          Invalid value for taskTypeselement.
static boolean getTaskTypesFlag(int fieldflag)
          Field flag accessor.
static TaskType[] getTaskTypesInvalidValue()
          Invalid value for taskTypes.
 java.lang.String getTaskTypesMetatype()
          Return the metatype text for this field, or "" if no metatype was declared.
 java.lang.String getTaskTypesRange()
          Return the range specification for this field
 java.lang.String getTaskTypesValidityCheck()
          Return the empty string if the value of this field is valid according to the base SAND declarations.
 org.sandev.basics.structs.SandUpdateMessage getUpdateMessage()
          Returns a new TaskTypeUpdate instance
 void init()
          Initialize all fields to their default values
 void insertTaskTypes(int index, TaskType 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
 TaskType removeTaskTypes(int index)
          Remove the element at the specified index and return it.
 boolean removeTaskTypesValue(TaskType value)
          Removes the given element from taskTypes.
 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 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 setTaskTypes(int index, TaskType value)
          Set the value at the index specified.
 void setTaskTypes(java.lang.Object[] taskTypes)
          Generic mutator for taskTypes
 void setTaskTypes(TaskType[] taskTypes)
          Mutator for taskTypes
 int sizeofTaskTypes()
          Returns the size of taskTypes.
 boolean taskTypesContains(TaskType val)
          Returns true if taskTypes contains the specified value.
 int taskTypesIndexOf(TaskType val)
          Return the index of the specified value in taskTypes, or -1 if not found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sandTransmitAuthID

protected long sandTransmitAuthID
support for SandTransmitMessage interface


sandTransmitErrorMessage

protected java.lang.String sandTransmitErrorMessage
support for SandTransmitMessage interface


sandTransmitStatus

protected int sandTransmitStatus
support for SandTransmitMessage interface


sandTransmissionCount

protected int sandTransmissionCount
support for SandTransmitMessage interface


complete

protected boolean complete
support for SandCollectionMessage interface


taskTypes

protected TaskType[] taskTypes
actual element array


queryResult

protected java.lang.String queryResult
support for SandCollectionMessage interface

Constructor Detail

TaskTypeCollection

public TaskTypeCollection()
Default constructor calls init.

Method Detail

fieldHasFlag

public boolean fieldHasFlag(java.lang.String fieldname,
                            int fieldflag)
Return true if the named field declares the indicated flag, false otherwise. See the FIELDFLAG* constants in SandInstanceMessage for supported fieldflag values.


getSandTransmitAuthID

public long getSandTransmitAuthID()
Accessor for sandTransmitAuthID

Specified by:
getSandTransmitAuthID in interface org.sandev.basics.structs.SandTransmitMessage

setSandTransmitAuthID

public void setSandTransmitAuthID(long sandTransmitAuthID)
Mutator for sandTransmitAuthID

Specified by:
setSandTransmitAuthID in interface org.sandev.basics.structs.SandTransmitMessage

getSandTransmitAuthIDFlag

public static boolean getSandTransmitAuthIDFlag(int fieldflag)
Field flag accessor. Returns whether the given FIELDFLAG_* (defined in SandInstanceMessage) is true or false.


getSandTransmitAuthIDDefaultValue

public static long getSandTransmitAuthIDDefaultValue()
Default value for sandTransmitAuthID. Returns 0


getSandTransmitAuthIDInvalidValue

public static long getSandTransmitAuthIDInvalidValue()
Invalid value for sandTransmitAuthID. Returns Long.MIN_VALUE


getSandTransmitAuthIDPrintValue

public java.lang.String getSandTransmitAuthIDPrintValue()
Retrieve the current value of this field as a print String. For a String field, this returns the current value. For int, long, double this returns the standard string conversion. For a Date, this returns the default DateFormat format. For an enum, this returns the Actual2Print translation of the current value. For a struct this returns a summary description.

Used for debug output, and as an initial value for transformation and formatting.


getSandTransmitAuthIDFieldPrintValue

public java.lang.String getSandTransmitAuthIDFieldPrintValue()
Return the print name of the sandTransmitAuthID field. If no printname is declared then this returns the field name.


getSandTransmitAuthIDRange

public java.lang.String getSandTransmitAuthIDRange()
Return the range specification for this field


getSandTransmitAuthIDValidityCheck

public java.lang.String getSandTransmitAuthIDValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. This method supports the fieldValidate method, which is in turn specified by the org.sandev.basics.structs.SandInstanceMessage interface. See the comments there for more information, including a list of error Strings returned from here when a field is not valid.


getSandTransmitAuthIDMetatype

public java.lang.String getSandTransmitAuthIDMetatype()
Return the metatype text for this field, or "" if no metatype was declared.


getSandTransmitErrorMessage

public java.lang.String getSandTransmitErrorMessage()
Accessor for sandTransmitErrorMessage

Specified by:
getSandTransmitErrorMessage in interface org.sandev.basics.structs.SandTransmitMessage

setSandTransmitErrorMessage

public void setSandTransmitErrorMessage(java.lang.String sandTransmitErrorMessage)
Mutator for sandTransmitErrorMessage

Specified by:
setSandTransmitErrorMessage in interface org.sandev.basics.structs.SandTransmitMessage

setSandTransmitErrorMessage

public void setSandTransmitErrorMessage(java.lang.Object sandTransmitErrorMessage)
Generic mutator for sandTransmitErrorMessage


getSandTransmitErrorMessageFlag

public static boolean getSandTransmitErrorMessageFlag(int fieldflag)
Field flag accessor. Returns whether the given FIELDFLAG_* (defined in SandInstanceMessage) is true or false.


getSandTransmitErrorMessageLengthNorm

public static int getSandTransmitErrorMessageLengthNorm()
Normal sandTransmitErrorMessage length is 30 characters


getSandTransmitErrorMessageLengthMax

public static int getSandTransmitErrorMessageLengthMax()
Maximum sandTransmitErrorMessage length is 70 characters


getSandTransmitErrorMessageDefaultValue

public static java.lang.String getSandTransmitErrorMessageDefaultValue()
Default value for sandTransmitErrorMessage. Returns ""


getSandTransmitErrorMessageInvalidValue

public static java.lang.String getSandTransmitErrorMessageInvalidValue()
Invalid value for sandTransmitErrorMessage. Returns null


getSandTransmitErrorMessagePrintValue

public java.lang.String getSandTransmitErrorMessagePrintValue()
Retrieve the current value of this field as a print String. For a String field, this returns the current value. For int, long, double this returns the standard string conversion. For a Date, this returns the default DateFormat format. For an enum, this returns the Actual2Print translation of the current value. For a struct this returns a summary description.

Used for debug output, and as an initial value for transformation and formatting.


getSandTransmitErrorMessageFieldPrintValue

public java.lang.String getSandTransmitErrorMessageFieldPrintValue()
Return the print name of the sandTransmitErrorMessage field. If no printname is declared then this returns the field name.


getSandTransmitErrorMessageRange

public java.lang.String getSandTransmitErrorMessageRange()
Return the range specification for this field


getSandTransmitErrorMessageValidityCheck

public java.lang.String getSandTransmitErrorMessageValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. This method supports the fieldValidate method, which is in turn specified by the org.sandev.basics.structs.SandInstanceMessage interface. See the comments there for more information, including a list of error Strings returned from here when a field is not valid.


getSandTransmitErrorMessageMetatype

public java.lang.String getSandTransmitErrorMessageMetatype()
Return the metatype text for this field, or "" if no metatype was declared.


getSandTransmitStatus

public int getSandTransmitStatus()
Accessor for sandTransmitStatus

Specified by:
getSandTransmitStatus in interface org.sandev.basics.structs.SandTransmitMessage

setSandTransmitStatus

public void setSandTransmitStatus(int sandTransmitStatus)
Mutator for sandTransmitStatus

Specified by:
setSandTransmitStatus in interface org.sandev.basics.structs.SandTransmitMessage

getSandTransmitStatusFlag

public static boolean getSandTransmitStatusFlag(int fieldflag)
Field flag accessor. Returns whether the given FIELDFLAG_* (defined in SandInstanceMessage) is true or false.


getSandTransmitStatusDefaultValue

public static int getSandTransmitStatusDefaultValue()
Default value for sandTransmitStatus. Returns 0


getSandTransmitStatusInvalidValue

public static int getSandTransmitStatusInvalidValue()
Invalid value for sandTransmitStatus. Returns Integer.MIN_VALUE


getSandTransmitStatusPrintValue

public java.lang.String getSandTransmitStatusPrintValue()
Retrieve the current value of this field as a print String. For a String field, this returns the current value. For int, long, double this returns the standard string conversion. For a Date, this returns the default DateFormat format. For an enum, this returns the Actual2Print translation of the current value. For a struct this returns a summary description.

Used for debug output, and as an initial value for transformation and formatting.


getSandTransmitStatusFieldPrintValue

public java.lang.String getSandTransmitStatusFieldPrintValue()
Return the print name of the sandTransmitStatus field. If no printname is declared then this returns the field name.


getSandTransmitStatusRange

public java.lang.String getSandTransmitStatusRange()
Return the range specification for this field


getSandTransmitStatusValidityCheck

public java.lang.String getSandTransmitStatusValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. This method supports the fieldValidate method, which is in turn specified by the org.sandev.basics.structs.SandInstanceMessage interface. See the comments there for more information, including a list of error Strings returned from here when a field is not valid.


getSandTransmitStatusMetatype

public java.lang.String getSandTransmitStatusMetatype()
Return the metatype text for this field, or "" if no metatype was declared.


getSandTransmissionCount

public int getSandTransmissionCount()
Accessor for sandTransmissionCount

Specified by:
getSandTransmissionCount in interface org.sandev.basics.structs.SandTransmitMessage

setSandTransmissionCount

public void setSandTransmissionCount(int sandTransmissionCount)
Mutator for sandTransmissionCount

Specified by:
setSandTransmissionCount in interface org.sandev.basics.structs.SandTransmitMessage

getSandTransmissionCountFlag

public static boolean getSandTransmissionCountFlag(int fieldflag)
Field flag accessor. Returns whether the given FIELDFLAG_* (defined in SandInstanceMessage) is true or false.


getSandTransmissionCountDefaultValue

public static int getSandTransmissionCountDefaultValue()
Default value for sandTransmissionCount. Returns 0


getSandTransmissionCountInvalidValue

public static int getSandTransmissionCountInvalidValue()
Invalid value for sandTransmissionCount. Returns Integer.MIN_VALUE


getSandTransmissionCountPrintValue

public java.lang.String getSandTransmissionCountPrintValue()
Retrieve the current value of this field as a print String. For a String field, this returns the current value. For int, long, double this returns the standard string conversion. For a Date, this returns the default DateFormat format. For an enum, this returns the Actual2Print translation of the current value. For a struct this returns a summary description.

Used for debug output, and as an initial value for transformation and formatting.


getSandTransmissionCountFieldPrintValue

public java.lang.String getSandTransmissionCountFieldPrintValue()
Return the print name of the sandTransmissionCount field. If no printname is declared then this returns the field name.


getSandTransmissionCountRange

public java.lang.String getSandTransmissionCountRange()
Return the range specification for this field


getSandTransmissionCountValidityCheck

public java.lang.String getSandTransmissionCountValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. This method supports the fieldValidate method, which is in turn specified by the org.sandev.basics.structs.SandInstanceMessage interface. See the comments there for more information, including a list of error Strings returned from here when a field is not valid.


getSandTransmissionCountMetatype

public java.lang.String getSandTransmissionCountMetatype()
Return the metatype text for this field, or "" if no metatype was declared.


getComplete

public boolean getComplete()
Accessor for complete


setComplete

public void setComplete(boolean complete)
Mutator for complete

Specified by:
setComplete in interface org.sandev.basics.structs.SandCollectionMessage

getCompleteFlag

public static boolean getCompleteFlag(int fieldflag)
Field flag accessor. Returns whether the given FIELDFLAG_* (defined in SandInstanceMessage) is true or false.


getCompleteDefaultValue

public static boolean getCompleteDefaultValue()
Default value for complete. Returns false


getCompletePrintValue

public java.lang.String getCompletePrintValue()
Retrieve the current value of this field as a print String. For a String field, this returns the current value. For int, long, double this returns the standard string conversion. For a Date, this returns the default DateFormat format. For an enum, this returns the Actual2Print translation of the current value. For a struct this returns a summary description.

Used for debug output, and as an initial value for transformation and formatting.


getCompleteFieldPrintValue

public java.lang.String getCompleteFieldPrintValue()
Return the print name of the complete field. If no printname is declared then this returns the field name.


getCompleteRange

public java.lang.String getCompleteRange()
Return the range specification for this field


getCompleteValidityCheck

public java.lang.String getCompleteValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. This method supports the fieldValidate method, which is in turn specified by the org.sandev.basics.structs.SandInstanceMessage interface. See the comments there for more information, including a list of error Strings returned from here when a field is not valid.


getCompleteMetatype

public java.lang.String getCompleteMetatype()
Return the metatype text for this field, or "" if no metatype was declared.


getTaskTypes

public TaskType[] getTaskTypes()
Accessor for taskTypes


setTaskTypes

public void setTaskTypes(TaskType[] taskTypes)
Mutator for taskTypes


setTaskTypes

public void setTaskTypes(java.lang.Object[] taskTypes)
Generic mutator for taskTypes


addTaskTypes

public void addTaskTypes(TaskType element)
Appends a value to taskTypes


addTaskTypes

public void addTaskTypes(TaskType[] elements)
Appends an array of values to taskTypes


getTaskTypes

public TaskType getTaskTypes(int index)
Returns the element at the specified index. Returns null/-1 if the index was out of bounds.


setTaskTypes

public void setTaskTypes(int index,
                         TaskType value)
Set the value at the index specified.


insertTaskTypes

public void insertTaskTypes(int index,
                            TaskType value)
Insert the specified element at the specified index. If the index specified is greater than the index of the last element, then the value is appended to the existing array.


removeTaskTypes

public TaskType removeTaskTypes(int index)
Remove the element at the specified index and return it.


removeTaskTypesValue

public boolean removeTaskTypesValue(TaskType value)
Removes the given element from taskTypes. Returns true if the element was found.


clearTaskTypes

public void clearTaskTypes()
Clears all values from taskTypes


taskTypesContains

public boolean taskTypesContains(TaskType val)
Returns true if taskTypes contains the specified value.


taskTypesIndexOf

public int taskTypesIndexOf(TaskType val)
Return the index of the specified value in taskTypes, or -1 if not found.


sizeofTaskTypes

public int sizeofTaskTypes()
Returns the size of taskTypes. Returns -1 if taskTypes is null.


getTaskTypesFlag

public static boolean getTaskTypesFlag(int fieldflag)
Field flag accessor. Returns whether the given FIELDFLAG_* (defined in SandInstanceMessage) is true or false.


getTaskTypesDefaultValue

public static TaskType[] getTaskTypesDefaultValue()
Default value for taskTypes. Returns new TaskType[0]


getTaskTypesElementInvalidValue

public static TaskType getTaskTypesElementInvalidValue()
Invalid value for taskTypeselement. Returns null


getTaskTypesInvalidValue

public static TaskType[] getTaskTypesInvalidValue()
Invalid value for taskTypes. Returns null


getTaskTypesRange

public java.lang.String getTaskTypesRange()
Return the range specification for this field


getTaskTypesValidityCheck

public java.lang.String getTaskTypesValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. This method supports the fieldValidate method, which is in turn specified by the org.sandev.basics.structs.SandInstanceMessage interface. See the comments there for more information, including a list of error Strings returned from here when a field is not valid.


getTaskTypesMetatype

public java.lang.String getTaskTypesMetatype()
Return the metatype text for this field, or "" if no metatype was declared.


getQueryResult

public java.lang.String getQueryResult()
Accessor for queryResult

Specified by:
getQueryResult in interface org.sandev.basics.structs.SandCollectionMessage

setQueryResult

public void setQueryResult(java.lang.String queryResult)
Mutator for queryResult

Specified by:
setQueryResult in interface org.sandev.basics.structs.SandCollectionMessage

setQueryResult

public void setQueryResult(java.lang.Object queryResult)
Generic mutator for queryResult


getQueryResultFlag

public static boolean getQueryResultFlag(int fieldflag)
Field flag accessor. Returns whether the given FIELDFLAG_* (defined in SandInstanceMessage) is true or false.


getQueryResultLengthNorm

public static int getQueryResultLengthNorm()
Normal queryResult length is 30 characters


getQueryResultLengthMax

public static int getQueryResultLengthMax()
Maximum queryResult length is 70 characters


getQueryResultDefaultValue

public static java.lang.String getQueryResultDefaultValue()
Default value for queryResult. Returns ""


getQueryResultInvalidValue

public static java.lang.String getQueryResultInvalidValue()
Invalid value for queryResult. Returns null


getQueryResultPrintValue

public java.lang.String getQueryResultPrintValue()
Retrieve the current value of this field as a print String. For a String field, this returns the current value. For int, long, double this returns the standard string conversion. For a Date, this returns the default DateFormat format. For an enum, this returns the Actual2Print translation of the current value. For a struct this returns a summary description.

Used for debug output, and as an initial value for transformation and formatting.


getQueryResultFieldPrintValue

public java.lang.String getQueryResultFieldPrintValue()
Return the print name of the queryResult field. If no printname is declared then this returns the field name.


getQueryResultRange

public java.lang.String getQueryResultRange()
Return the range specification for this field


getQueryResultValidityCheck

public java.lang.String getQueryResultValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. This method supports the fieldValidate method, which is in turn specified by the org.sandev.basics.structs.SandInstanceMessage interface. See the comments there for more information, including a list of error Strings returned from here when a field is not valid.


getQueryResultMetatype

public java.lang.String getQueryResultMetatype()
Return the metatype text for this field, or "" if no metatype was declared.


init

public void init()
Initialize all fields to their default values


getElements

public org.sandev.basics.structs.SandInstanceMessage[] getElements()
Specified by SandCollectionMessage interface

Specified by:
getElements in interface org.sandev.basics.structs.SandCollectionMessage

addElement

public void addElement(org.sandev.basics.structs.SandInstanceMessage elem)
Specified by SandCollectionMessage interface

Specified by:
addElement in interface org.sandev.basics.structs.SandCollectionMessage

removeElement

public boolean removeElement(org.sandev.basics.structs.SandInstanceMessage elem)
Specified by SandCollectionMessage interface

Specified by:
removeElement in interface org.sandev.basics.structs.SandCollectionMessage

isComplete

public boolean isComplete()
Specified by SandCollectionMessage interface

Specified by:
isComplete in interface org.sandev.basics.structs.SandCollectionMessage

cloneTaskTypeCollection

public TaskTypeCollection cloneTaskTypeCollection()
Clone the collection returning a new copy of the message with a new array containing the same references.


getShortName

public java.lang.String getShortName()
Returns the unqualified name of this message.

Specified by:
getShortName in interface org.sandev.basics.structs.SandMessage

getQueryMessage

public org.sandev.basics.structs.SandQueryMessage getQueryMessage()
Returns a new TaskTypeQuery instance

Specified by:
getQueryMessage in interface org.sandev.basics.structs.SandMessage

getCollectionMessage

public org.sandev.basics.structs.SandCollectionMessage getCollectionMessage()
Returns a new TaskTypeCollection instance

Specified by:
getCollectionMessage in interface org.sandev.basics.structs.SandMessage

getUpdateMessage

public org.sandev.basics.structs.SandUpdateMessage getUpdateMessage()
Returns a new TaskTypeUpdate instance

Specified by:
getUpdateMessage in interface org.sandev.basics.structs.SandMessage

getStructMessage

public org.sandev.basics.structs.SandStructMessage getStructMessage()
Returns a new TaskType instance

Specified by:
getStructMessage in interface org.sandev.basics.structs.SandMessage

isEquivalent

public boolean isEquivalent(org.sandev.basics.structs.SandMessage sm)
Declared field equivalence check as specified by the SandMessage interface. String values are trimmed before comparison because conversions may occasionally result in trailing whitespace, which should not cause equivalence comparisons to fail. Comparisons are case insensitive since that corresponds to what most people expect, and how most databases work.

Specified by:
isEquivalent in interface org.sandev.basics.structs.SandMessage