| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final Set | |
| private final Comparable | |
| private final Comparable | |
| private transient Integer | |
| private transient String | |
| private OpenType | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | OpenMBeanAttributeInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<?> cannot be null. openType, boolean true if the attribute has a getter
exposed for management.true if the attribute has a setter
exposed for management.true if the attribute's getter is of the
form isXXX.Constructs an |
| public | OpenMBeanAttributeInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<?> cannot be null. openType, boolean true if the attribute has a getter
exposed for management.true if the attribute has a setter
exposed for management.true if the attribute's getter is of the
form isXXX.The descriptor for the attribute. 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. | OpenMBeanAttributeInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<T> cannot be null. openType, boolean true if the attribute has a getter
exposed for management.true if the attribute has a setter
exposed for management.true if the attribute's getter is of the
form isXXX.must be a valid value for the defaultValue)openType specified for this attribute; 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. | OpenMBeanAttributeInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<T> cannot be null. openType, boolean true if the attribute has a getter
exposed for management.true if the attribute has a setter
exposed for management.true if the attribute's getter is of the
form isXXX.must be a valid value
for the defaultValue, T[] openType specified for this attribute; 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 attribute; 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. | OpenMBeanAttributeInfoSupport(String
cannot be a null or empty string. name, String cannot be a null or empty string. description, OpenType<T> cannot be null. openType, boolean true if the attribute has a getter
exposed for management.true if the attribute has a setter
exposed for management.true if the attribute's getter is of the
form isXXX.must be a valid value for the defaultValue, Comparable<T> openType specified for this attribute; 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 attribute; can be null, in which case it
means that no minimal value is set.must be valid for the maxValue)openType
specified for this attribute; can be null, in which case it
means that no maximal value is set.Constructs an |
| private <T> | OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T> T | |
| pack-priv static void | |
| pack-priv static <T> Comparable | |
| pack-priv static int | |
| private static <T> T | |
| private static <T> T | |
| private static <T> T | |
| private static <T> T | |
| pack-priv static boolean | |
| public boolean | Returns: true if the specified object is equal to this
OpenMBeanAttributeInfoSupport instance.the object to be compared for equality with this
obj)OpenMBeanAttributeInfoSupport instance.Overrides javax. Implements javax. Compares the specified |
| public Object | getDefaultValue()
Implements javax. Returns the default value for the attribute described by this
|
| public Set | getLegalValues()
Implements javax. Returns an unmodifiable Set of legal values for the attribute
described by this |
| public Comparable | getMaxValue()
Implements javax. Returns the maximal value for the attribute described by this
|
| public Comparable | getMinValue()
Implements javax. Returns the minimal value for the attribute described by this
|
| public OpenType | getOpenType()
Implements javax. Returns the open type for the values of the attribute described
by this |
| public boolean | hasDefaultValue()
Implements javax. Returns |
| public int | Returns: the hash code value for thisOpenMBeanAttributeInfoSupport instanceOverrides javax. Implements javax. Returns the hash code value for this |
| pack-priv static int | |
| 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 OpenMBeanAttributeInfoSupport instance, false
otherwise.the object to be tested. obj)Implements javax. Tests whether |
| pack-priv static boolean | |
| pack-priv static <T> Descriptor | makeDescriptor(OpenType<T> openType, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue)
|
| pack-priv static <T> Descriptor | makeDescriptor(OpenType<T> openType, T defaultValue, Set<T> legalValues, Comparable<T> minValue, Comparable<T> maxValue)
|
| 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 thisOpenMBeanAttributeInfoSupport instance.Overrides javax. Implements javax. Returns a string representation of this
|
| pack-priv static String | |
| pack-priv static <T> T | |
| pack-priv static <T> Set |
| defaultValue | back to summary |
|---|---|
private final Object defaultValue
| |
| legalValues | back to summary |
|---|---|
private final Set<?> legalValues
| |
| maxValue | back to summary |
|---|---|
private final Comparable<?> maxValue
| |
| minValue | back to summary |
|---|---|
private final 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 | |
| OpenMBeanAttributeInfoSupport | back to summary |
|---|---|
| public OpenMBeanAttributeInfoSupport(String name, String description, OpenType<?> openType, boolean isReadable, boolean isWritable, boolean isIs) Constructs an
| |
| OpenMBeanAttributeInfoSupport | back to summary |
|---|---|
| public OpenMBeanAttributeInfoSupport(String name, String description, OpenType<?> openType, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor) Constructs an The
| |
| OpenMBeanAttributeInfoSupport | back to summary |
|---|---|
| public <T> OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue) throws OpenDataException Constructs an
| |
| OpenMBeanAttributeInfoSupport | back to summary |
|---|---|
| public <T> OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T[] legalValues) throws OpenDataException Constructs an The contents of
| |
| OpenMBeanAttributeInfoSupport | back to summary |
|---|---|
| public <T> OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, Comparable<T> minValue, Comparable<T> maxValue) throws OpenDataException Constructs an
| |
| OpenMBeanAttributeInfoSupport | back to summary |
|---|---|
| private <T> OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue) throws OpenDataException | |
| cast | back to summary |
|---|---|
pack-priv static <T> T cast(Object x)
| |
| check | back to summary |
|---|---|
| pack-priv static void check(OpenMBeanParameterInfo info) throws OpenDataException | |
| comparableValueFrom | back to summary |
|---|---|
| pack-priv static <T> Comparable | |
| compare | back to summary |
|---|---|
pack-priv static int compare(Object x, Object y)
| |
| convertFrom | back to summary |
|---|---|
| private static <T> T convertFrom(Object x, OpenType<T> openType) | |
| convertFromString | back to summary |
|---|---|
| private static <T> T convertFromString(String s, OpenType<T> openType) | |
| convertFromStringArray | back to summary |
|---|---|
| private static <T> T convertFromStringArray(Object x, OpenType<T> openType) | |
| convertFromStrings | back to summary |
|---|---|
| private static <T> T convertFromStrings(Object x, OpenType<T> openType) | |
| equal | back to summary |
|---|---|
| pack-priv static boolean equal(OpenMBeanParameterInfo x1, OpenMBeanParameterInfo x2) | |
| 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 OpenMBeanAttributeInfo interface.
If
| |
| getDefaultValue | back to summary |
|---|---|
| public Object getDefaultValue() Implements javax. Returns the default value for the attribute described by this
| |
| getLegalValues | back to summary |
|---|---|
| public Set Implements javax. Returns an unmodifiable Set of legal values for the attribute
described by this | |
| getMaxValue | back to summary |
|---|---|
| public Comparable Implements javax. Returns the maximal value for the attribute described by this
| |
| getMinValue | back to summary |
|---|---|
| public Comparable Implements javax. Returns the minimal value for the attribute described by this
| |
| getOpenType | back to summary |
|---|---|
| public OpenType Implements javax. Returns the open type for the values of the attribute 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
| |
| hashCode | back to summary |
|---|---|
| pack-priv static int hashCode(OpenMBeanParameterInfo info) | |
| 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
| |
| isValue | back to summary |
|---|---|
pack-priv static boolean isValue(OpenMBeanParameterInfo info, Object obj)
| |
| makeDescriptor | back to summary |
|---|---|
| pack-priv static <T> Descriptor makeDescriptor(OpenType<T> openType, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue) | |
| makeDescriptor | back to summary |
|---|---|
| pack-priv static <T> Descriptor makeDescriptor(OpenType<T> openType, T defaultValue, Set<T> legalValues, Comparable<T> minValue, Comparable<T> maxValue) | |
| 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
| |
| toString | back to summary |
|---|---|
| pack-priv static String toString(OpenMBeanParameterInfo info) | |
| valueFrom | back to summary |
|---|---|
| pack-priv static <T> T valueFrom(Descriptor d, String name, OpenType<T> openType) | |
| valuesFrom | back to summary |
|---|---|
| pack-priv static <T> Set | |