Package com.saperion.ws.wrapper
Class SaWsValue
java.lang.Object
com.saperion.ws.wrapper.SaWsValue
This class wraps the SaValue class, which represents SAPERION values.
- Author:
- Daniel Manzke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.activation.DataHandler
Returns the binary value, if set.Returns the date value, if set.double
Returns the float value, if set.int
Returns the integer value, if set.Returns the string value, if set.int
Returns the value type.boolean
Returns the boolean value, if set.void
setBinaryValue
(jakarta.activation.DataHandler value) Sets the binary value, if set.void
setBoolValue
(boolean value) Sets the boolean value, if set.void
setDateValue
(Date value) Sets the date value, if set.void
setFloatValue
(double value) Sets the float value, if set.void
setIntValue
(int value) Sets the integer value, if set.void
setStringValue
(String value) Sets the string value, if set.void
setValueType
(int value) Sets the value type.
-
Constructor Details
-
SaWsValue
public SaWsValue()Creates a new instance of SaWsValue. -
SaWsValue
public SaWsValue(com.saperion.intf.SaValue value) Creates a new instance of SaWsValue and wraps the originial SaValue.- Parameters:
value
- which holds the information of the backend and which will be extracted to this bean
-
-
Method Details
-
getDateValue
Returns the date value, if set.- Returns:
- Returns the date.
-
setDateValue
Sets the date value, if set.- Parameters:
value
- Date value
-
isBoolValue
public boolean isBoolValue()Returns the boolean value, if set.- Returns:
- Returns the boolValue.
-
setBoolValue
public void setBoolValue(boolean value) Sets the boolean value, if set.- Parameters:
value
- bool value
-
getIntValue
public int getIntValue()Returns the integer value, if set.- Returns:
- Returns the intValue.
-
setIntValue
public void setIntValue(int value) Sets the integer value, if set.- Parameters:
value
- int value
-
getFloatValue
public double getFloatValue()Returns the float value, if set.- Returns:
- Returns the floatValue.
-
setFloatValue
public void setFloatValue(double value) Sets the float value, if set.- Parameters:
value
- double value
-
getStringValue
Returns the string value, if set.- Returns:
- Returns the stringValue.
-
setStringValue
Sets the string value, if set.- Parameters:
value
- string value
-
getValueType
public int getValueType()Returns the value type.- Returns:
- Returns the valueType.
-
setValueType
public void setValueType(int value) Sets the value type.- Parameters:
value
- int value
-
getBinaryValue
public jakarta.activation.DataHandler getBinaryValue()Returns the binary value, if set.- Returns:
- Returns the binary value.
-
setBinaryValue
public void setBinaryValue(jakarta.activation.DataHandler value) Sets the binary value, if set.- Parameters:
value
- binary value as a DataHandler
-