com.supermap.data

类 Subtypes

  • java.lang.Object
    • com.supermap.data.InternalHandle
      • com.supermap.data.InternalHandleDisposable
        • com.supermap.data.Subtypes
  • 所有已实现的接口:
    IDisposable


    public class Subtypes
    extends com.supermap.data.InternalHandleDisposable
    数据集子类集合。
    从以下版本开始:
    11.2.0
    • 构造器详细资料

      • Subtypes

        public Subtypes()
        构造一个Subtypes对象。
    • 方法详细资料

      • dispose

        public void dispose()
      • getCount

        public int getCount()
        获取子类个数。
        返回:
        子类个数。
      • get

        public Subtype get(int index)
        获取具体第index个子类。
        参数:
        index - 索引值。
        返回:
        子类 Subtype 对象。
      • add

        public int add(Subtype subtype)
        添加一个子类。
        参数:
        subtype - 子类对象。
        返回:
        添加后的索引。
      • set

        public boolean set(int index,
                           Subtype subtype)
        设置第index个子类的信息。
        参数:
        index - 索引值。
        subtype - 新的子类。
        返回:
        设置成功返回true,否则返回false。
      • remove

        public boolean remove(int index)
        删除第index个子类。
        参数:
        index - 索引值。
        返回:
        删除成功返回true,否则返回false。
      • setDefaultSubtype

        public void setDefaultSubtype(int index)
        设置第index个子类为默认子类。
        参数:
        index - 索引值。
      • getDefaultSubtype

        public int getDefaultSubtype()
        获取默认子类。
        返回:
        默认子类的索引值。

Copyright © 2021–2024 SuperMap. All rights reserved.