| Package | mx.data.messages |
| Class | public class DataAssociationMessage |
| Inheritance | DataAssociationMessage DataMessage AsyncMessage AbstractMessage Object |
<metadata> tag
in the destination configuration xml file.
| Property | Defined by | ||
|---|---|---|---|
![]() | body : Object
The body of a message contains the specific data that needs to be
delivered to the remote destination.
| AbstractMessage | |
| childMessageId : String
If the association involves a child that is being created in the same
message batch, the server will use this message id to locate the child
instead of relying on the identity provided by the client (the identity
may be changed by the server).
| DataAssociationMessage | ||
| childSequenceId : int
The index of the child sequence on the server.
| DataAssociationMessage | ||
![]() | clientId : String
The clientId indicates which MessageAgent sent the message.
| AbstractMessage | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
![]() | correlationId : String
Provides access to the correlation id of the message.
| AsyncMessage | |
![]() | destination : String
The message destination.
| AbstractMessage | |
![]() | headers : Object
The headers of a message are an associative array where the key is the
header name and the value is the header value.
| AbstractMessage | |
![]() | identity : Object
Provides access to the identity map which defines the unique
identity of the item affected by this DataMessage (relevant for
create/update/delete but not fill operations).
| DataMessage | |
![]() | messageId : String
The unique id for the message.
| AbstractMessage | |
![]() | operation : uint
Provides access to the operation/command of this DataMessage.
| DataMessage | |
| parentMessageId : String
If the association involves a parent that is being created in the same
message batch, the server will use this message id to locate the parent
instead of relying on the identity provided by the client (the identity
may be changed by the server)
| DataAssociationMessage | ||
| parentPropertyName : String
The property name by which the parent references the child.
| DataAssociationMessage | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| sequencePosition : int = -1
For one-to-many relationships, the position of the child instance in
the sequence, optionally used for adding and removing child
relationships to a specific location in the sequence.
| DataAssociationMessage | ||
![]() | timestamp : Number
Provides access to the time stamp for the message.
| AbstractMessage | |
![]() | timeToLive : Number
The time to live value of a message indicates how long the message
should be considered valid and deliverable.
| AbstractMessage | |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new instance of an empty association message.
| DataAssociationMessage | ||
![]() |
[static]
Provides a description of the operation specified.
| DataMessage | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
|
Determines whether the passed message is compensating to the current
message.
| DataAssociationMessage | ||
![]() |
Returns
true if this is a create operation. | DataMessage | |
![]() |
Returns
true if this message is both an update and its list
of property names has a length of zero. | DataMessage | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns a string representation of the message.
| AbstractMessage | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| childMessageId | property |
public var childMessageId:StringIf the association involves a child that is being created in the same message batch, the server will use this message id to locate the child instead of relying on the identity provided by the client (the identity may be changed by the server).
| childSequenceId | property |
public var childSequenceId:intThe index of the child sequence on the server.
| parentMessageId | property |
public var parentMessageId:StringIf the association involves a parent that is being created in the same message batch, the server will use this message id to locate the parent instead of relying on the identity provided by the client (the identity may be changed by the server)
| parentPropertyName | property |
public var parentPropertyName:StringThe property name by which the parent references the child.
| sequencePosition | property |
public var sequencePosition:int = -1For one-to-many relationships, the position of the child instance in the sequence, optionally used for adding and removing child relationships to a specific location in the sequence.
| DataAssociationMessage | () | constructor |
public function DataAssociationMessage()Creates a new instance of an empty association message.
| isCompensating | () | method |
public function isCompensating(msg:DataAssociationMessage):BooleanDetermines whether the passed message is compensating to the current message. An association add is compensating to a matching association remove, and vice versa.
Parametersmsg:DataAssociationMessage — The message to test against this message.
|
Boolean —
true if the message is compensating; otherwise false.
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/mx/data/messages/DataAssociationMessage.html