public class WsSignature extends Object
WsBaseline.| Constructor and Description |
|---|
WsSignature()
Creates an empty WsSignature object.
|
WsSignature(Integer scopeId,
Long refId,
WsUser user,
String comments)
Creates a new WsSignature object from the given baseline id, user and comments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComments()
Gets the comments associated with this signature.
|
Long |
getId()
Gets the id of the signature.
|
Boolean |
getIsRevoked()
Is this signature revoked?
|
Long |
getRefId()
Gets the refId of the object associated with this signature
|
String |
getRevokeComments()
Gets the comments associated with the revocation of this signature.
|
Date |
getRevokeDate()
Gets the date this signature was revoked.
|
Integer |
getScopeId()
Gets the scopeId of the object associated with this signature Valid scopes for Signatures are Baseline and
Revisions
|
Date |
getSignedDate()
Gets the date this signature took place.
|
WsUser |
getUser()
Gets the user that made this signature.
|
void |
setComments(String comments)
Sets the comments associated with this signature.
|
void |
setId(Long id)
Sets the id of the signature.
|
void |
setIsRevoked(Boolean isRevoked) |
void |
setRefId(Long refId)
Sets the refId of the object associated with this signature
|
void |
setRevokeComments(String revokeComments)
Sets the comments associated with the revocation of this signature.
|
void |
setRevokeDate(Date revokeDate) |
void |
setScopeId(Integer scopeId)
Sets the scopeId of the object associated with this signature
|
void |
setSignedDate(Date signedDate) |
void |
setUser(WsUser user)
Sets the user that made this signature.
|
String |
toString()
Gets a string representation of this signature.
|
public WsSignature()
public WsSignature(Integer scopeId, Long refId, WsUser user, String comments)
scopeId - scope of the object being signaturerefId - id of the object being signeduser - user signingcomments - any comments about the signature (can be null)public Long getId()
public void setId(Long id)
id - signature idpublic String getComments()
public void setComments(String comments)
comments - signature commentspublic String getRevokeComments()
public void setRevokeComments(String revokeComments)
revokeComments - signature revocation commentspublic WsUser getUser()
public void setUser(WsUser user)
user - WsUserpublic Date getSignedDate()
public void setSignedDate(Date signedDate)
public Boolean getIsRevoked()
public void setIsRevoked(Boolean isRevoked)
public Date getRevokeDate()
public void setRevokeDate(Date revokeDate)
public Integer getScopeId()
public void setScopeId(Integer scopeId)
scopeId - scopeId of the object being signedpublic Long getRefId()
public void setRefId(Long refId)
refId - refId of the object being signedCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.