@Target(value={METHOD,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface ReadOnly
PropertyBean properties that are read-only.
A read-only property is one which is set internally by the implementation of the
ManagedPortalObject.
The property must have a null value on a
PropertyBean which is used for a create operation.
For an update operation, performed by calling
ManagedPortalObject.setProperties(B), the PropertyBean property value
must be equal to the existing property value on the ManagedPortalObject.
The ReadOnly annotation must be applied to the property getter method.
Read-only properties are enforced by the presence of an ValidateReadOnly class level validator.
ValidateReadOnly,
Immutable| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<?> |
propertyGroup |