public class AEDR
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
position |
Constructor and Description |
---|
AEDR(ADR adr,
int type,
java.lang.Object value)
Constructs AEDR of a given type and value for an ADR.Specification of type is deferred if type = -1.Once set,
data type cannot be changed.
|
AEDR(ADR adr,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
get() |
int |
getNum() |
int |
getSize() |
void |
setAEDRNext(long l) |
void |
setAttributeType(int n) |
void |
setAttrNum(int n) |
void |
setDataType(int n) |
void |
setNum(int n) |
void |
setNumElems(int n) |
void |
setValues(byte[] ba) |
void |
setValues(double[] da) |
void |
setValues(float[] fa) |
void |
setValues(int[] ia) |
void |
setValues(long[] la) |
void |
setValues(short[] sa) |
void |
setValues(java.lang.String s) |
void |
setValues(java.lang.String[] s) |
public AEDR(ADR adr, int type, java.lang.Object value) throws java.lang.Throwable
adr
- type
- value
- java.lang.Throwable
public AEDR(ADR adr, java.lang.Object value) throws java.lang.Throwable
adr
- o
- java.lang.Throwable
public void setAEDRNext(long l)
l
- public void setAttributeType(int n)
n
- public void setAttrNum(int n)
n
- public void setDataType(int n) throws java.lang.Throwable
n
- java.lang.Throwable
public void setNum(int n)
n
- public int getNum()
public void setNumElems(int n)
n
- public void setValues(java.lang.String s) throws java.lang.Throwable
s
- java.lang.Throwable
public void setValues(java.lang.String[] s) throws java.lang.Throwable
s
- java.lang.Throwable
public void setValues(byte[] ba) throws java.lang.Throwable
ba
- java.lang.Throwable
public void setValues(long[] la) throws java.lang.Throwable
la
- java.lang.Throwable
public void setValues(double[] da) throws java.lang.Throwable
da
- java.lang.Throwable
public void setValues(int[] ia) throws java.lang.Throwable
ia
- java.lang.Throwable
public void setValues(float[] fa) throws java.lang.Throwable
fa
- java.lang.Throwable
public void setValues(short[] sa) throws java.lang.Throwable
sa
- java.lang.Throwable
public java.nio.ByteBuffer get()
public int getSize()