public interface RelationType extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getRelationTypeName()
返回关系类型名称。
|
RoleInfo |
getRoleInfo(String roleInfoName)
返回给定角色信息名称的角色信息(RoleInfo对象)(如果未找到,则返回null)。
|
List<RoleInfo> |
getRoleInfos()
返回角色定义列表(RoleInfo对象的ArrayList)。
|
String getRelationTypeName()
RoleInfo getRoleInfo(String roleInfoName) throws IllegalArgumentException, RoleInfoNotFoundException
roleInfoName
- 角色信息名称
IllegalArgumentException
- 如果为空参数
RoleInfoNotFoundException
- 如果在关系类型中没有该名称的角色信息。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.