|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.PeriodHeader
This class hosts the attributes to be shown in TWS external interfaces when listing periods.
Period
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
PeriodHeader()
Creates an empty PeriodHeader. |
|
PeriodHeader(Identifier periodId)
Creates a PeriodHeader with the specified identifier. |
|
PeriodHeader(Identifier periodId,
PeriodKey periodKey)
Creates a PeriodHeader with the specified identifier and key. |
|
PeriodHeader(PeriodKey periodKey)
Creates a PeriodHeader with the specified key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this PeriodHeader object are equal to those of the given one. |
java.lang.String |
getDescription()
Returns the period description. |
Identifier |
getId()
Returns the period identifier. |
int |
getIntervalLength()
Returns the period interval length. |
PeriodKey |
getKey()
Returns the PeriodKey wrapped by this PeriodHeader object. |
LockData |
getLockData()
Returns the period lock data. |
ModifyData |
getModifyData()
Returns the period modification data. |
java.lang.String |
getName()
Returns the period name. |
TWSKey |
getObjectKey()
Returns the period key as a TWS key. |
PeriodType |
getType()
Returns the period type. |
java.lang.String |
getVariableTable()
Returns the period variable table. |
int |
hashCode()
Returns a hash code for this PeriodHeader object. |
void |
setDescription(java.lang.String value)
Sets the period description. |
void |
setId(Identifier identifier)
Sets the period identifier. |
void |
setIntervalLength(int value)
Sets the period interval length. |
void |
setKey(PeriodKey periodKey)
Sets the PeriodKey to be wrapped by this PeriodHeader object. |
void |
setLockData(LockData data)
Sets the period lock data. |
void |
setModifyData(ModifyData data)
Sets the period modification data. |
void |
setName(java.lang.String value)
Sets the period name. |
void |
setType(PeriodType value)
Sets the period type. |
void |
setVariableTable(java.lang.String value)
Sets the period variable table. |
java.lang.String |
toString()
Returns a string representation of this PeriodHeader 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 PeriodHeader()
public PeriodHeader(Identifier periodId)
periodId
- The period identifier.public PeriodHeader(PeriodKey periodKey)
periodKey
- The period key.public PeriodHeader(Identifier periodId, PeriodKey periodKey)
periodId
- The period identifier.periodKey
- The period key.Method Detail |
public Identifier getId()
getId
in interface TWSHeader
public TWSKey getObjectKey()
getObjectKey
in interface TWSHeader
public PeriodKey getKey()
public java.lang.String getName()
getName
in interface TWSHeader
public java.lang.String getDescription()
public PeriodType getType()
public int getIntervalLength()
public java.lang.String getVariableTable()
public ModifyData getModifyData()
getModifyData
in interface TWSHeader
public LockData getLockData()
getLockData
in interface TWSHeader
public void setId(Identifier identifier)
identifier
- The period identifier.public void setKey(PeriodKey periodKey)
periodKey
- The PeriodKey to be wrapped by this PeriodHeader object.public void setName(java.lang.String value)
value
- The period name.public void setDescription(java.lang.String value)
value
- The period description.public void setType(PeriodType value)
value
- The period type.public void setIntervalLength(int value)
value
- The period interval length.public void setVariableTable(java.lang.String value)
value
- The period variable table.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 |