|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.InterNetworkDependency
Inter-network dependencies model dependencies of jobs and job streams from targets in a remote TWS network. Since they can model dependencies in a very general way, a string is used to represent the dependency targets in place of the names of the remote job stream, job and worskation that may be involved in the dependency. In addition to this general-purpose value, the agent workstation that is responsible for the connection to the remote network is also specified.
The following syntax validation constraints must be met on InterNetworkDependency objects:
networkAgentKey | Must reference an existing workstation |
dependency | Always required |
Not longer than 255 characters |
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
InterNetworkDependency()
Creates an empty InterNetworkDependency. |
|
InterNetworkDependency(FlowTargetKey key)
Creates an InterNetworkDependency, specifying the key of the referenced network agent. |
|
InterNetworkDependency(Identifier id)
Creates an InterNetworkDependency, specifying the identifier of the referenced network agent. |
|
InterNetworkDependency(Identifier id,
FlowTargetKey key)
Creates an InterNetworkDependency, specifying the identifier and key of the referenced network agent. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this InterNetworkDependency object are equal to those of the given one. |
java.lang.String |
getDependency()
Returns the dependency value. |
Identifier |
getId()
Returns the identifier of the network agent referenced by this dependency. |
Identifier |
getNetworkAgentId()
Returns the identifier of the referenced network agent. |
FlowTargetKey |
getNetworkAgentKey()
Returns the key of the referenced network agent. |
int |
hashCode()
Returns a hash code for this InterNetworkDependency object. |
void |
setDependency(java.lang.String value)
Sets the dependency value. |
void |
setNetworkAgentId(Identifier id)
Sets the identifier of the referenced network agent. |
void |
setNetworkAgentKey(FlowTargetKey key)
Sets the key of the referenced network agent. |
java.lang.String |
toString()
Returns a string representation of this InterNetworkDependency object. |
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 InterNetworkDependency()
public InterNetworkDependency(Identifier id)
id
- The identifier of the referenced network agent.public InterNetworkDependency(FlowTargetKey key)
key
- The key of the referenced network agent.public InterNetworkDependency(Identifier id, FlowTargetKey key)
id
- The identifier of the referenced network agent.key
- The key of the referenced network agent.Method Detail |
public Identifier getId()
getId
in interface TWSLink
public Identifier getNetworkAgentId()
public FlowTargetKey getNetworkAgentKey()
public java.lang.String getDependency()
public void setNetworkAgentId(Identifier id)
id
- The identifier of the referenced network agent.public void setNetworkAgentKey(FlowTargetKey key)
key
- The key of the referenced network agent.public void setDependency(java.lang.String value)
value
- The dependency value.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |