def saved?
      @flags.include?(:saved) or
        (java_property? and not (@flags.include?(:unsaved) or transient? or proxied_save?) and
          (nondomain? or cascaded? or not collection? or inverse.nil? or unidirectional_java_dependent?))
    end
def saved?
      @flags.include?(:saved) or
        (java_property? and not (@flags.include?(:unsaved) or transient? or proxied_save?) and
          (nondomain? or cascaded? or not collection? or inverse.nil? or unidirectional_java_dependent?))
    end
This property is saved if it is a Java property that is not {#unsaved} or {#proxied_save?}
 and any of the following conditions hold:
 * it is {#nondomain?}
 * it is {#cascaded?}
 * it is not a {#collection?}
 * it does not have an inverse
 * it is a {#unidirectional_java_dependent?}

 @return [Boolean] whether this attribute is saved in a create or update operation