Package org.xrpl.xrpl4j.model.ledger
Interface PermissionedDomainObject
- All Superinterfaces:
LedgerObject
- All Known Implementing Classes:
ImmutablePermissionedDomainObject
This object represents a permissioned domain controlled by the
owner().-
Nested Class Summary
Nested classes/interfaces inherited from interface org.xrpl.xrpl4j.model.ledger.LedgerObject
LedgerObject.LedgerEntryType -
Method Summary
Modifier and TypeMethodDescriptionThe credentials that are accepted by the domain.builder()Construct a builder for this class.default Flagsflags()A bit-map of boolean flags.index()The unique ID of thePermissionedDomainObject.default LedgerObject.LedgerEntryTypeIndicates that this object is aPermissionedDomainObjectobject.owner()The account that controls the settings of the domain.A hint indicating which page of the sender's owner directory links to this object, in case the directory consists of multiple pages.com.google.common.primitives.UnsignedIntegerThe index of the ledger that contains the transaction that most recently modified this object.The identifying hash of the transaction that most recently modified this object.com.google.common.primitives.UnsignedIntegersequence()The Sequence value of thePermissionedDomainSettransaction that created this domain.
-
Method Details
-
builder
Construct a builder for this class.- Returns:
- An
ImmutablePermissionedDomainObject.Builder.
-
ledgerEntryType
Indicates that this object is aPermissionedDomainObjectobject.- Returns:
- Always
LedgerObject.LedgerEntryType.PERMISSIONED_DOMAIN.
-
flags
A bit-map of boolean flags. No flags are defined forPermissionedDomainObject, so this value is always 0.- Returns:
- Always
Flags.UNSET.
-
owner
Address owner()The account that controls the settings of the domain.- Returns:
- The
Addressof 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
Stringcontaining the owner node hint.
-
sequence
com.google.common.primitives.UnsignedInteger sequence()The Sequence value of thePermissionedDomainSettransaction that created this domain. Used in combination with theowner()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
Hash256containing 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
UnsignedIntegerrepresenting the previous transaction sequence.
-
index
Hash256 index()The unique ID of thePermissionedDomainObject.- Returns:
- A
Hash256.
-