Class FutureEra
- java.lang.Object
-
- com.casper.sdk.model.transaction.scheduling.FutureEra
-
- All Implemented Interfaces:
CasperSerializableObject,Tag,TransactionScheduling,SerializableObject
public class FutureEra extends java.lang.Object implements TransactionScheduling
Execution should be scheduled for the specified era.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFutureEra.FutureEraBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FutureEra.FutureEraBuilderbuilder()bytegetByteTag()java.math.BigIntegergetEraId()voidserialize(SerializerBuffer ser, Target target)Called when the object's values must be serializedvoidsetEraId(java.math.BigInteger eraId)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.casper.sdk.model.clvalue.serde.CasperSerializableObject
serialize
-
-
-
-
Method Detail
-
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
-
builder
public static FutureEra.FutureEraBuilder builder()
-
getEraId
public java.math.BigInteger getEraId()
-
setEraId
public void setEraId(java.math.BigInteger eraId)
-
-