public class WOWZDataItem extends WOWZData implements java.io.Serializable
| Constructor and Description |
|---|
WOWZDataItem()
Creates and initializes a null instance.
|
WOWZDataItem(boolean value)
Creates and initializes a Boolean-based instance with the specified value.
|
WOWZDataItem(java.util.Date value)
Creates and initializes a date-based instance with the specified value.
|
WOWZDataItem(double value)
Creates and initializes a double-based instance with the specified value.
|
WOWZDataItem(float value)
Creates and initializes a float-based instance with the specified value.
|
WOWZDataItem(int value)
Creates and initializes an integer-based instance with the specified value.
|
WOWZDataItem(long value)
Creates and initializes a long-based instance with the specified value.
|
WOWZDataItem(short value)
Creates and initializes a short-based instance with the specified value.
|
WOWZDataItem(java.lang.String value)
Creates and initializes a string-based instance with the specified value.
|
WOWZDataItem(WOWZDataItem other)
Creates and initializes an instance using the property values from the specified instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue()
Returns the data value of this instance.
|
java.util.Date |
dateValue()
Returns the data value of this instance.
|
double |
doubleValue()
Returns the data value of this instance.
|
float |
floatValue()
Returns the data value of this instance.
|
int |
intValue()
Returns the data value of this instance.
|
boolean |
isNull()
Checks whether the value of this data item is null.
|
long |
longValue()
Returns the data value of this instance.
|
void |
set(WOWZDataItem other)
Updates the property values of this instance with the property values from the specified instance.
|
void |
setValue(boolean value)
Updates the data value of this instance.
|
void |
setValue(java.util.Date value)
Updates the data value of this instance.
|
void |
setValue(double value)
Updates the data value of this instance.
|
void |
setValue(float value)
Updates the data value of this instance.
|
void |
setValue(int value)
Updates the data value of this instance.
|
void |
setValue(long value)
Updates the data value of this instance.
|
void |
setValue(short value)
Updates the data value of this instance.
|
void |
setValue(java.lang.String value)
Updates the data value of this instance.
|
short |
shortValue()
Returns the data value of this instance.
|
java.lang.String |
stringValue()
Returns the data value of this instance.
|
java.lang.String |
toString()
Returns a human-readable version of the data value.
|
getDataType, isPrimitive, toStringpublic WOWZDataItem()
public WOWZDataItem(WOWZDataItem other)
other - The instance with the property values to use.public WOWZDataItem(int value)
value - The initial value.public WOWZDataItem(short value)
value - The initial value.public WOWZDataItem(long value)
value - The initial value.public WOWZDataItem(float value)
value - The initial value.public WOWZDataItem(double value)
value - The initial value.public WOWZDataItem(java.lang.String value)
value - The initial value.public WOWZDataItem(boolean value)
value - The initial value.public WOWZDataItem(java.util.Date value)
value - The initial value.public void set(WOWZDataItem other)
other - The instance with the property values to use.public void setValue(int value)
value - The updated data value.java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.INTEGER.public void setValue(short value)
value - The updated data value.java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.SHORT.public void setValue(long value)
value - The updated data value.java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.LONG.public void setValue(float value)
value - The updated data value.java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.FLOAT.public void setValue(double value)
value - The updated data value.java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.DOUBLE.public void setValue(java.lang.String value)
value - The updated data value.java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.STRING.public void setValue(boolean value)
value - The updated data value.java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.BOOLEAN.public void setValue(java.util.Date value)
value - The updated data value.java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.DATE.public int intValue()
java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.INTEGER.public long longValue()
java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.LONG.public short shortValue()
java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.SHORT.public float floatValue()
java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.FLOAT.public double doubleValue()
java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.DOUBLE.public java.lang.String stringValue()
java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.STRING.public java.util.Date dateValue()
java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.DATE.public boolean booleanValue()
java.lang.RuntimeException - if the data type of this instance isn't WOWZDataType.BOOLEAN.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isNull()
© 2016 - 2018 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal