Class CLValueMap
- java.lang.Object
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValue<T,P>
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValueWithChildren<java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeMap>
-
- com.syntifi.casper.sdk.model.clvalue.CLValueMap
-
- All Implemented Interfaces:
DecodableValue
,EncodableValue
public class CLValueMap extends AbstractCLValueWithChildren<java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeMap>
Casper Map CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueMap()
CLValueMap(java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
void
decode(CLValueDecoder clvd)
Called when the object's values must be decoded after deserializingvoid
encode(CLValueEncoder clve)
Called when the object's values must be encoded for serializingboolean
equals(java.lang.Object o)
CLTypeMap
getClType()
int
hashCode()
protected void
setChildTypes()
void
setClType(CLTypeMap clType)
-
Methods inherited from class com.syntifi.casper.sdk.model.clvalue.AbstractCLValue
getBytes, getJsonBytes, getParsed, getValue, setBytes, setJsonBytes, setParsed, setValue
-
-
-
-
Constructor Detail
-
CLValueMap
public CLValueMap(java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>> value)
-
CLValueMap
public CLValueMap()
-
-
Method Detail
-
encode
public void encode(CLValueEncoder clve) throws java.io.IOException, CLValueEncodeException, DynamicInstanceException, NoSuchTypeException
Description copied from interface:EncodableValue
Called when the object's values must be encoded for serializing- Parameters:
clve
- the encoder to be used- Throws:
java.io.IOException
CLValueEncodeException
DynamicInstanceException
NoSuchTypeException
-
decode
public void decode(CLValueDecoder clvd) throws java.io.IOException, CLValueDecodeException, DynamicInstanceException, NoSuchTypeException
Description copied from interface:DecodableValue
Called when the object's values must be decoded after deserializing- Parameters:
clvd
- the decoder to be used- Throws:
java.io.IOException
CLValueDecodeException
DynamicInstanceException
NoSuchTypeException
-
setChildTypes
protected void setChildTypes()
- Specified by:
setChildTypes
in classAbstractCLValueWithChildren<java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeMap>
-
getClType
public CLTypeMap getClType()
- Specified by:
getClType
in classAbstractCLValue<java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeMap>
-
setClType
public void setClType(CLTypeMap clType)
- Specified by:
setClType
in classAbstractCLValue<java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeMap>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classAbstractCLValueWithChildren<java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeMap>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqual
in classAbstractCLValueWithChildren<java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeMap>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractCLValueWithChildren<java.util.Map<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeMap>
-
-