Top Description Methods
javax.management.relation

public Interface RelationType

extends Serializable
Known Direct Implementers
javax.management.relation.RelationTypeSupport
Imports
java.util.ArrayList, .List, java.io.Serializable

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

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the relation type name.
getRelationTypeName
()

Returns the relation type name.

public RoleInfo

Returns:

RoleInfo object providing role definition does not exist
getRoleInfo
(String
role info name
roleInfoName
)

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

public List<RoleInfo>

Returns:

an ArrayList of RoleInfo.
getRoleInfos
()

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

Method Detail

getRelationTypeNameback to summary
public String getRelationTypeName()

Returns the relation type name.

Returns:String

the relation type name.

getRoleInfoback to summary
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:String

role info name

Returns:RoleInfo

RoleInfo object providing role definition does not exist

Exceptions
IllegalArgumentException:
if null parameter
RoleInfoNotFoundException:
if no role info with that name in relation type.
getRoleInfosback to summary
public List<RoleInfo> getRoleInfos()

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

Returns:List<RoleInfo>

an ArrayList of RoleInfo.