|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.CacheRef
|
+--com.starbase.starteam.NamedCacheRef
|
+--com.starbase.starteam.TypedResource
|
+--com.starbase.starteam.SimpleTypedResource
|
+--com.starbase.starteam.PromotionModel
This class represents the Promotion model for a view. Each view has a single promotion model. The PromotionModel class primarily acts as the owner of an ordered list of PromotionStates.
PromotionState| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
int |
getCreatedBy()
Returns the User ID for the creator of the PromotionModel. |
OLEDate |
getCreatedOn()
Returns the time at which the PromotionModel was created. |
int |
getDeletedBy()
Returns the User ID for the user that deleted the model. |
OLEDate |
getDeletedOn()
Returns the time at which the PromotionModel was deleted. |
java.lang.String |
getDescription()
Returns the description of the PromotionModel. |
int |
getID()
Return the object ID for the PromotionModel. |
java.lang.String |
getName()
Returns the name of the PromotionModel. |
int |
getObjectID()
Return the object ID for the PromotionModel. |
PromotionState[] |
getPromotionStates()
Returns an array of PromotionStates for this model. |
View |
getView()
Returns the View that owns this PromotionModel. |
int |
hashCode()
returns a unique hash for all instances of this type |
void |
setDescription(java.lang.String description)
Sets the description of the PromotionModel. |
void |
setName(java.lang.String name)
Sets the name of the PromotionModel. |
void |
setPromotionStates(PromotionState[] states)
Changes the list of PromotionStates for this model. |
java.lang.String |
toDebugString()
Return a debug string for this model. |
void |
update()
Stores the modified PromotionModel in the repository. |
| Methods inherited from class com.starbase.starteam.SimpleTypedResource |
get, getByteArray, getDouble, getEnumDisplayName, getInt, getIntArray, getOLEDate, getPossibleValues, getPropertyNames, getString, getType, getTypeNames, put, putByPropertyID |
| Methods inherited from class com.starbase.starteam.TypedResource |
addToIntArray, removeFromIntArray, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public View getView()
public int getObjectID()
public int getID()
getID in class SimpleTypedResourcegetObjectID.public java.lang.String getName()
public void setName(java.lang.String name)
name - the new name for this promotion modelpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new description for this modelpublic OLEDate getCreatedOn()
public int getCreatedBy()
public OLEDate getDeletedOn()
public int getDeletedBy()
public PromotionState[] getPromotionStates()
PromotionModel.setPromotionStates(com.starbase.starteam.PromotionState[])public void setPromotionStates(PromotionState[] states)
states - the new array of promotion statesPromotionModel.getPromotionStates()public void update()
public java.lang.String toDebugString()
public boolean equals(java.lang.Object source)
equals in class SimpleTypedResourcesource - Object the source to comapre with
public int hashCode()
hashCode in class SimpleTypedResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||