|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.resource.repository.Signature
public class Signature
Client side representation of an electronic signature created in the SAS Drug Development repository.
SignatureService
,
SignatureService.createSignature(String, CreateSignatureInfo)
,
SignatureService.getSignatures(String)
,
SignatureService.getSignaturesForLatestVersion(String)
,
SignatureService.getSignaturesByVersion(String, String)
,
Serialized FormConstructor Summary | |
---|---|
Signature(String identifier,
String repositoryFileIdentifier,
String repositoryFilePath,
String repositoryFileVersion,
String userId,
String role,
String reason,
String comment,
Date timestamp,
String signature)
Constructs a newly allocated Signature with all fields initialized. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
String |
getComment()
Returns the comment provided with this electronic signature, if one was provided. |
String |
getIdentifier()
Returns the unique identifier of this electronic signature. |
String |
getReason()
Returns the signature reason used when creating this electronic signature. |
String |
getRepositoryFileIdentifier()
Returns the unique identifier of the repository file associated with this electronic signature. |
String |
getRepositoryFilePath()
Returns the path of the repository file associated with this electronic signature. |
String |
getRepositoryFileVersion()
Returns the version of the repository file associated with this electronic signature. |
String |
getRole()
Returns the signature role used when creating this electronic signature. |
String |
getSignature()
Returns the signature hash generated when this electronic signature was created. |
Date |
getTimestamp()
Returns the Date when this electronic signature was created. |
String |
getUserId()
Returns the user ID of the user who created this electronic signature. |
int |
hashCode()
Return a hash code value for the object. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Signature(String identifier, String repositoryFileIdentifier, String repositoryFilePath, String repositoryFileVersion, String userId, String role, String reason, String comment, Date timestamp, String signature)
Signature
with all fields initialized.
identifier
- The unique identifier of this electronic signature.repositoryFileIdentifier
- The unique identifier of the repository file associated with this electronic
signature.repositoryFilePath
- The path of the repository file associated with this electronic signature.repositoryFileVersion
- The version of the repository file associated with this electronic signature.userId
- The user ID of the user who created this electronic signature.role
- The signature role used when creating this electronic signature.reason
- The signature reason used when creating this electronic signature.comment
- The comment provided with this electronic signature.timestamp
- The Date
when this electronic signature was created.signature
- The signature value generated when this electronic signature was created.Method Detail |
---|
public String getIdentifier()
public String getRepositoryFileIdentifier()
RepositoryResource.getIdentifier()
public String getRepositoryFilePath()
RepositoryResource.getPath()
public String getRepositoryFileVersion()
null
if the file is unversioned.
public String getUserId()
public String getRole()
CreateSignatureInfo.setRole(String)
,
SignatureService.getSignatureRoles()
public String getReason()
CreateSignatureInfo.setReason(String)
,
SignatureService.getSignatureReasons()
public String getComment()
CreateSignatureInfo.setComment(String)
public Date getTimestamp()
Date
when this electronic signature was created.
public String getSignature()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |