public class AdditionalRole extends ValueConstruct
AbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
static AdditionalRole |
APPENDER
Predefined value 'appender' to indicate that a user has the right to add
to the controlled object.
|
static AdditionalRole |
COMMENTER
Predefined value 'commenter' to indicate that a user has the right to
comment on the controlled object.
|
static AdditionalRole |
EXECUTER
Predefined value 'executer' to indicate that a user has the right to
execute the controlled object.
|
attrNamelocalName, namespace| Constructor and Description |
|---|
AdditionalRole()
Default mutable constructor.
|
AdditionalRole(String value)
Constructor (mutable or immutable).
|
| Modifier and Type | Method and Description |
|---|---|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValuedisableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validatepublic static final AdditionalRole APPENDER
public static final AdditionalRole COMMENTER
public static final AdditionalRole EXECUTER
public AdditionalRole()
public AdditionalRole(String value)
value - immutable value or null for a mutable valuepublic static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required - whether it is requiredrepeatable - whether it is repeatableCopyright © 2012. All Rights Reserved.