javax.management.relation
Class RoleInfo

java.lang.Object
  |
  +--javax.management.relation.RoleInfo
All Implemented Interfaces:
java.io.Serializable

public class RoleInfo
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int ROLE_CARDINALITY_INFINITY
           
 
Constructor Summary
RoleInfo(javax.management.relation.RoleInfo info)
           
RoleInfo(java.lang.String roleName, java.lang.String mbeanClassName)
           
RoleInfo(java.lang.String roleName, java.lang.String mbeanClassName, boolean isReadable, boolean isWritable)
           
RoleInfo(java.lang.String roleName, java.lang.String mbeanClassName, boolean isReadable, boolean isWritable, int minNumber, int maxNumber, java.lang.String description)
           
 
Method Summary
 boolean checkMaxDegree(int maxNumber)
           
 boolean checkMinDegree(int minNumber)
           
 java.lang.String getDescription()
           
 int getMaxDegree()
           
 int getMinDegree()
           
 java.lang.String getName()
           
 java.lang.String getRefMBeanClassName()
           
 boolean isReadable()
           
 boolean isWritable()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROLE_CARDINALITY_INFINITY

public static int ROLE_CARDINALITY_INFINITY
Constructor Detail

RoleInfo

public RoleInfo(java.lang.String roleName,
                java.lang.String mbeanClassName,
                boolean isReadable,
                boolean isWritable,
                int minNumber,
                int maxNumber,
                java.lang.String description)
         throws java.lang.IllegalArgumentException,
                InvalidRoleInfoException,
                java.lang.ClassNotFoundException,
                NotCompliantMBeanException

RoleInfo

public RoleInfo(java.lang.String roleName,
                java.lang.String mbeanClassName,
                boolean isReadable,
                boolean isWritable)
         throws java.lang.IllegalArgumentException,
                java.lang.ClassNotFoundException,
                NotCompliantMBeanException

RoleInfo

public RoleInfo(java.lang.String roleName,
                java.lang.String mbeanClassName)
         throws java.lang.IllegalArgumentException,
                java.lang.ClassNotFoundException,
                NotCompliantMBeanException

RoleInfo

public RoleInfo(javax.management.relation.RoleInfo info)
         throws java.lang.IllegalArgumentException
Method Detail

getName

public java.lang.String getName()

isReadable

public boolean isReadable()

isWritable

public boolean isWritable()

getDescription

public java.lang.String getDescription()

getMinDegree

public int getMinDegree()

getMaxDegree

public int getMaxDegree()

getRefMBeanClassName

public java.lang.String getRefMBeanClassName()

checkMaxDegree

public boolean checkMaxDegree(int maxNumber)

checkMinDegree

public boolean checkMinDegree(int minNumber)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object