public class SSI2DParamValueList
extends java.lang.Object
Constructor and Description |
---|
SSI2DParamValueList()
Create an instance of the SSI2DParamValueList class.
|
SSI2DParamValueList(SSI2DParamValue item)
Create an instance of the SSI2DParamValueList class.
|
SSI2DParamValueList(SSI2DParamValue[] item)
Create an instance of the SSI2DParamValueList class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(SSI2DParamName name,
java.lang.Object value)
Add parameter information to the SSI2DParamValueList instance.
|
boolean |
add(SSI2DParamValue item)
Add parameter information to the SSI2DParamValueList instance.
|
boolean |
add(SSI2DParamValue[] items)
Add all the information for the SSI2DParamValueList instance.
|
SSI2DParamValue |
get(int index)
Returns the parameter information of the barcode module.
|
SSI2DParamValue |
getAt(SSI2DParamName name)
Returns the parameter information of the barcode module.
|
byte[] |
getBytes(int engine)
Returns the parameters of the SSI2DParamValueList.
|
int |
getCount()
Returns the type of parameter stored in the SSI2DParamValueList instance and the number of pieces of information in the value pair.
|
java.lang.Object |
getValue(int index)
Returns the parameter value of the SSI2DParamValueList.
|
java.lang.Object |
getValueAt(SSI2DParamName name)
Returns the parameter value of the SSI2DParamValueList.
|
static SSI2DParamValueList |
parseParams(byte[] data,
int engine)
Returns the parameter name and value of the barcode module.
|
public SSI2DParamValueList()
public SSI2DParamValueList(SSI2DParamValue item)
public SSI2DParamValueList(SSI2DParamValue[] item)
public int getCount()
public boolean add(SSI2DParamValue item)
item
- SSI2DParamValue represent the parameter type and value.public boolean add(SSI2DParamValue[] items)
items
- An instance of SSI2DParamValueList with added parameter informations.public boolean add(SSI2DParamName name, java.lang.Object value)
item
- SSI2DParamName represent the parameter type.value
- Object represent the parameter value.public SSI2DParamValue getAt(SSI2DParamName name) throws ATException
name
- An identifier representing the name of the information in the SSI2DParamValueList.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public SSI2DParamValue get(int index) throws ATException
index
- An identifier representing the location of the information in the SSI2DParamValueList.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public java.lang.Object getValueAt(SSI2DParamName name) throws ATException
name
- An identifier representing the name of the information in the SSI2DParamValueList.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public java.lang.Object getValue(int index) throws ATException
index
- An identifier representing the location of the information in the SSI2DParamValueList.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public byte[] getBytes(int engine) throws ATException
engine
- An identifier representing the type of the barcode module.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public static SSI2DParamValueList parseParams(byte[] data, int engine) throws ATException
data
- An identifier representing the parameter name and value of the barcode module.engine
- An identifier representing the type of the barcode module.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.