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