Interface ContainerValue

    • Method Detail

      • getContainerInstance

        Object getContainerInstance()
      • setContainerInstance

        void setContainerInstance​(Object object,
                                  Object containerInstance)
      • getReuseContainer

        boolean getReuseContainer()
        Return true if the original container on the object should be used if present. If it is not present then the container policy will be used to create the container.
      • getIndex

        int getIndex()
        INTERNAL: Used to track the index of the corresponding containerInstance in the containerInstances Object[] on UnmarshalRecord
      • isDefaultEmptyContainer

        boolean isDefaultEmptyContainer()
        INTERNAL Return true if an empty container should be set on the object if there is no presence of the collection in the XML document.
        Since:
        EclipseLink 2.3.3
      • isWrapperAllowedAsCollectionName

        boolean isWrapperAllowedAsCollectionName()
        For media types that provide a native representation of collections (such as JSON arrays), can the representation be simplified so that the grouping element can be used as the collection name.
      • setIndex

        void setIndex​(int index)
        INTERNAL: Set to track the index of the corresponding containerInstance in the containerInstances Object[] on UnmarshalRecord Set during TreeObjectBuilder initialization