com.supermap.data
类 RelationshipRules
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.RelationshipRules
-
- 所有已实现的接口:
- IDisposable
public class RelationshipRules extends com.supermap.data.InternalHandleDisposable
关系类规则管理器。- 从以下版本开始:
- 11.2.0
-
-
构造器概要
构造器 构造器和说明 RelationshipRules()
构造函数。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 int
add(RelationshipRule relationshipRule)
添加一条规则。void
dispose()
释放 RelationshipRules 对象。RelationshipRule
get(int index)
获取具体规则。int
getCount()
获取具体规则总数。boolean
remove(int index)
删除一条规则。boolean
set(int index, RelationshipRule relationshipRule)
修改具体规则。
-
-
-
方法详细资料
-
dispose
public void dispose()
释放 RelationshipRules 对象。
-
getCount
public int getCount()
获取具体规则总数。- 返回:
- 规则总数。
- 从以下版本开始:
- 11.2.0
-
get
public RelationshipRule get(int index)
获取具体规则。- 参数:
index
- 规则索引。- 返回:
- 关系类的规则。
- 从以下版本开始:
- 11.2.0
-
add
public int add(RelationshipRule relationshipRule)
添加一条规则。- 参数:
relationshipRule
- 关系类规则。- 返回:
- 添加后的索引。
- 从以下版本开始:
- 11.2.0
-
set
public boolean set(int index, RelationshipRule relationshipRule)
修改具体规则。- 参数:
index
- 规则的索引。relationshipRule
- 修改后的规则。- 返回:
- 设置成功返回true,否则返回false。
- 从以下版本开始:
- 11.2.0
-
remove
public boolean remove(int index)
删除一条规则。- 参数:
index
- 规则的索引。- 返回:
- 删除成功返回true,否则返回false。
- 从以下版本开始:
- 11.2.0
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.