Package com.saperion.ws.wrapper
Class SaWsVersionData
- java.lang.Object
-
- com.saperion.ws.wrapper.SaWsVersionData
-
public class SaWsVersionData extends java.lang.Object
This class wraps the SaVersionData class.- Author:
- Daniel Manzke
-
-
Constructor Summary
Constructors Constructor Description SaWsVersionData()
Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SaWsPropertyValue>
getProperties()
Reads the properties.SaWsRevision
getVersionData()
Reads the version metadata.void
setProperties(java.util.List<SaWsPropertyValue> props)
Sets the properties.void
setVersionData(SaWsRevision versiondata)
Sets the version metadata.
-
-
-
Constructor Detail
-
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 Detail
-
getProperties
public java.util.List<SaWsPropertyValue> getProperties()
Reads the properties.- Returns:
- the properties
-
setProperties
public void setProperties(java.util.List<SaWsPropertyValue> props)
Sets the properties.- Parameters:
props
- Name/Value pairs which represent the metadata of a document
-
getVersionData
public SaWsRevision getVersionData()
Reads the version metadata.- Returns:
- the versionData
-
setVersionData
public void setVersionData(SaWsRevision versiondata)
Sets the version metadata.- Parameters:
versiondata
- version data
-
-