Class Entity

java.lang.Object
dev.vality.bouncer.base.Entity
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Entity>, org.apache.thrift.TBase<Entity,​Entity._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-08-25")
public class Entity
extends Object
implements org.apache.thrift.TBase<Entity,​Entity._Fields>, Serializable, Cloneable, Comparable<Entity>
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • Entity

      public Entity()
    • Entity

      public Entity​(Entity other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public Entity deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<Entity,​Entity._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<Entity,​Entity._Fields>
    • getId

      public String getId()
    • setId

      public Entity setId​(String id)
    • unsetId

      public void unsetId()
    • isSetId

      public boolean isSetId()
      Returns true if field id is set (has been assigned a value) and false otherwise
    • setIdIsSet

      public void setIdIsSet​(boolean value)
    • getType

      public String getType()
    • setType

      public Entity setType​(String type)
    • unsetType

      public void unsetType()
    • isSetType

      public boolean isSetType()
      Returns true if field type is set (has been assigned a value) and false otherwise
    • setTypeIsSet

      public void setTypeIsSet​(boolean value)
    • getParty

      public String getParty()
    • setParty

      public Entity setParty​(String party)
    • unsetParty

      public void unsetParty()
    • isSetParty

      public boolean isSetParty()
      Returns true if field party is set (has been assigned a value) and false otherwise
    • setPartyIsSet

      public void setPartyIsSet​(boolean value)
    • getWallet

      public WalletAttrs getWallet()
    • setWallet

      public Entity setWallet​(WalletAttrs wallet)
    • unsetWallet

      public void unsetWallet()
    • isSetWallet

      public boolean isSetWallet()
      Returns true if field wallet is set (has been assigned a value) and false otherwise
    • setWalletIsSet

      public void setWalletIsSet​(boolean value)
    • setFieldValue

      public void setFieldValue​(Entity._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<Entity,​Entity._Fields>
    • getFieldValue

      public Object getFieldValue​(Entity._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<Entity,​Entity._Fields>
    • isSet

      public boolean isSet​(Entity._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<Entity,​Entity._Fields>
    • equals

      public boolean equals​(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals​(Entity that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo​(Entity other)
      Specified by:
      compareTo in interface Comparable<Entity>
    • fieldForId

      public Entity._Fields fieldForId​(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<Entity,​Entity._Fields>
    • getFields

      public Entity._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<Entity,​Entity._Fields>
    • getFieldMetaData

      public Map<Entity._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<Entity,​Entity._Fields>
    • read

      public void read​(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException