Class Native
- java.lang.Object
-
- com.casper.sdk.model.transaction.target.Native
-
- All Implemented Interfaces:
CasperSerializableObject,Tag,TransactionTarget,SerializableObject
public class Native extends java.lang.Object implements TransactionTarget
The execution target is a native operation (e.g. a transfer). This is a placeholder for now.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)bytegetByteTag()java.lang.StringgetTarget()inthashCode()voidserialize(SerializerBuffer ser, Target target)Called when the object's values must be serializedvoidsetTarget(java.lang.String target)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.casper.sdk.model.clvalue.serde.CasperSerializableObject
serialize
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
serialize
public void serialize(SerializerBuffer ser, Target target) throws ValueSerializationException, NoSuchTypeException
Description copied from interface:CasperSerializableObjectCalled when the object's values must be serialized- Specified by:
serializein interfaceCasperSerializableObject- Parameters:
ser- the serializer to be usedtarget- target serialization standard- Throws:
ValueSerializationException- exception holding information of failure to serialize a valueNoSuchTypeException
-
getByteTag
public byte getByteTag()
- Specified by:
getByteTagin interfaceTag
-
getTarget
public java.lang.String getTarget()
-
setTarget
public void setTarget(java.lang.String target)
-
-