{
Attribute attribute = getStaticAttribute(nOrdinal);
// Check the access rights
Context context = ThreadContextHolder.getContext();
if (context.isSecure())
{
if (!attribute.isUpdateable(context.getPrivilegeSet()))
{
throw new SecurityViolationException(
(attribute.isReadOnly()) ?
"err.runtime.attributeReadOnlyAccess" :
"err.runtime.attributeUpdateAccess",