Class TransactionEntryPoint
- java.lang.Object
-
- com.casper.sdk.model.transaction.entrypoint.TransactionEntryPoint
-
- All Implemented Interfaces:
CasperSerializableObject,Tag,SerializableObject
- Direct Known Subclasses:
ActivateBidEntryPoint,AddBidEntryPoint,AddReservationsEntryPoint,CallEntryPoint,CancelReservationsEntryPoint,ChangeBidPublicKeyEntryPoint,CustomEntryPoint,DelegateEntryPoint,RedelegateEntryPoint,TransferEntryPoint,UndelegateEntryPoint,WithdrawBidEntryPoint
public abstract class TransactionEntryPoint extends java.lang.Object implements CasperSerializableObject, Tag
The entry point of a Transaction.
-
-
Field Summary
Fields Modifier and Type Field Description protected static intACTIVATE_BID_TAGprotected static intADD_BID_TAGprotected static intADD_RESERVATIONS_TAGprotected static intCALL_TAGprotected static intCANCEL_RESERVATIONS_TAGprotected static intCHANGE_BID_PUBLIC_KEY_TAGprotected static intCUSTOM_CUSTOM_INDEXprotected static intCUSTOM_TAGprotected static intDELEGATE_TAGprotected static intREDELEGATE_TAGprotected static intTAG_FIELD_INDEXprotected static intTRANSFER_TAGprotected static intUNDELEGATE_TAGprotected static intWITHDRAW_BID_TAG
-
Constructor Summary
Constructors Constructor Description TransactionEntryPoint()TransactionEntryPoint(byte tag, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)bytegetByteTag()java.lang.StringgetName()bytegetTag()inthashCode()voidserialize(SerializerBuffer ser, Target target)Called when the object's values must be serializedjava.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.casper.sdk.model.clvalue.serde.CasperSerializableObject
serialize
-
-
-
-
Field Detail
-
TAG_FIELD_INDEX
protected static final int TAG_FIELD_INDEX
- See Also:
- Constant Field Values
-
CUSTOM_CUSTOM_INDEX
protected static final int CUSTOM_CUSTOM_INDEX
- See Also:
- Constant Field Values
-
CALL_TAG
protected static final int CALL_TAG
- See Also:
- Constant Field Values
-
CUSTOM_TAG
protected static final int CUSTOM_TAG
- See Also:
- Constant Field Values
-
TRANSFER_TAG
protected static final int TRANSFER_TAG
- See Also:
- Constant Field Values
-
ADD_BID_TAG
protected static final int ADD_BID_TAG
- See Also:
- Constant Field Values
-
WITHDRAW_BID_TAG
protected static final int WITHDRAW_BID_TAG
- See Also:
- Constant Field Values
-
DELEGATE_TAG
protected static final int DELEGATE_TAG
- See Also:
- Constant Field Values
-
UNDELEGATE_TAG
protected static final int UNDELEGATE_TAG
- See Also:
- Constant Field Values
-
REDELEGATE_TAG
protected static final int REDELEGATE_TAG
- See Also:
- Constant Field Values
-
ACTIVATE_BID_TAG
protected static final int ACTIVATE_BID_TAG
- See Also:
- Constant Field Values
-
CHANGE_BID_PUBLIC_KEY_TAG
protected static final int CHANGE_BID_PUBLIC_KEY_TAG
- See Also:
- Constant Field Values
-
ADD_RESERVATIONS_TAG
protected static final int ADD_RESERVATIONS_TAG
- See Also:
- Constant Field Values
-
CANCEL_RESERVATIONS_TAG
protected static final int CANCEL_RESERVATIONS_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getByteTag
public byte getByteTag()
- Specified by:
getByteTagin interfaceTag
-
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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getTag
public byte getTag()
-
getName
public java.lang.String getName()
-
-