|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.telelogic.cs.api.ChangeRequest
public class ChangeRequest
Represents a change request at a particular moment in time. That is,
a change request ID (CRID) along with a set of attribute values for the
change request when it was retrieved. The attributes are not live; to see
their latest values you must retrieve them again. All of the attributes
stored in the database are not necessarily on a ChangeRequest
object--only
those what were asked for from the API returning the object.
Constructor Summary | |
---|---|
ChangeRequest(java.lang.String crid,
java.util.Map<java.lang.String,Attribute> attributes)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Attribute |
getAttribute(java.lang.String name)
Gets an attribute for this change request at the time it was looked up. |
Attribute[] |
getAttributes()
Gets all the attributes that were looked up with this change request. |
java.lang.String |
getCrid()
Gets the change request ID, a.k.a., problem number, for this change request. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangeRequest(java.lang.String crid, java.util.Map<java.lang.String,Attribute> attributes)
Method Detail |
---|
public java.lang.String getCrid()
public Attribute getAttribute(java.lang.String name)
name
- the name of the attribute to get.
null
if the attribute did
not exist on change request or was not requested when looking it up.public Attribute[] getAttributes()
getAttribute(String)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |