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
    关系数据集规则管理器。
    从以下版本开始:
    12.0.0
    • 构造器详细资料

      • RelationshipRules

        public RelationshipRules()
        构造一个 RelationshipRules 对象。
        从以下版本开始:
        12.0.0
    • 方法详细资料

      • dispose

        public void dispose()
        释放该对象所占用的资源。当调用该方法之后,此对象不再可用。
      • getCount

        public int getCount()
        获取规则总数。
        返回:
        规则总数
        从以下版本开始:
        12.0.0
      • get

        public RelationshipRule get(int index)
        获取具体规则。
        参数:
        index - 规则索引
        返回:
        关系数据集规则对象。
        抛出:
        IndexOutOfBoundsException - 索引小于0或大于规则总数。
        从以下版本开始:
        12.0.0
      • add

        public int add(RelationshipRule relationshipRule)
        添加一条规则。
        参数:
        relationshipRule - 关系数据集规则对象
        返回:
        添加成功的规则索引
        从以下版本开始:
        12.0.0
      • set

        public boolean set(int index,
                           RelationshipRule relationshipRule)
        修改指定的规则。
        参数:
        index - 指定的规则索引
        relationshipRule - 修改后的规则对象
        返回:
        设置成功返回true,否则返回false。
        抛出:
        IndexOutOfBoundsException - 索引小于0或大于规则总数。
        从以下版本开始:
        12.0.0
      • remove

        public boolean remove(int index)
        删除指定索引的规则。
        参数:
        index - 指定的规则索引
        返回:
        删除成功返回true,否则返回false。
        抛出:
        IndexOutOfBoundsException - 索引小于0或大于规则总数。
        从以下版本开始:
        12.0.0

Copyright © 2021–2025 SuperMap. All rights reserved.