/** * True if the value is allowed to be nil. */ public final boolean isNillable() { check_element_dated(); return ((_flags & FLAG_NILLABLE) != 0); }
/** * True if the value is currently defaulted. */ public final boolean isDefaultable() { check_element_dated(); return ((_flags & FLAG_HASDEFAULT) != 0); }
/** * True if the value is fixed. */ public final boolean isFixed() { check_element_dated(); return ((_flags & FLAG_FIXED) != 0); }
/** * Used for situations where these flags must be passed on to * chained values. (See XmlAnySimpleType (allSimpleValue), union * implementations). */ protected int elementFlags() { check_element_dated(); return (_flags & FLAGS_ELEMENT); }
/** * Called before every set operation (except for the * special case of setting a string) to: * (1) get the nillable, fixed, etc flags * (2) throw an exception if it's fixed (not for strings) */ private final void set_prepare() { check_element_dated(); if ((_flags & FLAG_IMMUTABLE) != 0) throw new IllegalStateException(); }
/** * Used for situations where these flags must be passed on to * chained values. (See XmlAnySimpleType (allSimpleValue), union * implementations). */ protected int elementFlags() { check_element_dated(); return (_flags & FLAGS_ELEMENT); }
/** * Used for situations where these flags must be passed on to * chained values. (See XmlAnySimpleType (allSimpleValue), union * implementations). */ protected int elementFlags() { check_element_dated(); return (_flags & FLAGS_ELEMENT); }
/** * True if the value is allowed to be nil. */ public final boolean isNillable() { check_element_dated(); return ((_flags & FLAG_NILLABLE) != 0); }
/** * True if the value is currently defaulted. */ public final boolean isDefaultable() { check_element_dated(); return ((_flags & FLAG_HASDEFAULT) != 0); }
/** * True if the value is allowed to be nil. */ public final boolean isNillable() { check_element_dated(); return ((_flags & FLAG_NILLABLE) != 0); }
/** * True if the value is currently defaulted. */ public final boolean isDefaultable() { check_element_dated(); return ((_flags & FLAG_HASDEFAULT) != 0); }
/** * True if the value is fixed. */ public final boolean isFixed() { check_element_dated(); return ((_flags & FLAG_FIXED) != 0); }
/** * True if the value is fixed. */ public final boolean isFixed() { check_element_dated(); return ((_flags & FLAG_FIXED) != 0); }
/** * Called before every set operation (except for the * special case of setting a string) to: * (1) get the nillable, fixed, etc flags * (2) throw an exception if it's fixed (not for strings) */ private final void set_prepare() { check_element_dated(); if ((_flags & FLAG_IMMUTABLE) != 0) throw new IllegalStateException(); }
/** * Called before every set operation (except for the * special case of setting a string) to: * (1) get the nillable, fixed, etc flags * (2) throw an exception if it's fixed (not for strings) */ private final void set_prepare() { check_element_dated(); if ((_flags & FLAG_IMMUTABLE) != 0) throw new IllegalStateException(); }