This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.management.relation
interface RelationType

All Superinterfaces:
Serializable
All Known Implementing Classes:
RelationTypeSupport

public interface RelationType
extends Serializable

The RelationType interface has to be implemented by any class expected to represent a relation type.


Method Summary
 String

          Returns the relation type name.
 RoleInfo
getRoleInfo(String roleInfoName)

          Returns the role info (RoleInfo object) for the given role info name (null if not found).
 List

          Returns the list of role definitions (ArrayList of RoleInfo objects).
 

Method Detail

getRelationTypeName

public String getRelationTypeName()
Returns the relation type name.

Returns:
the relation type name.

getRoleInfo

public RoleInfo getRoleInfo(String roleInfoName)
                     throws IllegalArgumentException,
                            RoleInfoNotFoundException
Returns the role info (RoleInfo object) for the given role info name (null if not found).

Parameters:
roleInfoName - role info name
Returns:
RoleInfo object providing role definition does not exist
Throws:
IllegalArgumentException - if null parameter
RoleInfoNotFoundException - if no role info with that name in relation type.

getRoleInfos

public List getRoleInfos()
Returns the list of role definitions (ArrayList of RoleInfo objects).

Returns:
an {@link ArrayList} of {@link RoleInfo}.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.