Package com.saperion.ws.wrapper
Class SaWsVersionData
java.lang.Object
com.saperion.ws.wrapper.SaWsVersionData
This class wraps the SaVersionData class.
- Author:
- Daniel Manzke
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of SaWsVersionData.SaWsVersionData
(com.saperion.intf.SaVersionData result) Creates a new instance of SaWsVersionData and wraps all informations of the original result. -
Method Summary
Modifier and TypeMethodDescriptionReads the properties.Reads the version metadata.void
setProperties
(List<SaWsPropertyValue> props) Sets the properties.void
setVersionData
(SaWsRevision versiondata) Sets the version metadata.
-
Constructor Details
-
SaWsVersionData
public SaWsVersionData()Creates a new instance of SaWsVersionData. -
SaWsVersionData
public SaWsVersionData(com.saperion.intf.SaVersionData result) Creates a new instance of SaWsVersionData and wraps all informations of the original result.- Parameters:
result
- which holds the information of the backend and which will be extracted to this bean
-
-
Method Details
-
getProperties
Reads the properties.- Returns:
- the properties
-
setProperties
Sets the properties.- Parameters:
props
- Name/Value pairs which represent the metadata of a document
-
getVersionData
Reads the version metadata.- Returns:
- the versionData
-
setVersionData
Sets the version metadata.- Parameters:
versiondata
- version data
-