Package org.xrpl.xrpl4j.model.flags
Class CredentialFlags
java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.CredentialFlags
A set of static
Flags which can be set on CredentialObject's.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CredentialFlagsConstantCredentialFlagsfor thelsfAcceptedflag.static final CredentialFlagsConstant for an unset flag. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the subject of the credential has accepted the credential.static CredentialFlagsof(long value) ConstructCredentialFlagswith a given value.
-
Field Details
-
UNSET
Constant for an unset flag. -
ACCEPTED
ConstantCredentialFlagsfor thelsfAcceptedflag.
-
-
Method Details
-
of
ConstructCredentialFlagswith a given value.- Parameters:
value- The long-number encoded flags value of thisCredentialFlags.- Returns:
- New
CredentialFlags.
-
lsfAccepted
public boolean lsfAccepted()Indicates whether the subject of the credential has accepted the credential.- Returns:
trueiflsfAcceptedis set, otherwisefalse.
-