public class X_C_TYPE_Impl extends BufferImpl implements X_C_TYPE
BYTE_SIZE, DOUBLE_SIZE, FLOAT_SIZE, INT_SIZE, len, LONG_SIZE, SHORT_SIZE| Constructor and Description |
|---|
X_C_TYPE_Impl(String subtype)
The constructor is hidden as the
Connection factory method should be used instead. |
| Modifier and Type | Method and Description |
|---|---|
byte |
getByte(String key) |
byte[] |
getByteArray(String key) |
byte[][] |
getByteArrayArray(String key) |
double |
getDouble(String key) |
double[] |
getDoubleArray(String key) |
float |
getFloat(String key) |
float[] |
getFloatArray(String key) |
int |
getInt(String key) |
int[] |
getIntArray(String key) |
long |
getLong(String key) |
long[] |
getLongArray(String key) |
short |
getShort(String key)
Get the short value identified by the key.
|
short[] |
getShortArray(String key) |
void |
setByte(String key,
byte value) |
void |
setByteArray(String key,
byte[] value) |
void |
setByteArrayArray(String key,
byte[][] value) |
void |
setDouble(String key,
double value) |
void |
setDoubleArray(String key,
double[] value) |
void |
setFloat(String key,
float value) |
void |
setFloatArray(String key,
float[] value) |
void |
setInt(String key,
int value) |
void |
setIntArray(String key,
int[] value) |
void |
setLong(String key,
long value) |
void |
setLongArray(String key,
long[] value) |
void |
setShort(String key,
short value)
Set the short value
|
void |
setShortArray(String key,
short[] value) |
clear, deserialize, getAttributeValue, getFormat, getLen, getRawData, getSubtype, getType, serialize, setAttributeValue, setRawDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLen, getSubtype, getTypepublic X_C_TYPE_Impl(String subtype) throws ConnectionException, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
Connection factory method should be used instead. ConnectionImpl#tpalloc(String, String)subtype - The subtype of the bufferConnectionException - In case the buffer does not existorg.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationExceptionpublic short getShort(String key) throws ConnectionException
getShort in interface X_C_TYPEkey - The key to useConnectionException - In case the key is not part of the structure.public void setShort(String key, short value) throws ConnectionException
setShort in interface X_C_TYPEkey - The value to setvalue - The value to useConnectionException - In case the key is unknown.public long getLong(String key) throws ConnectionException
getLong in interface X_C_TYPEConnectionExceptionpublic void setLong(String key, long value) throws ConnectionException
setLong in interface X_C_TYPEConnectionExceptionpublic byte getByte(String key) throws ConnectionException
getByte in interface X_C_TYPEConnectionExceptionpublic void setByte(String key, byte value) throws ConnectionException
setByte in interface X_C_TYPEConnectionExceptionpublic short[] getShortArray(String key) throws ConnectionException
getShortArray in interface X_C_TYPEConnectionExceptionpublic void setShortArray(String key, short[] value) throws ConnectionException
setShortArray in interface X_C_TYPEConnectionExceptionpublic long[] getLongArray(String key) throws ConnectionException
getLongArray in interface X_C_TYPEConnectionExceptionpublic void setLongArray(String key, long[] value) throws ConnectionException
setLongArray in interface X_C_TYPEConnectionExceptionpublic byte[] getByteArray(String key) throws ConnectionException
getByteArray in interface X_C_TYPEConnectionExceptionpublic void setByteArray(String key, byte[] value) throws ConnectionException
setByteArray in interface X_C_TYPEConnectionExceptionpublic int getInt(String key) throws ConnectionException
getInt in interface X_C_TYPEConnectionExceptionpublic void setInt(String key, int value) throws ConnectionException
setInt in interface X_C_TYPEConnectionExceptionpublic float getFloat(String key) throws ConnectionException
getFloat in interface X_C_TYPEConnectionExceptionpublic void setFloat(String key, float value) throws ConnectionException
setFloat in interface X_C_TYPEConnectionExceptionpublic double getDouble(String key) throws ConnectionException
getDouble in interface X_C_TYPEConnectionExceptionpublic void setDouble(String key, double value) throws ConnectionException
setDouble in interface X_C_TYPEConnectionExceptionpublic int[] getIntArray(String key) throws ConnectionException
getIntArray in interface X_C_TYPEConnectionExceptionpublic void setIntArray(String key, int[] value) throws ConnectionException
setIntArray in interface X_C_TYPEConnectionExceptionpublic float[] getFloatArray(String key) throws ConnectionException
getFloatArray in interface X_C_TYPEConnectionExceptionpublic void setFloatArray(String key, float[] value) throws ConnectionException
setFloatArray in interface X_C_TYPEConnectionExceptionpublic double[] getDoubleArray(String key) throws ConnectionException
getDoubleArray in interface X_C_TYPEConnectionExceptionpublic void setDoubleArray(String key, double[] value) throws ConnectionException
setDoubleArray in interface X_C_TYPEConnectionExceptionpublic byte[][] getByteArrayArray(String key) throws ConnectionException
getByteArrayArray in interface X_C_TYPEConnectionExceptionpublic void setByteArrayArray(String key, byte[][] value) throws ConnectionException
setByteArrayArray in interface X_C_TYPEConnectionExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.