Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelationType extends Serializable
The RelationType interface has to be implemented by any class expected to represent a relation type.
Modifier and Type | Method and Description |
---|---|
String |
getRelationTypeName()
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<RoleInfo> |
getRoleInfos()
Returns the list of role definitions (ArrayList of RoleInfo objects). |
Method Detail |
---|
String getRelationTypeName()
List<RoleInfo> getRoleInfos()
ArrayList
of RoleInfo
.RoleInfo getRoleInfo(String roleInfoName) throws IllegalArgumentException, RoleInfoNotFoundException
roleInfoName
- role info nameIllegalArgumentException
- if null parameterRoleInfoNotFoundException
- if no role info with that name in
relation type.
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.