Class CLValueAny
- java.lang.Object
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValue<java.lang.Object,CLTypeAny>
-
- com.syntifi.casper.sdk.model.clvalue.CLValueAny
-
- All Implemented Interfaces:
DecodableValue,EncodableValue
public class CLValueAny extends AbstractCLValue<java.lang.Object,CLTypeAny>
Casper Object CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueAny()CLValueAny(java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)voiddecode(CLValueDecoder clvd)Called when the object's values must be decoded after deserializingvoidencode(CLValueEncoder clve)Called when the object's values must be encoded for serializingbooleanequals(java.lang.Object o)CLTypeAnygetClType()protected java.lang.StringgetJsonClType()inthashCode()voidsetClType(CLTypeAny clType)protected voidsetJsonClType(CLTypeAny clType)-
Methods inherited from class com.syntifi.casper.sdk.model.clvalue.AbstractCLValue
getBytes, getJsonBytes, getParsed, getValue, setBytes, setJsonBytes, setParsed, setValue
-
-
-
-
Method Detail
-
setJsonClType
@ExcludeFromJacocoGeneratedReport protected void setJsonClType(CLTypeAny clType)
-
getJsonClType
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonClType()
-
encode
public void encode(CLValueEncoder clve) throws java.io.IOException
Description copied from interface:EncodableValueCalled when the object's values must be encoded for serializing- Parameters:
clve- the encoder to be used- Throws:
java.io.IOException
-
decode
public void decode(CLValueDecoder clvd) throws java.io.IOException, CLValueDecodeException
Description copied from interface:DecodableValueCalled when the object's values must be decoded after deserializing- Parameters:
clvd- the decoder to be used- Throws:
java.io.IOExceptionCLValueDecodeException
-
getClType
public CLTypeAny getClType()
- Specified by:
getClTypein classAbstractCLValue<java.lang.Object,CLTypeAny>
-
setClType
public void setClType(CLTypeAny clType)
- Specified by:
setClTypein classAbstractCLValue<java.lang.Object,CLTypeAny>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractCLValue<java.lang.Object,CLTypeAny>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractCLValue<java.lang.Object,CLTypeAny>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractCLValue<java.lang.Object,CLTypeAny>
-
-