| java.lang.Object javax.management.relation.RelationTypeSupport
RelationTypeSupport | public class RelationTypeSupport implements RelationType(Code) | | This class can be used to implement relation types.
It holds RoleInfo objects for all roles in the relation.
Revisions:
20020312 Adrian Brock:
- Fixed error handling for getRoleInfo
20020715 Adrian Brock:
author: Adrian Brock. version: $Revision: 57200 $ |
Constructor Summary | |
protected | RelationTypeSupport(String name) Create a relation type with a name but no role infos.
WARNING: No check is made on the arguments. | public | RelationTypeSupport(String name, RoleInfo[] infos) Create a relation type with a name and the passed role infos.
A relation type is invalid if the same name is used in two
different role infos, no role information is provided or a null
role is passed. |
RelationTypeSupport | protected RelationTypeSupport(String name)(Code) | | Create a relation type with a name but no role infos.
WARNING: No check is made on the arguments.
Parameters: name - the relation type name. |
getRelationTypeName | public String getRelationTypeName()(Code) | | |
|
|