|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.SymphonyInPlan
This class maintains information about Symphony Files. Since it has no header, it wraps directly a SymphonyInPlanKey object. It mantains information of all the Symphony types.
The following syntax validation constraints must be met on SymphonyInPlan objects:
name | The name of an Existing Symphony. |
scheduleDate | Read Only. |
It does not contains information about the time. | |
timeStarted | Read Only. |
lastTime | Read Only. |
planStart | Read Only. |
planEnd | Read Only. |
runNumber | Read Only. |
size | Read Only. |
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
SymphonyInPlan()
Creates an empty SymphonyInPlan. |
|
SymphonyInPlan(PlanIdentifier symphonyId)
Creates a Symphony in plan with the specified Identifier. |
|
SymphonyInPlan(PlanIdentifier symphonyId,
SymphonyInPlanKey symphonyKey)
Creates a SymphonyInPlan with the specified id and key. |
|
SymphonyInPlan(SymphonyInPlanKey symphonyKey)
Creates a SymphonyInPlan with the specified key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this Symphony object are equal to those of the given one. |
Identifier |
getId()
Returns the Identifier of this object |
SymphonyInPlanKey |
getKey()
Return the Symphony Key |
java.util.Date |
getLastTime()
Return the last time |
LockData |
getLockData()
This method return the object's LockData. |
ModifyData |
getModifyData()
This method return the object's ModifyData. |
java.lang.String |
getName()
Return the Symphony Name |
TWSHeader |
getObjectHeader()
Return this object header. |
TWSKey |
getObjectKey()
Return this object key |
java.util.Date |
getPlanEnd()
Return the plan end |
PlanIdentifier |
getPlanId()
Return this object Identifier as a PlanIdentifier |
java.util.Date |
getPlanStart()
Return the plan start |
int |
getRunNumber()
Return the run number |
java.util.Date |
getScheduleDate()
Return the schedule date |
int |
getSize()
Return the size of this Symphony |
java.util.Date |
getTimeStarted()
Return the time started |
SymphonyType |
getType()
Returns the Symphony type Valid Values are: Archived, Trial, Forecast, Unknown. |
int |
hashCode()
Returns a hash code for this Symphony object. |
void |
setLastTime(java.util.Date date)
Sets the last time For internal use only |
void |
setPlanEnd(java.util.Date date)
Sets the plan end For internal use only |
void |
setPlanStart(java.util.Date date)
Sets the plan start For internal use only |
void |
setRunNumber(int i)
Sets the run number For internal use only |
void |
setScheduleDate(java.util.Date date)
Sets the schedule date For internal use only |
void |
setSize(int i)
Sets the size of this Symphony For internal use only |
void |
setTimeStarted(java.util.Date date)
Sets the time started For internal use only |
void |
setType(SymphonyType type)
Sets the Symphony type For Internal Use Only Valid Values are: Archived, Trial, Forecast, Unknown. |
java.lang.String |
toString()
Returns a string representation of this Symphony. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public SymphonyInPlan()
public SymphonyInPlan(PlanIdentifier symphonyId)
symphonyId
- The symphony Identifier.public SymphonyInPlan(SymphonyInPlanKey symphonyKey)
symphonyKey
- The symphony key.public SymphonyInPlan(PlanIdentifier symphonyId, SymphonyInPlanKey symphonyKey)
symphonyId
- The symphony id.symphonyKey
- The symphony key.Method Detail |
public Identifier getId()
getId
in interface TWSObject
TWSHeader.getId()
public PlanIdentifier getPlanId()
TWSHeader.getId()
public java.lang.String getName()
getName
in interface TWSObject
TWSHeader.getName()
public TWSKey getObjectKey()
getObjectKey
in interface TWSObject
TWSHeader.getObjectKey()
public TWSHeader getObjectHeader()
getObjectHeader
in interface TWSObject
TWSObject.getObjectHeader()
public ModifyData getModifyData()
getModifyData
in interface TWSObject
TWSHeader.getModifyData()
public LockData getLockData()
getLockData
in interface TWSObject
TWSHeader.getLockData()
public SymphonyInPlanKey getKey()
public java.util.Date getLastTime()
public java.util.Date getPlanEnd()
public java.util.Date getPlanStart()
public int getRunNumber()
public java.util.Date getScheduleDate()
public java.util.Date getTimeStarted()
public void setLastTime(java.util.Date date)
date
- the last timepublic void setPlanEnd(java.util.Date date)
date
- the plan endpublic void setPlanStart(java.util.Date date)
date
- the plan startpublic void setRunNumber(int i)
i
- the run numberpublic void setScheduleDate(java.util.Date date)
date
- the schedule datepublic void setTimeStarted(java.util.Date date)
date
- the time startedpublic boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
public int getSize()
public void setSize(int i)
i
- the size of this Symphonypublic SymphonyType getType()
public void setType(SymphonyType type)
type
- The symphony type.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |