Package com.saperion.ws.wrapper
Class SaWsContentContainer
java.lang.Object
com.saperion.ws.wrapper.SaWsContentContainer
A container for SaWsContents.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
This enum specifies the replacement strategy of this content containers content. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the content.getMode()
Returns the mode of this content container.Returns the variables of this content container.void
setContent
(List<SaWsContent> contents) Sets the webservice content.void
setMode
(SaWsContentContainer.Mode newMode) Sets the mode of this content container.void
setVariables
(Map<String, String> newVariables) Sets the variables of this content container.
-
Constructor Details
-
SaWsContentContainer
public SaWsContentContainer()Constructor.
-
-
Method Details
-
getContent
Returns the content.- Returns:
- Web service content
-
setContent
Sets the webservice content.- Parameters:
contents
- Webservice contents
-
getMode
Returns the mode of this content container.- Returns:
- the mode of this content container.
-
setMode
Sets the mode of this content container.- Parameters:
newMode
- The new mode to set.
-
getVariables
Returns the variables of this content container.- Returns:
- the variables of this content container.
-
setVariables
Sets the variables of this content container.- Parameters:
newVariables
- The variables to set.
-