Interface PermissionedDomainObject

All Superinterfaces:
LedgerObject
All Known Implementing Classes:
ImmutablePermissionedDomainObject

@Immutable public interface PermissionedDomainObject extends LedgerObject
This object represents a permissioned domain controlled by the owner().
  • Method Details

    • builder

      Construct a builder for this class.
      Returns:
      An ImmutablePermissionedDomainObject.Builder.
    • ledgerEntryType

      @Derived default LedgerObject.LedgerEntryType ledgerEntryType()
      Indicates that this object is a PermissionedDomainObject object.
      Returns:
      Always LedgerObject.LedgerEntryType.PERMISSIONED_DOMAIN.
    • flags

      @Derived default Flags flags()
      A bit-map of boolean flags. No flags are defined for PermissionedDomainObject, so this value is always 0.
      Returns:
      Always Flags.UNSET.
    • owner

      Address owner()
      The account that controls the settings of the domain.
      Returns:
      The Address of the domain owner.
    • ownerNode

      String ownerNode()
      A hint indicating which page of the sender's owner directory links to this object, in case the directory consists of multiple pages.
      Returns:
      A String containing the owner node hint.
    • sequence

      com.google.common.primitives.UnsignedInteger sequence()
      The Sequence value of the PermissionedDomainSet transaction that created this domain. Used in combination with the owner() to identify this domain.
      Returns:
      An UnsignedInteger.
    • acceptedCredentials

      List<CredentialWrapper> acceptedCredentials()
      The credentials that are accepted by the domain. Ownership of one of these credentials automatically makes you a member of the domain.
      Returns:
      A list of CredentialWrapper.
    • previousTxnId

      Hash256 previousTxnId()
      The identifying hash of the transaction that most recently modified this object.
      Returns:
      A Hash256 containing the previous transaction hash.
    • previousTransactionLedgerSequence

      com.google.common.primitives.UnsignedInteger previousTransactionLedgerSequence()
      The index of the ledger that contains the transaction that most recently modified this object.
      Returns:
      A UnsignedInteger representing the previous transaction sequence.
    • index

      Hash256 index()
      The unique ID of the PermissionedDomainObject.
      Returns:
      A Hash256.