public class Restrictions
extends java.lang.Object
| Constructor and Description |
|---|
Restrictions() |
| Modifier and Type | Method and Description |
|---|---|
Restrictions |
setReadOnlyUI()
Set the read only ui field to true.
|
Restrictions |
setReadOnlyUI(java.lang.Boolean value)
Set the read only ui field.
|
Restrictions |
setRestriction(java.lang.String key,
java.lang.Object value)
Set the custom field into restrictions.
|
java.util.HashMap |
toHash() |
public Restrictions setRestriction(java.lang.String key, java.lang.Object value)
key - The key of the field.value - The value of the field.public Restrictions setReadOnlyUI(java.lang.Boolean value)
value - The read only ui value.public Restrictions setReadOnlyUI()
public java.util.HashMap toHash()