| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private String | |
| private String | |
| private boolean | |
| private String | |
| private UPAttributePermissions | permissions
null means everyone can view and edit the attribute |
| private UPAttributeRequired | required
null means it is not required |
| private UPAttributeSelector | selector
null means it is always selected |
| private Map | validations
key in the Map is name of the validator, value is its configuration |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | UPAttribute(String name, UPAttributePermissions permissions, UPAttributeRequired required, UPAttributeSelector selector)
|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected UPAttribute | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public Map | |
| public String | |
| public String | |
| public String | |
| public UPAttributePermissions | |
| public UPAttributeRequired | |
| public UPAttributeSelector | |
| public Map | |
| public int | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| annotations | back to summary |
|---|---|
| private Map<String, Object> annotations | |
| displayName | back to summary |
|---|---|
| private String displayName | |
| group | back to summary |
|---|---|
| private String group | |
| multivalued | back to summary |
|---|---|
| private boolean multivalued | |
| name | back to summary |
|---|---|
| private String name | |
| permissions | back to summary |
|---|---|
| private UPAttributePermissions permissions null means everyone can view and edit the attribute | |
| required | back to summary |
|---|---|
| private UPAttributeRequired required null means it is not required | |
| selector | back to summary |
|---|---|
| private UPAttributeSelector selector null means it is always selected | |
| validations | back to summary |
|---|---|
| private Map<String, Map<String, Object>> validations key in the Map is name of the validator, value is its configuration | |
| UPAttribute | back to summary |
|---|---|
| public UPAttribute() | |
| UPAttribute | back to summary |
|---|---|
| public UPAttribute(String name) | |
| UPAttribute | back to summary |
|---|---|
| public UPAttribute(String name, UPGroup group) | |
| UPAttribute | back to summary |
|---|---|
| public UPAttribute(String name, UPAttributePermissions permissions, UPAttributeRequired required, UPAttributeSelector selector) | |
| UPAttribute | back to summary |
|---|---|
| public UPAttribute(String name, UPAttributePermissions permissions, UPAttributeRequired required) | |
| UPAttribute | back to summary |
|---|---|
| public UPAttribute(String name, UPAttributePermissions permissions) | |
| UPAttribute | back to summary |
|---|---|
| public UPAttribute(String name, boolean multivalued, UPAttributePermissions permissions) | |
| addValidation | back to summary |
|---|---|
| public void addValidation(String validator, Map<String, Object> config) | |
| clone | back to summary |
|---|---|
| protected UPAttribute clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAnnotations | back to summary |
|---|---|
| public Map | |
| getDisplayName | back to summary |
|---|---|
| public String getDisplayName() | |
| getGroup | back to summary |
|---|---|
| public String getGroup() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getPermissions | back to summary |
|---|---|
| public UPAttributePermissions getPermissions() | |
| getRequired | back to summary |
|---|---|
| public UPAttributeRequired getRequired() | |
| getSelector | back to summary |
|---|---|
| public UPAttributeSelector getSelector() | |
| getValidations | back to summary |
|---|---|
| public Map | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isMultivalued | back to summary |
|---|---|
| public boolean isMultivalued() | |
| setAnnotations | back to summary |
|---|---|
| public void setAnnotations(Map<String, Object> annotations) | |
| setDisplayName | back to summary |
|---|---|
| public void setDisplayName(String displayName) | |
| setGroup | back to summary |
|---|---|
| public void setGroup(String group) | |
| setMultivalued | back to summary |
|---|---|
| public void setMultivalued(boolean multivalued) | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| setPermissions | back to summary |
|---|---|
| public void setPermissions(UPAttributePermissions permissions) | |
| setRequired | back to summary |
|---|---|
| public void setRequired(UPAttributeRequired required) | |
| setSelector | back to summary |
|---|---|
| public void setSelector(UPAttributeSelector selector) | |
| setValidations | back to summary |
|---|---|
| public void setValidations(Map<String, Map<String, Object>> validations) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |