| Modifier and Type | Field and Description |
|---|---|
| private String | className
The class name. |
| private String | valueName
The value name. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | AnnotationEnumValue(final String
The enum class name. className, final String The enum const value name. constValueName)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final AnnotationEnumValue
the object to be compared. o)Implements java. Compares this object with the specified object for order. |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | Returns: The name of the enum class.Implements abstract io. Get the class name. |
| public String | Returns: The fully-qualified name of the enum constant value, i.e. (getClassName() +
{#getValueName()}).Get the name. |
| public String | |
| public int | |
| public Object | Returns: The enum constant value represented by thisAnnotationEnumValueIf true, ignore classloading exceptions and return null on failure. ignoreExceptions)Loads the enum class, instantiates the enum constants for the class, and returns the enum constant value
represented by this |
| public Object | Returns: The enum constant value represented by thisAnnotationEnumValueLoads the enum class, instantiates the enum constants for the class, and returns the enum constant value
represented by this |
| protected void | toString(final boolean
if true, use just the simple name of each class. useSimpleNames, final StringBuilder the buf buf)Implements abstract io. Render to string. |
| className | back to summary |
|---|---|
| private String className The class name. | |
| valueName | back to summary |
|---|---|
| private String valueName The value name. | |
| AnnotationEnumValue | back to summary |
|---|---|
| pack-priv AnnotationEnumValue() Default constructor for deserialization. | |
| AnnotationEnumValue | back to summary |
|---|---|
| pack-priv AnnotationEnumValue(final String className, final String constValueName) Constructor. | |
| compareTo | back to summary |
|---|---|
| public int compareTo(final AnnotationEnumValue o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(final 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. | |
| getClassName | back to summary |
|---|---|
| public String getClassName() Implements abstract io. Get the class name. | |
| getName | back to summary |
|---|---|
| public String getName() Get the name.
| |
| getValueName | back to summary |
|---|---|
| public String getValueName() Get the value name.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| loadClassAndReturnEnumValue | back to summary |
|---|---|
| public Object loadClassAndReturnEnumValue(final boolean ignoreExceptions) throws IllegalArgumentException Loads the enum class, instantiates the enum constants for the class, and returns the enum constant value
represented by this
| |
| loadClassAndReturnEnumValue | back to summary |
|---|---|
| public Object loadClassAndReturnEnumValue() throws IllegalArgumentException Loads the enum class, instantiates the enum constants for the class, and returns the enum constant value
represented by this
| |
| toString | back to summary |
|---|---|
| protected void toString(final boolean useSimpleNames, final StringBuilder buf) Implements abstract io. Doc from io. Render to string.
| |