public class StringTypeValue extends AbstractTypeValue<String>
NULL, UNDEFINED
Constructor and Description |
---|
StringTypeValue(Type type,
byte[] value) |
StringTypeValue(Type type,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getRawValue()
Gets raw value.
|
String |
getValue()
Gets value.
|
int |
hashCode() |
boolean |
isNull()
Returns true if value is null.
|
boolean |
isUndefined()
Returns true if value is undefined.
|
void |
setValue(String value)
Sets value.
|
byte[] |
toBytesValue()
Gets raw value.
|
getType, setType, toFIXValue, toFIXValue, toString
public StringTypeValue(Type type, byte[] value)
public String getRawValue()
ITypeValue
getRawValue
in interface ITypeValue<String>
getRawValue
in class AbstractTypeValue<String>
public String getValue()
ITypeValue
getValue
in interface ITypeValue<String>
getValue
in class AbstractTypeValue<String>
public void setValue(String value)
ITypeValue
setValue
in interface ITypeValue<String>
setValue
in class AbstractTypeValue<String>
value
- the valuepublic boolean isNull()
ITypeValue
isNull
in interface ITypeValue<String>
isNull
in class AbstractTypeValue<String>
public byte[] toBytesValue()
ITypeValue
toBytesValue
in interface ITypeValue<String>
toBytesValue
in class AbstractTypeValue<String>
public boolean isUndefined()
ITypeValue
isUndefined
in interface ITypeValue<String>
isUndefined
in class AbstractTypeValue<String>
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.