|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.ResourceHeader
This class hosts the attributes to be shown in TWS external interfaces when listing resources.
Resource
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
ResourceHeader()
Creates an empty ResourceHeader. |
|
ResourceHeader(Identifier resourceId)
Creates a ResourceHeader with the specified identifier. |
|
ResourceHeader(Identifier resourceId,
ResourceKey resourceKey)
Creates a ResourceHeader with the specified identifier and key. |
|
ResourceHeader(ResourceKey resourceKey)
Creates a ResourceHeader with the specified key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this ResourceHeader object are equal to those of the given one. |
ResourceBaseConstraints |
getDefaultConstraints()
Returns the default resource constraints. |
java.lang.String |
getDescription()
Returns the resource description. |
FlowTargetKey |
getFlowTargetKey()
Returns the key of the workstation or workstation class referenced by this resource. |
Identifier |
getId()
Returns the resource identifier. |
ResourceKey |
getKey()
Returns the ResourceKey wrapped by this ResourceHeader object. |
LockData |
getLockData()
Returns the resource lock data. |
ModifyData |
getModifyData()
Returns the resource modification data. |
java.lang.String |
getName()
Returns the resource name. |
TWSKey |
getObjectKey()
Returns the resource key as a TWS key. |
int |
hashCode()
Returns a hash code for this ResourceHeader object. |
void |
setDefaultConstraints(ResourceBaseConstraints constraints)
Sets the default resource constraints. |
void |
setDescription(java.lang.String value)
Sets the resource description. |
void |
setFlowTargetKey(FlowTargetKey trgKey)
Sets the key of the workstation or workstation class referenced by this resource. |
void |
setId(Identifier identifier)
Sets the resource identifier. |
void |
setKey(ResourceKey resourceKey)
Sets the ResourceKey to be wrapped by this ResourceHeader object. |
void |
setLockData(LockData data)
Sets the resource lock data. |
void |
setModifyData(ModifyData data)
Sets the resource modification data. |
void |
setName(java.lang.String value)
Sets the resource name. |
java.lang.String |
toString()
Returns a string representation of this ResourceHeader 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 ResourceHeader()
public ResourceHeader(Identifier resourceId)
resourceId
- The resource identifier.public ResourceHeader(ResourceKey resourceKey)
resourceKey
- The resource key.public ResourceHeader(Identifier resourceId, ResourceKey resourceKey)
resourceId
- The resource identifier.resourceKey
- The resource key.Method Detail |
public Identifier getId()
getId
in interface TWSHeader
public TWSKey getObjectKey()
getObjectKey
in interface TWSHeader
public ResourceKey getKey()
public java.lang.String getName()
getName
in interface TWSHeader
public FlowTargetKey getFlowTargetKey()
public java.lang.String getDescription()
public ResourceBaseConstraints getDefaultConstraints()
public ModifyData getModifyData()
getModifyData
in interface TWSHeader
public LockData getLockData()
getLockData
in interface TWSHeader
public void setId(Identifier identifier)
identifier
- The resource identifier.public void setKey(ResourceKey resourceKey)
resourceKey
- The ResourceKey to be wrapped by this ResourceHeader object.public void setName(java.lang.String value)
value
- The resource name.public void setFlowTargetKey(FlowTargetKey trgKey)
trgKey
- The key of the workstation or workstation class referenced by this resource.public void setDescription(java.lang.String value)
value
- The resource description.public void setDefaultConstraints(ResourceBaseConstraints constraints)
constraints
- The default resource constraints.public void setModifyData(ModifyData data)
data
- A ModifyData object.public void setLockData(LockData data)
data
- A LockData object.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 |