| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private Set | |
| private Comparable | |
| private Comparable | |
| private transient Integer | |
| private transient String | |
| private OpenType | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | OpenMBeanParameterInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<?> cannot be null. openType)Constructs an |
| public | OpenMBeanParameterInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<?> cannot be null. openType, Descriptor The descriptor for the parameter. This may be null
which is equivalent to an empty descriptor. descriptor)Constructs an |
| public < allows the compiler to check that the T>defaultValue,
if non-null, has the correct Java type for the given openType. | OpenMBeanParameterInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<T> cannot be null. openType, T must be a valid value for the defaultValue)openType specified for this parameter; default value not
supported for ArrayType and TabularType; can be
null, in which case it means that no default value is set.Constructs an |
| public < allows the compiler to check that the T>defaultValue and legalValues, if non-null, have the
correct Java type for the given openType. | OpenMBeanParameterInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<T> cannot be null. openType, T must be a valid value for the defaultValue, T[] openType specified for this parameter; default value not
supported for ArrayType and TabularType; can be
null, in which case it means that no default value is set.each contained value must be valid for the
legalValues)openType specified for this parameter; legal values not
supported for ArrayType and TabularType; can be
null or empty.Constructs an |
| public < allows the compiler to check that the T>defaultValue, minValue, and maxValue, if
non-null, have the correct Java type for the given openType. | OpenMBeanParameterInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<T> cannot be null. openType, T must be a valid value for the defaultValue, Comparable<T> openType specified for this parameter; default value not
supported for ArrayType and TabularType; can be
null, in which case it means that no default value is set.must be valid for the minValue, Comparable<T> openType
specified for this parameter; can be null, in which case it
means that no minimal value is set.must be valid for the maxValue)openType
specified for this parameter; can be null, in which case it
means that no maximal value is set.Constructs an |
| private <T> | OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the specified object is equal to this
OpenMBeanParameterInfoSupport instance.the object to be compared for equality with this
obj)OpenMBeanParameterInfoSupport instance.Overrides javax. Implements javax. Compares the specified |
| public Object | getDefaultValue()
Implements javax. Returns the default value for the parameter described by this
|
| public Set | getLegalValues()
Implements javax. Returns an unmodifiable Set of legal values for the parameter
described by this |
| public Comparable | getMaxValue()
Implements javax. Returns the maximal value for the parameter described by this
|
| public Comparable | getMinValue()
Implements javax. Returns the minimal value for the parameter described by this
|
| public OpenType | getOpenType()
Implements javax. Returns the open type for the values of the parameter described
by this |
| public boolean | hasDefaultValue()
Implements javax. Returns |
| public int | Returns: the hash code value for thisOpenMBeanParameterInfoSupport instanceOverrides javax. Implements javax. Returns the hash code value for this |
| public boolean | hasLegalValues()
Implements javax. Returns |
| public boolean | hasMaxValue()
Implements javax. Returns |
| public boolean | hasMinValue()
Implements javax. Returns |
| public boolean | Returns: true if obj is a valid value
for the parameter described by this
OpenMBeanParameterInfo instance,
false otherwise.the object to be tested. obj)Implements javax. Tests whether |
| private Object | readResolve()
An object serialized in a version of the API before Descriptors were added to this class will have an empty or null Descriptor. |
| public String | Returns: a string representation of thisOpenMBeanParameterInfoSupport instance.Overrides javax. Implements javax. Returns a string representation of this
|
| defaultValue | back to summary |
|---|---|
private Object defaultValue
| |
| legalValues | back to summary |
|---|---|
private Set<?> legalValues
| |
| maxValue | back to summary |
|---|---|
private Comparable<?> maxValue
| |
| minValue | back to summary |
|---|---|
private Comparable<?> minValue
| |
| myHashCode | back to summary |
|---|---|
| private transient Integer myHashCode | |
| myToString | back to summary |
|---|---|
| private transient String myToString | |
| openType | back to summary |
|---|---|
| private OpenType<?> openType | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| OpenMBeanParameterInfoSupport | back to summary |
|---|---|
| public OpenMBeanParameterInfoSupport(String name, String description, OpenType<?> openType) Constructs an
| |
| OpenMBeanParameterInfoSupport | back to summary |
|---|---|
| public OpenMBeanParameterInfoSupport(String name, String description, OpenType<?> openType, Descriptor descriptor) Constructs an The
| |
| OpenMBeanParameterInfoSupport | back to summary |
|---|---|
| public <T> OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue) throws OpenDataException Constructs an
| |
| OpenMBeanParameterInfoSupport | back to summary |
|---|---|
| public <T> OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue, T[] legalValues) throws OpenDataException Constructs an The contents of
| |
| OpenMBeanParameterInfoSupport | back to summary |
|---|---|
| public <T> OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue, Comparable<T> minValue, Comparable<T> maxValue) throws OpenDataException Constructs an
| |
| OpenMBeanParameterInfoSupport | back to summary |
|---|---|
| private <T> OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue) throws OpenDataException | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides javax. Implements javax. Compares the specified Returns
equals method works properly for
obj parameters which are different implementations of
the OpenMBeanParameterInfo interface.
If
| |
| getDefaultValue | back to summary |
|---|---|
| public Object getDefaultValue() Implements javax. Returns the default value for the parameter described by this
| |
| getLegalValues | back to summary |
|---|---|
| public Set Implements javax. Returns an unmodifiable Set of legal values for the parameter
described by this | |
| getMaxValue | back to summary |
|---|---|
| public Comparable Implements javax. Returns the maximal value for the parameter described by this
| |
| getMinValue | back to summary |
|---|---|
| public Comparable Implements javax. Returns the minimal value for the parameter described by this
| |
| getOpenType | back to summary |
|---|---|
| public OpenType Implements javax. Returns the open type for the values of the parameter described
by this | |
| hasDefaultValue | back to summary |
|---|---|
| public boolean hasDefaultValue() Implements javax. Returns | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides javax. Implements javax. Returns the hash code value for this The hash code of an This ensures that However, note that another instance of a class implementing
the As
| |
| hasLegalValues | back to summary |
|---|---|
| public boolean hasLegalValues() Implements javax. Returns | |
| hasMaxValue | back to summary |
|---|---|
| public boolean hasMaxValue() Implements javax. Returns | |
| hasMinValue | back to summary |
|---|---|
| public boolean hasMinValue() Implements javax. Returns | |
| isValue | back to summary |
|---|---|
| public boolean isValue(Object obj) Implements javax. Tests whether
| |
| readResolve | back to summary |
|---|---|
| private Object readResolve() An object serialized in a version of the API before Descriptors were added to this class will have an empty or null Descriptor. For consistency with our behavior in this version, we must replace the object with one where the Descriptors reflect the same values of openType, defaultValue, etc. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides javax. Implements javax. Returns a string representation of this
The string representation consists of the name of this class (i.e.
As
| |