Package org.xrpl.xrpl4j.model.flags
Class RippleStateFlags
java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.RippleStateFlags
A set of static
Flags which can be set on RippleStateObjects.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RippleStateFlagsConstantRippleStateFlagsfor thelsfHighAuthflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfHighDeepFreezeflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfHighFreezeflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfHighNoRippleflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfHighReserveflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfLowAuthflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfLowDeepFreezeflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfLowFreezeflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfLowNoRippleflag.static final RippleStateFlagsConstantRippleStateFlagsfor thelsfLowReserveflag. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe high account has authorized the low account to hold the high account's issued currency.booleanThe high account has deep-frozen the trust line, preventing the low account from sending and receiving the asset.booleanThe high account has frozen the trust line, preventing the low account from transferring the asset.booleanThe high account has disabled rippling from this trust line.booleanThe correspondingRippleStateObjectcontributes to the high account's owner reserve.booleanThe low account has authorized the high account to hold the low account's issued currency.booleanThe low account has deep-frozen the trust line, preventing the high account from sending and receiving the asset.booleanThe low account has frozen the trust line, preventing the high account from transferring the asset.booleanThe low account has disabled rippling from this trust line.booleanThe correspondingRippleStateObjectcontributes to the low account's owner reserve.static RippleStateFlagsof(long value) ConstructRippleStateFlagswith a given value.
-
Field Details
-
LOW_RESERVE
ConstantRippleStateFlagsfor thelsfLowReserveflag. -
HIGH_RESERVE
ConstantRippleStateFlagsfor thelsfHighReserveflag. -
LOW_AUTH
ConstantRippleStateFlagsfor thelsfLowAuthflag. -
HIGH_AUTH
ConstantRippleStateFlagsfor thelsfHighAuthflag. -
LOW_NO_RIPPLE
ConstantRippleStateFlagsfor thelsfLowNoRippleflag. -
HIGH_NO_RIPPLE
ConstantRippleStateFlagsfor thelsfHighNoRippleflag. -
LOW_FREEZE
ConstantRippleStateFlagsfor thelsfLowFreezeflag. -
HIGH_FREEZE
ConstantRippleStateFlagsfor thelsfHighFreezeflag. -
LOW_DEEP_FREEZE
ConstantRippleStateFlagsfor thelsfLowDeepFreezeflag. -
HIGH_DEEP_FREEZE
ConstantRippleStateFlagsfor thelsfHighDeepFreezeflag.
-
-
Method Details
-
of
ConstructRippleStateFlagswith a given value.- Parameters:
value- The long-number encoded flags value of thisRippleStateFlags.- Returns:
- New
RippleStateFlags.
-
lsfLowReserve
public boolean lsfLowReserve()The correspondingRippleStateObjectcontributes to the low account's owner reserve.- Returns:
trueiflsfLowReserveis set, otherwisefalse.
-
lsfHighReserve
public boolean lsfHighReserve()The correspondingRippleStateObjectcontributes to the high account's owner reserve.- Returns:
trueiflsfHighReserveis set, otherwisefalse.
-
lsfLowAuth
public boolean lsfLowAuth()The low account has authorized the high account to hold the low account's issued currency.- Returns:
trueiflsfLowAuthis set, otherwisefalse.
-
lsfHighAuth
public boolean lsfHighAuth()The high account has authorized the low account to hold the high account's issued currency.- Returns:
trueiflsfHighAuthis set, otherwisefalse.
-
lsfLowNoRipple
public boolean lsfLowNoRipple()The low account has disabled rippling from this trust line.- Returns:
trueiflsfLowNoRippleis set, otherwisefalse.
-
lsfHighNoRipple
public boolean lsfHighNoRipple()The high account has disabled rippling from this trust line.- Returns:
trueiflsfHighNoRippleis set, otherwisefalse.
-
lsfLowFreeze
public boolean lsfLowFreeze()The low account has frozen the trust line, preventing the high account from transferring the asset.- Returns:
trueiflsfLowFreezeis set, otherwisefalse.
-
lsfHighFreeze
public boolean lsfHighFreeze()The high account has frozen the trust line, preventing the low account from transferring the asset.- Returns:
trueiflsfHighFreezeis set, otherwisefalse.
-
lsfLowDeepFreeze
public boolean lsfLowDeepFreeze()The low account has deep-frozen the trust line, preventing the high account from sending and receiving the asset.- Returns:
trueiflsfLowDeepFreezeis set, otherwisefalse.
-
lsfHighDeepFreeze
public boolean lsfHighDeepFreeze()The high account has deep-frozen the trust line, preventing the low account from sending and receiving the asset.- Returns:
trueiflsfHighDeepFreezeis set, otherwisefalse.
-