public class AttributeRuleInfoManager
extends com.supermap.data.InternalHandle
主要是针对数据集进行增加,删除,修改属性规则
限定符和类型 | 方法和说明 |
---|---|
boolean |
add(DatasetVector datasetVector,
AttributeRuleInfo rule)
数据集添加一个规则
|
ArrayList<AttributeRuleInfo> |
getAll(DatasetVector datasetVector)
获取数据集所有的规则
|
boolean |
remove(DatasetVector datasetVector,
String ruleName)
删除一个规则
|
boolean |
set(DatasetVector datasetVector,
String ruleName,
AttributeRuleInfo rule)
修改数据集的规则
|
public boolean add(DatasetVector datasetVector, AttributeRuleInfo rule)
datasetVector
- 数据集rule
- 规则public boolean set(DatasetVector datasetVector, String ruleName, AttributeRuleInfo rule)
datasetVector
- 数据集ruleName
- 原始规则名字rule
- 新的规则public boolean remove(DatasetVector datasetVector, String ruleName)
datasetVector
- 数据集ruleName
- 规则名字public ArrayList<AttributeRuleInfo> getAll(DatasetVector datasetVector)
datasetVector
- 数据集Copyright © 2021–2024 SuperMap. All rights reserved.