|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.FileDependencyInPlan
File dependencies plan associations of jobs and job streams with Files. This class represent the link between a Job (or Job Stream) instance and File instance.
The following syntax validation constraints must be met on FileDependencyInPlan objects:
file | Reference to a FileInPlan. |
If you are adding dependencies the FileInPlan object should have a name not yet present in the symphony file but respecting the following rules: | |
Not longer than 148 characters | |
Base name not longer than 28 characters | |
satisfied | Output Only. |
status | The status of the dependency, the default is Unsatisfied |
Output Only. | |
timeLastChecked | Output Only. |
FileInPlan
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright |
Constructor Summary | |
---|---|
FileDependencyInPlan()
Empty Constructor |
|
FileDependencyInPlan(FileInPlanKey key)
Constructor |
|
FileDependencyInPlan(Identifier id)
Constructor |
|
FileDependencyInPlan(Identifier id,
FileInPlanKey key)
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
equality operation. |
FileInPlan |
getFile()
Deprecated. |
FileStatusType |
getFileStatus()
Return the Status of the internal FileInPlan object. |
Identifier |
getId()
Get the Identifier of the FileInPlan pointed by this dependency |
FileInPlanKey |
getKey()
Returns the key of the pointed FileInPlan object |
java.lang.String |
getQualifier()
Returns the qualifier sets for the FileInPlan |
DependencyStatusType |
getStatus()
Return the status of this Dependency. |
java.util.Date |
getTimeLastChecked()
Return the Date this dependency has been checked last time. |
Identifier |
getWorkstationId()
Return the Identifier of the workstation on which the FileInPlan is defined. |
int |
hashCode()
Returns a hash code for this FileInPlanDependency object. |
boolean |
isSatisfied()
Returns if the dependency is satisfied or not. |
void |
setFile(FileInPlan plan)
Sets the FileInPlan object pointed by this dependency For internal use only. |
void |
setFileStatus(FileStatusType status)
Set the Status of the internal FileInPlan object. |
void |
setId(Identifier identifier)
Set the Identifier of the internal FileInPlan object |
void |
setKey(FileInPlanKey key)
Set the key of the internal FileInPlan object. |
void |
setQualifier(java.lang.String string)
Sets the FileInPlan qualifier. |
void |
setSatisfied(boolean b)
Sets the status (satisfied or not) of this dependency For internal use only. |
void |
setStatus(DependencyStatusType status)
Set the dependency status of this object. |
void |
setTimeLastChecked(java.util.Date date)
Set the Date this dependency has been checked last time. |
void |
setWorkstationId(Identifier identifier)
Set the workstation id of the FileInPlan object. |
java.lang.String |
toString()
Returns a string representation of this FileDependencyInPlan. |
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 FileDependencyInPlan()
public FileDependencyInPlan(Identifier id)
id
- The identifier of the pointed FileInPlanpublic FileDependencyInPlan(FileInPlanKey key)
key
- The key of the pointed FileInPlanpublic FileDependencyInPlan(Identifier id, FileInPlanKey key)
id
- The identifier of the pointed FileInPlankey
- The key of the pointed FileInPlanMethod Detail |
public boolean equals(java.lang.Object object)
object
- the object to be checked
public int hashCode()
public java.lang.String toString()
public boolean isSatisfied()
public void setSatisfied(boolean b)
b
- The new value of the satisfied fieldpublic FileInPlan getFile()
public void setFile(FileInPlan plan)
plan
- the FileInPlan object pointed by this dependencypublic Identifier getId()
getId
in interface TWSLink
TWSLink.getId()
public java.lang.String getQualifier()
public DependencyStatusType getStatus()
public Identifier getWorkstationId()
public void setQualifier(java.lang.String string)
string
- the file qualifierpublic void setStatus(DependencyStatusType status)
status
- the file statuspublic void setWorkstationId(Identifier identifier)
identifier
- the workstation IDpublic FileInPlanKey getKey()
public void setId(Identifier identifier)
identifier
- The File identifierpublic void setKey(FileInPlanKey key)
key
- the FileInPlanKeypublic java.util.Date getTimeLastChecked()
public void setTimeLastChecked(java.util.Date date)
date
- The Date this dependency has been checked last time.public FileStatusType getFileStatus()
public void setFileStatus(FileStatusType status)
status
- the Status of the internal FileInPlan object.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |