|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.inspirel.yami.Parameters.Entry
public static class Parameters.Entry
Class representing a single entry in the collection.
The Entry class allows only inspection of the data
and is provided for natural iteration usage.
The underlying data cannot be modified, except for the
boolean[]
, int[]
, long[]
,
double[]
and binary arrays (byte[]
),
which are kept by reference and which can be modified by the user.
Method Summary | |
---|---|
byte[] |
getBinary()
Gets the byte[] value from this entry. |
byte[][] |
getBinaryArray()
Gets the byte[] array
(that is, array of byte arrays) from this entry. |
boolean |
getBoolean()
Gets the boolean value from this entry. |
boolean[] |
getBooleanArray()
Gets the boolean array from this entry. |
double |
getDouble()
Gets the double value from this entry. |
double[] |
getDoubleArray()
Gets the double array from this entry. |
int |
getInteger()
Gets the int value from this entry. |
int[] |
getIntegerArray()
Gets the int array from this entry. |
long |
getLong()
Gets the long value from this entry. |
long[] |
getLongArray()
Gets the long array from this entry. |
Parameters[] |
getNestedArray()
Gets the Parameters array
(that is, array of Parameters objects) from this entry. |
Parameters |
getNestedParameters()
Gets the nested Parameters object from this entry. |
java.lang.String |
getString()
Gets the String value from this entry. |
java.lang.String[] |
getStringArray()
Gets the String array from this entry. |
java.lang.String |
name()
Gets the name of this entry. |
Parameters.EntryType |
type()
Gets the type of this entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Parameters.EntryType type()
public java.lang.String name()
public boolean getBoolean()
boolean
value from this entry.
BadTypeException
- if this entry does not contain boolean
valuepublic int getInteger()
int
value from this entry.
BadTypeException
- if this entry does not contain int
valuepublic long getLong()
long
value from this entry.
BadTypeException
- if this entry does not contain long
valuepublic double getDouble()
double
value from this entry.
BadTypeException
- if this entry does not contain double
valuepublic java.lang.String getString()
String
value from this entry.
BadTypeException
- if this entry does not contain String
valuepublic byte[] getBinary()
byte[]
value from this entry.
BadTypeException
- if this entry does not contain byte[]
valuepublic boolean[] getBooleanArray()
boolean
array from this entry.
BadTypeException
- if this entry does not contain boolean
arraypublic int[] getIntegerArray()
int
array from this entry.
BadTypeException
- if this entry does not contain int
arraypublic long[] getLongArray()
long
array from this entry.
BadTypeException
- if this entry does not contain long
arraypublic double[] getDoubleArray()
double
array from this entry.
BadTypeException
- if this entry does not contain double
arraypublic java.lang.String[] getStringArray()
String
array from this entry.
BadTypeException
- if this entry does not contain String
arraypublic byte[][] getBinaryArray()
byte[]
array
(that is, array of byte arrays) from this entry.
BadTypeException
- if this entry does not contain byte[]
arraypublic Parameters getNestedParameters()
Parameters
object from this entry.
BadTypeException
- if this entry does not contain
nested Parameters
objectpublic Parameters[] getNestedArray()
Parameters
array
(that is, array of Parameters
objects) from this entry.
BadTypeException
- if this entry does not contain Parameters
array
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |