Enum Class SCSpecType

java.lang.Object
java.lang.Enum<SCSpecType>
org.stellar.sdk.xdr.SCSpecType
All Implemented Interfaces:
Serializable, Comparable<SCSpecType>, Constable

public enum SCSpecType extends Enum<SCSpecType>
SCSpecType's original definition in the XDR file is:
 enum SCSpecType
 {
     SC_SPEC_TYPE_VAL = 0,

     // Types with no parameters.
     SC_SPEC_TYPE_BOOL = 1,
     SC_SPEC_TYPE_VOID = 2,
     SC_SPEC_TYPE_ERROR = 3,
     SC_SPEC_TYPE_U32 = 4,
     SC_SPEC_TYPE_I32 = 5,
     SC_SPEC_TYPE_U64 = 6,
     SC_SPEC_TYPE_I64 = 7,
     SC_SPEC_TYPE_TIMEPOINT = 8,
     SC_SPEC_TYPE_DURATION = 9,
     SC_SPEC_TYPE_U128 = 10,
     SC_SPEC_TYPE_I128 = 11,
     SC_SPEC_TYPE_U256 = 12,
     SC_SPEC_TYPE_I256 = 13,
     SC_SPEC_TYPE_BYTES = 14,
     SC_SPEC_TYPE_STRING = 16,
     SC_SPEC_TYPE_SYMBOL = 17,
     SC_SPEC_TYPE_ADDRESS = 19,

     // Types with parameters.
     SC_SPEC_TYPE_OPTION = 1000,
     SC_SPEC_TYPE_RESULT = 1001,
     SC_SPEC_TYPE_VEC = 1002,
     SC_SPEC_TYPE_MAP = 1004,
     SC_SPEC_TYPE_TUPLE = 1005,
     SC_SPEC_TYPE_BYTES_N = 1006,

     // User defined types.
     SC_SPEC_TYPE_UDT = 2000
 };
 
  • Enum Constant Details

    • SC_SPEC_TYPE_VAL

      public static final SCSpecType SC_SPEC_TYPE_VAL
    • SC_SPEC_TYPE_BOOL

      public static final SCSpecType SC_SPEC_TYPE_BOOL
    • SC_SPEC_TYPE_VOID

      public static final SCSpecType SC_SPEC_TYPE_VOID
    • SC_SPEC_TYPE_ERROR

      public static final SCSpecType SC_SPEC_TYPE_ERROR
    • SC_SPEC_TYPE_U32

      public static final SCSpecType SC_SPEC_TYPE_U32
    • SC_SPEC_TYPE_I32

      public static final SCSpecType SC_SPEC_TYPE_I32
    • SC_SPEC_TYPE_U64

      public static final SCSpecType SC_SPEC_TYPE_U64
    • SC_SPEC_TYPE_I64

      public static final SCSpecType SC_SPEC_TYPE_I64
    • SC_SPEC_TYPE_TIMEPOINT

      public static final SCSpecType SC_SPEC_TYPE_TIMEPOINT
    • SC_SPEC_TYPE_DURATION

      public static final SCSpecType SC_SPEC_TYPE_DURATION
    • SC_SPEC_TYPE_U128

      public static final SCSpecType SC_SPEC_TYPE_U128
    • SC_SPEC_TYPE_I128

      public static final SCSpecType SC_SPEC_TYPE_I128
    • SC_SPEC_TYPE_U256

      public static final SCSpecType SC_SPEC_TYPE_U256
    • SC_SPEC_TYPE_I256

      public static final SCSpecType SC_SPEC_TYPE_I256
    • SC_SPEC_TYPE_BYTES

      public static final SCSpecType SC_SPEC_TYPE_BYTES
    • SC_SPEC_TYPE_STRING

      public static final SCSpecType SC_SPEC_TYPE_STRING
    • SC_SPEC_TYPE_SYMBOL

      public static final SCSpecType SC_SPEC_TYPE_SYMBOL
    • SC_SPEC_TYPE_ADDRESS

      public static final SCSpecType SC_SPEC_TYPE_ADDRESS
    • SC_SPEC_TYPE_OPTION

      public static final SCSpecType SC_SPEC_TYPE_OPTION
    • SC_SPEC_TYPE_RESULT

      public static final SCSpecType SC_SPEC_TYPE_RESULT
    • SC_SPEC_TYPE_VEC

      public static final SCSpecType SC_SPEC_TYPE_VEC
    • SC_SPEC_TYPE_MAP

      public static final SCSpecType SC_SPEC_TYPE_MAP
    • SC_SPEC_TYPE_TUPLE

      public static final SCSpecType SC_SPEC_TYPE_TUPLE
    • SC_SPEC_TYPE_BYTES_N

      public static final SCSpecType SC_SPEC_TYPE_BYTES_N
    • SC_SPEC_TYPE_UDT

      public static final SCSpecType SC_SPEC_TYPE_UDT
  • Method Details