public class PairTypeValue extends Object implements ITypeValue
NULL, UNDEFINED
Constructor and Description |
---|
PairTypeValue(ITypeValue length,
ITypeValue deltaValue) |
Modifier and Type | Method and Description |
---|---|
ITypeValue |
getDeltaValue() |
ITypeValue |
getLength() |
String |
getRawValue()
Gets raw value.
|
Type |
getType()
Gets type of value.
|
Object |
getValue()
Gets value.
|
boolean |
isNull()
Returns true if value is null.
|
boolean |
isUndefined()
Returns true if value is undefined.
|
void |
setValue(Object o)
Sets value.
|
byte[] |
toBytesValue()
Gets raw value.
|
byte[] |
toFIXValue()
Get data in tag/value representation
|
void |
toFIXValue(StringBuilder buffer)
Append tag/value representation of this instance to buffer
|
String |
toString() |
public PairTypeValue(ITypeValue length, ITypeValue deltaValue)
public ITypeValue getLength()
public ITypeValue getDeltaValue()
public Type getType()
ITypeValue
getType
in interface ITypeValue
public String getRawValue()
ITypeValue
getRawValue
in interface ITypeValue
public Object getValue()
ITypeValue
getValue
in interface ITypeValue
public byte[] toFIXValue()
ITypeValue
toFIXValue
in interface ITypeValue
public void toFIXValue(StringBuilder buffer)
ITypeValue
toFIXValue
in interface ITypeValue
public boolean isNull()
ITypeValue
isNull
in interface ITypeValue
public boolean isUndefined()
ITypeValue
isUndefined
in interface ITypeValue
public void setValue(Object o)
ITypeValue
setValue
in interface ITypeValue
o
- the valuepublic byte[] toBytesValue()
ITypeValue
toBytesValue
in interface ITypeValue
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.