javax.management
public class MBeanParameterInfo extends MBeanFeatureInfo implements Cloneable
Since: 1.5
Constructor Summary | |
---|---|
MBeanParameterInfo(String name, String type, String desc)
Constructs a new {@link MBeanParameterInfo} using the specified
name, description and type.
|
Method Summary | |
---|---|
Object | clone()
Returns a clone of this instance. |
boolean | equals(Object obj)
Compares this feature with the supplied object. |
String | getType()
Returns the type of this attribute, in the form of its class name.
|
int | hashCode()
Returns the hashcode of the parameter information as the sum of
the hashcode of the superclass and the hashcode of the type.
|
String | toString() Returns a textual representation of this instance. |
Parameters: name the name of the attribute. type the type of the attribute, in the form of its class name. desc a description of the attribute.
Returns: a clone of this instance.
See Also: Cloneable
Parameters: obj the object to compare.
Returns: true if the object is a {@link MBeanParameterInfo}
instance,
name.equals(object.getName())
,
description.equals(object.getDescription())
,
and type.equals(object.getType())
.
Returns: the type of this attribute.
Returns: the hashcode of the parameter information.
Returns a textual representation of this instance. This
is constructed using the class name
(javax.management.MBeanParameterInfo
) along
with the name, description and type of the parameter.
As instances of this class are immutable, the return value is computed just once for each instance and reused throughout its life.
Returns: a @link{java.lang.String} instance representing the instance in textual form.