| Modifier and Type | Field and Description |
|---|---|
| private final String | name
The property name. |
| private final Class | type
The property type. |
| private Object | value
The property value. |
| Access | Constructor and Description |
|---|---|
| public | AnnotationProperty(String
the property name. name, Class<?> the property type. type)Creates a new annotation property instance. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public String | |
| public Class | |
| public Object | |
| protected int | Returns: this annotation value hash code.Calculates this annotation value hash code. |
| public int | |
| public void | |
| public String | |
| protected String | Returns: thetoString of the property value.Calculates the |
| name | back to summary |
|---|---|
| private final String name The property name. | |
| type | back to summary |
|---|---|
| private final Class<?> type The property type. | |
| value | back to summary |
|---|---|
| private Object value The property value. This field can be mutable. | |
| AnnotationProperty | back to summary |
|---|---|
| public AnnotationProperty(String name, Class<?> type) Creates a new annotation property instance. | |
| 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. | |
| getName | back to summary |
|---|---|
| public String getName() Returns the property name.
| |
| getType | back to summary |
|---|---|
| public Class Returns the property type.
| |
| getValue | back to summary |
|---|---|
| public Object getValue() Returns the property value.
| |
| getValueHashCode | back to summary |
|---|---|
| protected int getValueHashCode() Calculates this annotation value hash code.
| |
| 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
| |
| setValue | back to summary |
|---|---|
| public void setValue(Object value) Sets the property value.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| valueToString | back to summary |
|---|---|
| protected String valueToString() Calculates the
| |