scm.pub.transport
Class ChangeRequest_d

java.lang.Object
  extended byscm.pub.transport.ChangeRequest_d

public final class ChangeRequest_d
extends java.lang.Object

ChangeRequest_d


Field Summary
static java.lang.String COMPLETEDSTATE_STRING
           
static java.lang.String KILLEDSTATE_STRING
           
 
Constructor Summary
ChangeRequest_d(scm.persistent.ChangeRequest_p cr_p)
          Create a ChangeRequest_d object from a persisten ChangeRequest_p.
 
Method Summary
 java.util.Vector getAttachments()
          Get the list of attachments associated with this CR.
 java.util.HashMap getAttribute()
          Get a HashMap of ChangeRequest attributes and their values.
 java.lang.String getCreatedState()
          Get the Creation State of this ChangeRequest
 java.lang.String getCreator()
          Get the User id of the person who created this ChangeRequest
 java.lang.String getCRId()
          Get the CRid of this ChangeRequest
 int getCRNum()
          Get just the CR Number of this ChangeRequest
 java.lang.String getCurrentGeneric()
          Get the Current Generic that this ChangeRequest is assigned to.
 java.lang.String getCurrentState()
          Get the Current State this ChangeRequest
 java.lang.String getCurrentUser()
          Get the user that this CR is assigned to.
 java.lang.String getDateCreated()
          Get the Creation Date of this ChangeRequest
 java.lang.String getDateLastUsed()
          Get the last used Date of this ChangeRequest
 java.lang.String getDescription()
          Get the CR description of this ChangeRequest
 java.lang.String getHeader()
          Get the CR header of this ChangeRequest
 java.util.Vector getHistoryInfo()
          Get a list of ChangeRequestHistory_d objects for this ChangeRequest
 java.util.Vector getReleases()
          Get the name(s) of the release(s) that this Change Request is associated with.
 java.lang.String toString()
          Dump the contents of this change request into a String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPLETEDSTATE_STRING

public static final java.lang.String COMPLETEDSTATE_STRING
See Also:
Constant Field Values

KILLEDSTATE_STRING

public static final java.lang.String KILLEDSTATE_STRING
See Also:
Constant Field Values
Constructor Detail

ChangeRequest_d

public ChangeRequest_d(scm.persistent.ChangeRequest_p cr_p)
                throws java.lang.Exception
Create a ChangeRequest_d object from a persisten ChangeRequest_p.

Throws:
java.lang.Exception - If the persistent information cannot be accessed.
Method Detail

getReleases

public java.util.Vector getReleases()
Get the name(s) of the release(s) that this Change Request is associated with. The same Change Request can be in multiple releases if each release is formed on a separate generic. In other words, if files are edited common using a single Change Request, that Change Request is available to placed in a release on each generic that the files are common to.

Returns:
A Vector of release names as String.

getCRNum

public int getCRNum()
Get just the CR Number of this ChangeRequest

Returns:
The CRid as a String.

getCRId

public java.lang.String getCRId()
Get the CRid of this ChangeRequest

Returns:
The CRid as a String.

getHeader

public java.lang.String getHeader()
Get the CR header of this ChangeRequest

Returns:
The CR header as a String.

getDescription

public java.lang.String getDescription()
Get the CR description of this ChangeRequest

Returns:
The CR description as a String.

getCreator

public java.lang.String getCreator()
Get the User id of the person who created this ChangeRequest

Returns:
The user id as a String.

getCreatedState

public java.lang.String getCreatedState()
Get the Creation State of this ChangeRequest

Returns:
The Creation State as a String.

getDateCreated

public java.lang.String getDateCreated()
Get the Creation Date of this ChangeRequest

Returns:
The Creation Date as a String.

getDateLastUsed

public java.lang.String getDateLastUsed()
Get the last used Date of this ChangeRequest

Returns:
The last used Date as a String.

getCurrentState

public java.lang.String getCurrentState()
Get the Current State this ChangeRequest

Returns:
The Current State as a String.

getCurrentGeneric

public java.lang.String getCurrentGeneric()
Get the Current Generic that this ChangeRequest is assigned to.

Returns:
The Current Generic as a String.

getCurrentUser

public java.lang.String getCurrentUser()
Get the user that this CR is assigned to.

Returns:
The Current User as a String.

getAttachments

public java.util.Vector getAttachments()
Get the list of attachments associated with this CR.

Returns:
A list of Strings of attachment names.

getHistoryInfo

public java.util.Vector getHistoryInfo()
Get a list of ChangeRequestHistory_d objects for this ChangeRequest

Returns:
A list of ChangeRequestHistory_d objects.

getAttribute

public java.util.HashMap getAttribute()
Get a HashMap of ChangeRequest attributes and their values.

Returns:
A map of key/value pairs of the CR attributes and their values.

toString

public java.lang.String toString()
Dump the contents of this change request into a String

Returns:
A String containing the complete contents of this ChangeRequest