Function me::AllowedAttribute(runtimeId, attr)

me::AllowedAttribute

The function me::AllowedAttribute returns 1 if the attribute is allowed for the runtime id.

me::AllowedAttribute(
        runtimeId,  ! (input) an element
        attr        ! (input) an element
)

Arguments

runtimeId

An element in the set AllIdentifiers referencing a runtime identifier.

attr

An element in the set AllAttributeNames

Return Value

Returns 1 if the attribute attr of runtime identifier runtimeId is allowed.

When runtimeId doesn’t reference a runtime identifier an error will be raised.

Example

The code:

_bp_isAllowedAttribute := me::AllowedAttribute('webui_runtime::AllImplicitPublicIdentifiers','text');
display _bp_isAllowedAttribute ;

produces in the listing file:

_bp_isAllowedAttribute := 1 ;

References

Generic references for model edit functions can be found on the index page