API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.relation. RoleInfo View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 Object
      RoleInfo
Implements
 Serializable
Subclasses
Description
public class RoleInfo
  A RoleInfo object summarises a role in a relation type.
See also:   
Constructors
public RoleInfo (RoleInfo roleInfo) throws IllegalArgumentException
  Copy constructor.
public RoleInfo (String roleName, String mbeanClassName) throws IllegalArgumentException ClassNotFoundException NotCompliantMBeanException
  Constructor.
public RoleInfo (String roleName, String mbeanClassName, boolean read, boolean write) throws IllegalArgumentException ClassNotFoundException NotCompliantMBeanException
  Constructor.
public RoleInfo (String roleName, String mbeanClassName, boolean read, boolean write, int min, int max, String descr) throws IllegalArgumentException InvalidRoleInfoException ClassNotFoundException NotCompliantMBeanException
  Constructor.
Methods
Hide/Show inherited methods
public boolean checkMaxDegree (int value)
  Returns true if the value parameter is lower than or equal to the expected maximum degree, false otherwise.
public boolean checkMinDegree (int value)
  Returns true if the value parameter is greater than or equal to the expected minimum degree, false otherwise.
public String getDescription ()
  Returns description text for the role.
public int getMaxDegree ()
  Returns maximum degree for corresponding role reference.
public int getMinDegree ()
  Returns minimum degree for corresponding role reference.
public String getName ()
  Returns the name of the role.
public String getRefMBeanClassName ()
  Returns name of type of MBean expected to be referenced in corresponding role.
public boolean isReadable ()
  Returns read access mode for the role (true if it is readable).
public boolean isWritable ()
  Returns write access mode for the role (true if it is writable).
public String toString ()
  Returns a string describing the role info.
Fields
Hide/Show inherited fields
publicfinalstatic int ROLE_CARDINALITY_INFINITY = "-1"
To specify an unlimited cardinality.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar