kd.bos.sdk.model

## 类 KDynamicObjectCollection

- java.lang.Object
- - kd.bos.sdk.model.KDynamicObjectCollection

- 所有已实现的接口:
    ScriptObject, ScriptWrapper<kd.bos.dataentity.entity.DynamicObjectCollection>

      @KSObject(name="DynamicObjectCollection",
                namespace="")
      public class KDynamicObjectCollection
      extends java.lang.Object
      implements ScriptWrapper<kd.bos.dataentity.entity.DynamicObjectCollection>

- - ### 构造器概要

    构造器
    构造器和说明
    `KDynamicObjectCollection()`
    `KDynamicObjectCollection(kd.bos.dataentity.entity.DynamicObjectCollection list)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `add(kd.bos.dataentity.entity.DynamicObject obj)`
    `void` | `add(int index, kd.bos.dataentity.entity.DynamicObject obj)`
    `boolean` | `addAll(int index, KDynamicObjectCollection cc)`
    `boolean` | `addAll(KDynamicObjectCollection cc)`
    `void` | `clear()`
    `void` | `forEach(ScriptFunction func)`
    `java.lang.Object` | `get(int index)`
    `java.lang.Object` | `remove(kd.bos.dataentity.entity.DynamicObject obj)`
    `java.lang.Object` | `remove(int index)`
    `java.lang.Object` | `set(int index, kd.bos.dataentity.entity.DynamicObject obj)`
    `int` | `size()`
    `java.lang.String` | `toString()`
    `kd.bos.dataentity.entity.DynamicObjectCollection` | `unwrap()`

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### 从接口继承的方法 kd.bos.script.ScriptObject

      `__getUndefinedProperty, __release`

- - ### 构造器详细资料

    - #### KDynamicObjectCollection

          public KDynamicObjectCollection()

    - #### KDynamicObjectCollection

          public KDynamicObjectCollection(kd.bos.dataentity.entity.DynamicObjectCollection list)

  - ### 方法详细资料

    - #### forEach

          @KSMethod
          public void forEach(ScriptFunction func)

    - #### clear

          @KSMethod
          public void clear()

    - #### size

          @KSMethod
          public int size()

    - #### add

          @KSMethod
          public boolean add(kd.bos.dataentity.entity.DynamicObject obj)

    - #### add

          @KSMethod
          public void add(int index,
                                     kd.bos.dataentity.entity.DynamicObject obj)

    - #### addAll

          @KSMethod
          public boolean addAll(KDynamicObjectCollection cc)

    - #### addAll

          @KSMethod
          public boolean addAll(int index,
                                           KDynamicObjectCollection cc)

    - #### set

          @KSMethod
          public java.lang.Object set(int index,
                                                 kd.bos.dataentity.entity.DynamicObject obj)

    - #### get

          @KSMethod
          public java.lang.Object get(int index)

    - #### remove

          @KSMethod
          public java.lang.Object remove(int index)

    - #### remove

          @KSMethod
          public java.lang.Object remove(kd.bos.dataentity.entity.DynamicObject obj)

    - #### toString

          public java.lang.String toString()

      覆盖:
        `toString` 在类中 `java.lang.Object`

    - #### unwrap

          public kd.bos.dataentity.entity.DynamicObjectCollection unwrap()

      指定者:
        `unwrap` 在接口中 `ScriptWrapper<kd.bos.dataentity.entity.DynamicObjectCollection>`