Class: AxEntitySet

AxEntitySet()

new AxEntitySet()

Creates a new entity set
Source:

Methods

DeserializeChunk(reader) → {Boolean}

Reads the data of a chunk. The chunk header is already read by the reader and this method deserializes the contents of the chunk. Called continuously for each of the entity set's chunks
Parameters:
Name Type Description
reader AxHierarchyStreamReader Reader to use for reading the serialized data.
Source:
Returns:
True if a chunk was successfully deserialized
Type
Boolean

HierarchyContains(resource) → {Boolean}

Checks recursively whether the hierarchy in the set contains given resource.
Parameters:
Name Type Description
resource AxResource The resource to check for in the set hierarchy
Source:
Returns:
True if the set hierarchy contains the given resource
Type
Boolean

HierarchyContains(resource) → {Boolean}

Checks recursively whether the set contains a given resource.
Parameters:
Name Type Description
resource AxResource The resource to be checked for
Source:
Returns:
True if the set's references and subreferences contain the given resource
Type
Boolean

SerializeChunks(writer)

Writes chunks for all the data which is needed to serialize the entity set.
Parameters:
Name Type Description
writer AxHierarchyStreamWriter Writer to use for writing the serialization data
Source:

Documentation generated by JSDoc 3.5.3 on Wed Jan 17 2018 17:06:56 GMT+0200 (FLE Standard Time)