Package com.saperion.ws.wrapper
Class SaWsValue
- java.lang.Object
-
- com.saperion.ws.wrapper.SaWsValue
-
public class SaWsValue extends java.lang.Object
This class wraps the SaValue class, which represents SAPERION values.- Author:
- Daniel Manzke
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.activation.DataHandler
getBinaryValue()
Returns the binary value, if set.java.util.Date
getDateValue()
Returns the date value, if set.double
getFloatValue()
Returns the float value, if set.int
getIntValue()
Returns the integer value, if set.java.lang.String
getStringValue()
Returns the string value, if set.int
getValueType()
Returns the value type.boolean
isBoolValue()
Returns the boolean value, if set.void
setBinaryValue(javax.activation.DataHandler value)
Sets the binary value, if set.void
setBoolValue(boolean value)
Sets the boolean value, if set.void
setDateValue(java.util.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(java.lang.String value)
Sets the string value, if set.void
setValueType(int value)
Sets the value type.
-
-
-
Constructor Detail
-
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 Detail
-
getDateValue
public java.util.Date getDateValue()
Returns the date value, if set.- Returns:
- Returns the date.
-
setDateValue
public void setDateValue(java.util.Date value)
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
public java.lang.String getStringValue()
Returns the string value, if set.- Returns:
- Returns the stringValue.
-
setStringValue
public void setStringValue(java.lang.String value)
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 javax.activation.DataHandler getBinaryValue()
Returns the binary value, if set.- Returns:
- Returns the binary value.
-
setBinaryValue
public void setBinaryValue(javax.activation.DataHandler value)
Sets the binary value, if set.- Parameters:
value
- binary value as a DataHandler
-
-