Package com.saperion.ws.wrapper
Class SaWsRevision
java.lang.Object
com.saperion.ws.wrapper.SaWsRevision
This class wraps the SaRevision class.
- Author:
- Daniel Manzke
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of SaJNIVersionDataWrapper.SaWsRevision
(com.saperion.intf.SaRevision result) Creates a new instance of SaJNIVersionDataWrapper and wraps the original. -
Method Summary
Modifier and TypeMethodDescriptionReads revision comment.Reads revision date.Reads revision number.Reads the revision ID.Reads the revision user.void
setRevisionComment
(String revComment) Sets revision comment.void
setRevisionDate
(Date revDate) Sets revision date.void
setRevisionNumber
(String revNumber) Sets revision number.void
setRevisionUid
(String revisionUID) Sets the revision ID.void
setRevisionUser
(String revUser) Sets revision user.
-
Constructor Details
-
SaWsRevision
public SaWsRevision()Creates a new instance of SaJNIVersionDataWrapper. -
SaWsRevision
public SaWsRevision(com.saperion.intf.SaRevision result) Creates a new instance of SaJNIVersionDataWrapper and wraps the original.- Parameters:
result
- Result which holds the information of the backend and which will be extracted to this bean
-
-
Method Details
-
getRevisionUid
Reads the revision ID.- Returns:
- revisionUid
-
setRevisionUid
Sets the revision ID.- Parameters:
revisionUID
- unique ID of a revision
-
getRevisionUser
Reads the revision user.- Returns:
- revisionUser
-
setRevisionUser
Sets revision user.- Parameters:
revUser
- Name of the user which created the revision
-
getRevisionComment
Reads revision comment.- Returns:
- versionComment
-
setRevisionComment
Sets revision comment.- Parameters:
revComment
- Comment which was sets while creating a revision
-
getRevisionNumber
Reads revision number.- Returns:
- versionNumber
-
setRevisionNumber
Sets revision number.- Parameters:
revNumber
- Number of revisions
-
getRevisionDate
Reads revision date.- Returns:
- revisionDate
-
setRevisionDate
Sets revision date.- Parameters:
revDate
- Date when the revision was created
-