public class ChangeRequest
extends java.lang.Object
implements java.io.Serializable
ChangeRequest
object--only
those what were asked for from the API returning the object.Constructor and Description |
---|
ChangeRequest(java.lang.String crid,
java.util.Map<java.lang.String,Attribute> attributes) |
Modifier and Type | Method and Description |
---|---|
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() |
public ChangeRequest(java.lang.String crid, java.util.Map<java.lang.String,Attribute> attributes)
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
© Copyright IBM Corporation 2000, 2009
US Government Users Restricted Rights--Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Notices