company logo

PropertyDefinition :: supressEmpty - NOT_EMPTY option

For properties the option defines a constraint, which prohibits storing instances containing empty property values in properties. When setting this options for an attribute, empty attribute values in this attribute will cause an error.

When setting this option for a collection (reference or relationship) will cause denying of storing the instance as long as the collection does not contain at least one instance.

Also when defining dynamic attribute definitions (attribute extensions), this option may be passed by the application.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool PropertyDefinition  :: supressEmpty (  )

If the function is not called with a valid property definition it throws an exception.