|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.TaskHeap.structs.PlanComponentReportStruct
org.sandev.TaskHeap.sandmessages.PlanComponentReport
AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: org.sandev.TaskHeap.structs.PlanComponentReportStruct
generator: org.sandev.generator.MessageClassGenerator
time: Dec 2, 2005 6:38:51 PM
| Field Summary | |
static int |
COMPONENTTYPE_EXTERNALPLAN
Possible value for componentType |
static int |
COMPONENTTYPE_PLAN
Possible value for componentType |
static int |
COMPONENTTYPE_TASK
Possible value for componentType |
static int |
COMPONENTTYPE_UNKNOWN
Possible value for componentType |
| Fields inherited from class org.sandev.TaskHeap.structs.PlanComponentReportStruct |
componentType, description, notes, phase, sourceComponent |
| Fields inherited from interface org.sandev.basics.structs.SandInstanceMessage |
FIELDCHECK_INVALIDVAL, FIELDCHECK_NOTAREF, FIELDCHECK_NOTINRANGE, FIELDCHECK_NULLARRAY, FIELDCHECK_STRINGOVER, FIELDCHECK_UNKNOWNVAL, FIELDFLAG_BINARY, FIELDFLAG_ENCRYPT, FIELDFLAG_INTERNAL, FIELDFLAG_NOECHO, FIELDFLAG_OBFUSCATE, FIELDFLAG_STRINGPERSIST, FIELDFLAG_UNIQUE, GENMOD_ACTION_APPEND, GENMOD_ACTION_INSERT, GENMOD_ACTION_REMOVE, GENMOD_ACTION_SET |
| Constructor Summary | |
PlanComponentReport()
Default constructor calls init. |
|
| Method Summary | |
org.sandev.basics.structs.SandInstanceMessage |
cloneMessage()
Calls clonePlanComponentReport |
PlanComponentReport |
clonePlanComponentReport()
Make a deep copy of this PlanComponentReport. |
static java.lang.String |
componentTypeActual2Print(java.lang.String actualVal)
Utility method to transform an actual value for this field into a print value. |
int |
componentTypeLabelToValue(java.lang.String label)
Given a label, return the value for it. |
static java.lang.String |
componentTypePrint2Actual(java.lang.String printVal)
Utility method to transform a print value for this field into an actual value. |
static java.lang.String |
componentTypePrint2Key(java.lang.String printVal)
Utility method to transform a print value for this field into a key value. |
java.lang.String |
componentTypeValueToLabel(int val)
Given a value, return the declared label for it. |
org.sandev.basics.structs.SandInstanceMessage |
convertToSuperstructClass()
Return a new instance of the message associated with the superstruct of this instance. |
void |
copyDataFrom(PlanComponentReport other)
Deep copy all the data from the specified instance. |
void |
copyFieldValue(java.lang.String fieldName,
org.sandev.basics.structs.SandInstanceMessage other)
Copy the specified field from the given instance. |
java.lang.String |
debugDump(java.lang.String prefix)
Dump this instance into a debug printable string. |
void |
defaultField(java.lang.String fieldname)
Set the specified field to its default value. |
boolean |
fieldHasFlag(java.lang.String fieldname,
int fieldflag)
Return true if the named field declares the indicated flag, false otherwise. |
boolean |
fieldsValid()
Validate the fields as specified in the SandInstanceMessage interface |
org.sandev.basics.structs.SandAttrVal[] |
fieldValidate(org.sandev.basics.structs.SandAttrVal[] checkFields)
Validate the fields as specified in the SandInstanceMessage interface |
java.lang.Object |
generalAccessor(java.lang.String fieldspec)
General field accessor method. |
org.sandev.basics.structs.SandAttrVal |
generalDereference(java.lang.String fieldspec)
General reference field accessor method. |
void |
generalModifier(int action,
java.lang.String field,
int index,
java.lang.Object val)
General mutator method. |
java.lang.String[] |
getAllFields()
Return an array of all fields for this class. |
org.sandev.basics.structs.SandCollectionMessage |
getCollectionMessage()
Returns null |
int |
getComponentType()
Accessor for componentType |
static java.lang.String[] |
getComponentTypeActualVals()
Return an array of the possible values for this field as Strings. |
static int |
getComponentTypeDefaultValue()
Default value for componentType. |
static java.lang.String |
getComponentTypeEnumSummary()
Return a single String summary of the possible enum values for debug and similar purposes. |
java.lang.String |
getComponentTypeFieldPrintValue()
Return the print name of the componentType field. |
static boolean |
getComponentTypeFlag(int fieldflag)
Field flag accessor. |
static int |
getComponentTypeInvalidValue()
Invalid value for componentType. |
static java.lang.String[] |
getComponentTypeKeyVals()
Return an array of unique keys for the values of this field. |
java.lang.String |
getComponentTypeMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
static java.lang.String[] |
getComponentTypePrintVals()
Return an array of the possible values for this field in display format. |
java.lang.String |
getComponentTypePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getComponentTypeRange()
Return the range specification for this field |
java.lang.String |
getComponentTypeValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getDescription()
Accessor for description |
static java.lang.String |
getDescriptionDefaultValue()
Default value for description. |
java.lang.String |
getDescriptionFieldPrintValue()
Return the print name of the description field. |
static boolean |
getDescriptionFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getDescriptionInvalidValue()
Invalid value for description. |
static int |
getDescriptionLengthMax()
Maximum description length is 4096 characters |
static int |
getDescriptionLengthNorm()
Normal description length is 255 characters |
java.lang.String |
getDescriptionMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getDescriptionPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getDescriptionRange()
Return the range specification for this field |
java.lang.String |
getDescriptionValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String[] |
getDisplayFields()
Return an array of the summary field names for this class. |
java.lang.String[] |
getDisplayValues()
Return the values for the summary fields. |
java.lang.String[] |
getDisplayValues(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser user,
java.lang.String defaultVal)
Return the values for the summary fields, including dereference expressions. |
java.lang.String |
getNotes()
Accessor for notes |
static java.lang.String |
getNotesDefaultValue()
Default value for notes. |
java.lang.String |
getNotesFieldPrintValue()
Return the print name of the notes field. |
static boolean |
getNotesFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getNotesInvalidValue()
Invalid value for notes. |
static int |
getNotesLengthMax()
Maximum notes length is 1048576 characters |
static int |
getNotesLengthNorm()
Normal notes length is 2048 characters |
java.lang.String |
getNotesMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getNotesPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getNotesRange()
Return the range specification for this field |
java.lang.String |
getNotesValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
long |
getPhase()
Accessor for phase |
static long |
getPhaseDefaultValue()
Default value for phase. |
java.lang.String |
getPhaseFieldPrintValue()
Return the print name of the phase field. |
static boolean |
getPhaseFlag(int fieldflag)
Field flag accessor. |
static long |
getPhaseInvalidValue()
Invalid value for phase. |
java.lang.String |
getPhaseMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getPhasePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getPhaseRange()
Return the range specification for this field |
java.lang.String |
getPhaseValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.structs.SandQueryMessage |
getQueryMessage()
Returns null |
java.lang.String |
getShortName()
Returns the unqualified name of this message. |
long |
getSourceComponent()
Accessor for sourceComponent |
static long |
getSourceComponentDefaultValue()
Default value for sourceComponent. |
java.lang.String |
getSourceComponentFieldPrintValue()
Return the print name of the sourceComponent field. |
static boolean |
getSourceComponentFlag(int fieldflag)
Field flag accessor. |
static long |
getSourceComponentInvalidValue()
Invalid value for sourceComponent. |
java.lang.String |
getSourceComponentMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getSourceComponentPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getSourceComponentRange()
Return the range specification for this field |
java.lang.String |
getSourceComponentValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.structs.SandStructMessage |
getStructMessage()
Returns a new PlanComponentReport instance |
org.sandev.basics.structs.SandUpdateMessage |
getUpdateMessage()
Returns a new PlanComponentReportUpdate instance |
java.lang.String |
getValueForFieldName(java.lang.String fieldname,
org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser user,
java.lang.String defaultVal)
Returns the print representation of the value of the specified field, or the given default value if innaccessible. |
void |
init()
Initialize all fields to their default values |
boolean |
isEquivalent(org.sandev.basics.structs.SandMessage sm)
Declared field equivalence check as specified by the SandMessage interface. |
java.lang.String[] |
referenceValidate(java.lang.String[] locations,
java.lang.String prefix,
org.sandev.basics.util.IDLookup idlookup,
org.sandev.basics.util.NameLookup namelookup,
org.sandev.basics.util.AuthUser au)
Validate the references as specified in the Resolvable interface. |
TaskPhase |
resolvePhaseReference(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser au)
Converts a reference to an instance by looking it up. |
TaskPhase |
resolvePhaseReferenceNonCrit(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser au)
Calls standard method, eating any SandException and returning a new instance uniqueID -1. |
PlanComponent |
resolveSourceComponentReference(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser au)
Converts a reference to an instance by looking it up. |
PlanComponent |
resolveSourceComponentReferenceNonCrit(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser au)
Calls standard method, eating any SandException and returning a new instance uniqueID -1. |
void |
setComponentType(int componentType)
Mutator for componentType |
void |
setDescription(java.lang.Object description)
Generic mutator for description |
void |
setDescription(java.lang.String description)
Mutator for description |
void |
setNotes(java.lang.Object notes)
Generic mutator for notes |
void |
setNotes(java.lang.String notes)
Mutator for notes |
void |
setPhase(long phase)
Mutator for phase |
void |
setSourceComponent(long sourceComponent)
Mutator for sourceComponent |
java.lang.String |
toString()
Return a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int COMPONENTTYPE_UNKNOWN
public static final int COMPONENTTYPE_TASK
public static final int COMPONENTTYPE_PLAN
public static final int COMPONENTTYPE_EXTERNALPLAN
| Constructor Detail |
public PlanComponentReport()
| Method Detail |
public boolean fieldHasFlag(java.lang.String fieldname,
int fieldflag)
fieldHasFlag in interface org.sandev.basics.structs.SandInstanceMessagepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
public void setDescription(java.lang.Object description)
public static boolean getDescriptionFlag(int fieldflag)
public static int getDescriptionLengthNorm()
public static int getDescriptionLengthMax()
public static java.lang.String getDescriptionDefaultValue()
public static java.lang.String getDescriptionInvalidValue()
public java.lang.String getDescriptionPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getDescriptionFieldPrintValue()
public java.lang.String getDescriptionRange()
public java.lang.String getDescriptionValidityCheck()
public java.lang.String getDescriptionMetatype()
public long getPhase()
public void setPhase(long phase)
public static boolean getPhaseFlag(int fieldflag)
public static long getPhaseDefaultValue()
public static long getPhaseInvalidValue()
public java.lang.String getPhasePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getPhaseFieldPrintValue()
public java.lang.String getPhaseRange()
public TaskPhase resolvePhaseReferenceNonCrit(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser au)
public TaskPhase resolvePhaseReference(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser au)
throws org.sandev.basics.structs.SandException
org.sandev.basics.structs.SandExceptionpublic java.lang.String getPhaseValidityCheck()
public java.lang.String getPhaseMetatype()
public java.lang.String getNotes()
public void setNotes(java.lang.String notes)
public void setNotes(java.lang.Object notes)
public static boolean getNotesFlag(int fieldflag)
public static int getNotesLengthNorm()
public static int getNotesLengthMax()
public static java.lang.String getNotesDefaultValue()
public static java.lang.String getNotesInvalidValue()
public java.lang.String getNotesPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getNotesFieldPrintValue()
public java.lang.String getNotesRange()
public java.lang.String getNotesValidityCheck()
public java.lang.String getNotesMetatype()
public int getComponentType()
public void setComponentType(int componentType)
public java.lang.String componentTypeValueToLabel(int val)
public int componentTypeLabelToValue(java.lang.String label)
public static java.lang.String[] getComponentTypePrintVals()
public static java.lang.String[] getComponentTypeKeyVals()
public static java.lang.String[] getComponentTypeActualVals()
public static java.lang.String componentTypePrint2Key(java.lang.String printVal)
getComponentTypePrintVals
and getComponentTypeKeyVals methods for details.
public static java.lang.String componentTypePrint2Actual(java.lang.String printVal)
getComponentTypePrintVals
and getComponentTypeActualVals methods for details.
public static java.lang.String componentTypeActual2Print(java.lang.String actualVal)
getComponentTypeActualVals
and getComponentTypePrintVals methods for details.
public static java.lang.String getComponentTypeEnumSummary()
public static boolean getComponentTypeFlag(int fieldflag)
public static int getComponentTypeDefaultValue()
public static int getComponentTypeInvalidValue()
public java.lang.String getComponentTypePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getComponentTypeFieldPrintValue()
public java.lang.String getComponentTypeRange()
public java.lang.String getComponentTypeValidityCheck()
public java.lang.String getComponentTypeMetatype()
public long getSourceComponent()
public void setSourceComponent(long sourceComponent)
public static boolean getSourceComponentFlag(int fieldflag)
public static long getSourceComponentDefaultValue()
public static long getSourceComponentInvalidValue()
public java.lang.String getSourceComponentPrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getSourceComponentFieldPrintValue()
public java.lang.String getSourceComponentRange()
public PlanComponent resolveSourceComponentReferenceNonCrit(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser au)
public PlanComponent resolveSourceComponentReference(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser au)
throws org.sandev.basics.structs.SandException
org.sandev.basics.structs.SandExceptionpublic java.lang.String getSourceComponentValidityCheck()
public java.lang.String getSourceComponentMetatype()
public void init()
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
public void generalModifier(int action,
java.lang.String field,
int index,
java.lang.Object val)
throws org.sandev.basics.structs.SandException
generalModifier in interface org.sandev.basics.structs.SandInstanceMessageorg.sandev.basics.structs.SandExceptionpublic org.sandev.basics.structs.SandAttrVal generalDereference(java.lang.String fieldspec)
generalDereference in interface org.sandev.basics.structs.SandInstanceMessagepublic java.lang.Object generalAccessor(java.lang.String fieldspec)
generalAccessor in interface org.sandev.basics.structs.SandInstanceMessagepublic java.lang.String[] getDisplayFields()
getDisplayFields in interface org.sandev.basics.structs.SandInstanceMessagepublic java.lang.String[] getDisplayValues()
getDisplayValues in interface org.sandev.basics.structs.SandInstanceMessage
public java.lang.String[] getDisplayValues(org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser user,
java.lang.String defaultVal)
getDisplayValues in interface org.sandev.basics.util.Resolvable
public java.lang.String getValueForFieldName(java.lang.String fieldname,
org.sandev.basics.util.IDLookup lookup,
org.sandev.basics.util.AuthUser user,
java.lang.String defaultVal)
public java.lang.String toString()
public java.lang.String[] getAllFields()
getAllFields in interface org.sandev.basics.structs.SandInstanceMessagepublic void defaultField(java.lang.String fieldname)
defaultField in interface org.sandev.basics.structs.SandInstanceMessagepublic org.sandev.basics.structs.SandInstanceMessage cloneMessage()
cloneMessage in interface org.sandev.basics.structs.SandInstanceMessagepublic PlanComponentReport clonePlanComponentReport()
public void copyDataFrom(PlanComponentReport other)
public void copyFieldValue(java.lang.String fieldName,
org.sandev.basics.structs.SandInstanceMessage other)
copyFieldValue in interface org.sandev.basics.structs.SandInstanceMessagepublic org.sandev.basics.structs.SandAttrVal[] fieldValidate(org.sandev.basics.structs.SandAttrVal[] checkFields)
fieldValidate in interface org.sandev.basics.structs.SandInstanceMessagepublic boolean fieldsValid()
fieldsValid in interface org.sandev.basics.structs.SandInstanceMessage
public java.lang.String[] referenceValidate(java.lang.String[] locations,
java.lang.String prefix,
org.sandev.basics.util.IDLookup idlookup,
org.sandev.basics.util.NameLookup namelookup,
org.sandev.basics.util.AuthUser au)
throws org.sandev.basics.structs.SandException
referenceValidate in interface org.sandev.basics.util.Resolvableorg.sandev.basics.structs.SandExceptionpublic org.sandev.basics.structs.SandInstanceMessage convertToSuperstructClass()
convertToSuperstructClass in interface org.sandev.basics.structs.SandInstanceMessagepublic java.lang.String debugDump(java.lang.String prefix)
debugDump in interface org.sandev.basics.structs.SandInstanceMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||