Interface DataModel

    • Method Detail

      • getSchema

        String getSchema()
        Deprecated.
        Gets the schema of this data model.
        Returns:
        the data model schema
      • getMap

        Map<String,​Object> getMap()
                                 throws PropertyException
        Deprecated.
        Gets all the fields set in this data model.

        It is not guaranteed that the returned map will contain all the fields defined by the schema. It may even be empty.

        The returned map is null if the data model was not yet loaded.

        Returns:
        a read only map containing actual data in this object
        Throws:
        PropertyException
      • isDirty

        boolean isDirty()
        Deprecated.
        Tests whether or not this data model is dirty (i.e. it was changed by the client).
        Returns:
        true if the data model is dirty, false otherwise
      • isDirty

        boolean isDirty​(String name)
                 throws PropertyNotFoundException
        Deprecated.
        Tests whether or not the specified field from this data model is dirty.
        Parameters:
        name - the field name to tests
        Returns:
        true if the field is dirty, false otherwise
        Throws:
        PropertyNotFoundException
      • getDirtyFields

        Collection<String> getDirtyFields()
        Deprecated.
        Gets the collection of the dirty fields in this data model.
        Returns:
        the dirty fields or null if there are no dirty fields