Pakiet | mx.data |
Klasa | public class ManagedAssociation |
Dziedziczenie | ManagedAssociation Object |
Implementuje | IExternalizable |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | ||
destination : String
Destination this association references. | ManagedAssociation | ||
hierarchicalEvents : Boolean
Indicates whether or not the parent of this association receives events from properties
of the objects referenced by the association. | ManagedAssociation | ||
lazy : Boolean
If true, the value of the association property is loaded on the
client the first time it is accessed instead of when the referencing
object is loaded. | ManagedAssociation | ||
loadOnDemand : Boolean
Indicates whether or not this association's value is retrieved from the server when the
original item state is retrieved. | ManagedAssociation | ||
pagedUpdates : Boolean = false
When true, updates to the set of associated instances for this association
are made in increments of pageSize. | ManagedAssociation | ||
pageSize : int = 0
Size of page to use for communication of changes to the set of associated instances
for this association. | ManagedAssociation | ||
property : String
Name of the property that this association is established on. | ManagedAssociation | ||
readOnly : Boolean
Contains true if this association is read-only
from the perspective of the assembler. | ManagedAssociation | ||
type : String
Indicates what type of association this is. | ManagedAssociation | ||
typeCode : uint [tylko do odczytu]
Indicates what type of association this is. | ManagedAssociation |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
ManagedAssociation(info:XML = null)
Constructs an instance of metadata with the specified XML snippet that
contains the relationship and service reference information. | ManagedAssociation | ||
Bit mask representing the attributes of this managed association. | ManagedAssociation | ||
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | ||
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | ||
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | ||
ManagedAssociation | |||
Sets the attributes of this association based on the passed in bit mask. | ManagedAssociation | ||
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | ||
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | ||
Returns the string representation of the specified object. | ManagedAssociation | ||
Zwraca pierwotną wartość dla określonego obiektu. | Object | ||
This method will serialize this cache to the specified output stream. | ManagedAssociation |
Stała | Zdefiniowane przez | ||
---|---|---|---|
MANY : uint = 0 [statyczny]
Indicates that this is a many-to-many or one-to-many relationship. | ManagedAssociation | ||
MANY_TO_MANY : String = "many-to-many" [statyczny]
Indicates that this is a many-to-many relationship. | ManagedAssociation | ||
MANY_TO_ONE : String = "many-to-one" [statyczny]
Indicates that this is a many-to-one relationship. | ManagedAssociation | ||
ONE : uint = 1 [statyczny]
Indicates that this is a one-to-one relationship. | ManagedAssociation | ||
ONE_TO_MANY : String = "one-to-many" [statyczny]
Indicates that this is a one-to-many relationship. | ManagedAssociation | ||
ONE_TO_ONE : String = "one-to-one" [statyczny]
Indicates that this is a one-to-one relationship. | ManagedAssociation |
destination | właściwość |
destination:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Destination this association references. Any property configured as an association must reference another data service destination.
Implementacja
public function get destination():String
public function set destination(value:String):void
hierarchicalEvents | właściwość |
hierarchicalEvents:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Indicates whether or not the parent of this association receives events from properties of the objects referenced by the association.
Implementacja
public function get hierarchicalEvents():Boolean
public function set hierarchicalEvents(value:Boolean):void
lazy | właściwość |
lazy:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
If true, the value of the association property is loaded on the client the first time it is accessed instead of when the referencing object is loaded.
Implementacja
public function get lazy():Boolean
public function set lazy(value:Boolean):void
loadOnDemand | właściwość |
loadOnDemand:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Indicates whether or not this association's value is retrieved from the server when the original item state is retrieved.
Implementacja
public function get loadOnDemand():Boolean
public function set loadOnDemand(value:Boolean):void
pagedUpdates | właściwość |
public var pagedUpdates:Boolean = false
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
When true, updates to the set of associated instances for this association
are made in increments of pageSize
. When false, the entire
set is updated at once.
pageSize | właściwość |
public var pageSize:int = 0
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Size of page to use for communication of changes to the set of associated instances
for this association. Only relevant when pagedUpdates
is true.
property | właściwość |
property:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Name of the property that this association is established on.
Implementacja
public function get property():String
public function set property(value:String):void
readOnly | właściwość |
readOnly:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Contains true
if this association is read-only
from the perspective of the assembler.
Usually this is set to true on the inverse side of an association.
The assembler does not have to persist a value change from a read-only
association so they are not passed to the change handler. You should
typically still update the read-only association property in your code
as FDMS does not update the inverse side of the relationship automatically.
Implementacja
public function get readOnly():Boolean
public function set readOnly(value:Boolean):void
type | właściwość |
type:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Indicates what type of association this is.
Values are: Association.MANY
or
Association.ONE
.
Implementacja
public function get type():String
public function set type(value:String):void
typeCode | właściwość |
typeCode:uint
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Indicates what type of association this is.
Values are: Association.MANY
or
Association.ONE
.
Implementacja
public function get typeCode():uint
ManagedAssociation | () | Konstruktor |
public function ManagedAssociation(info:XML = null)
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Constructs an instance of metadata with the specified XML snippet that contains the relationship and service reference information.
Parametryinfo:XML (default = null ) — XML containing the association information.
|
Zgłasza
ArgumentError — If required information is missing.
|
getAttributeMask | () | metoda |
public function getAttributeMask():uint
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Bit mask representing the attributes of this managed association. Starting with the smallest order bit: First bit - on when this association is lazy. Second bit - on when the association is loaded on demand. Third bit - on when the association is read only. Foruth bit - on when hierarchical events are enabled. Fifth bit - on when hierarchical events have been set. Sixth bit - on when updates are paged.
Zwracauint — bit mask representing the attributes of this managed association.
|
readExternal | () | metoda |
public function readExternal(input:IDataInput):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Parametry
input:IDataInput |
setAttributeMask | () | metoda |
public function setAttributeMask(mask:uint):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Sets the attributes of this association based on the passed in bit mask. Starting with the smallest order bit: First bit - on when this association is lazy. Second bit - on when the association is loaded on demand. Third bit - on when the association is read only. Foruth bit - on when hierarchical events are enabled. Fifth bit - on when hierarchical events have been set. Sixth bit - on when updates are paged.
Parametry
mask:uint — bit mask representing the attributes of this managed association.
|
toString | () | metoda |
public function toString():String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the string representation of the specified object.
Note: Methods of the Object class are dynamically created on Object's prototype. To redefine this method in a subclass of Object, do not use the override
keyword. For example, a subclass of Object implements function toString():String
instead of using an override of the base class.
String — A string representation of the object.
|
writeExternal | () | metoda |
public function writeExternal(output:IDataOutput):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
This method will serialize this cache to the specified output stream. Currently this is being used for offline data caching.
Parametry
output:IDataOutput — output stream to write to.
|
MANY | Stała |
public static const MANY:uint = 0
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Indicates that this is a many-to-many or one-to-many relationship.
MANY_TO_MANY | Stała |
public static const MANY_TO_MANY:String = "many-to-many"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a many-to-many relationship.
MANY_TO_ONE | Stała |
public static const MANY_TO_ONE:String = "many-to-one"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a many-to-one relationship.
ONE | Stała |
public static const ONE:uint = 1
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Indicates that this is a one-to-one relationship.
ONE_TO_MANY | Stała |
public static const ONE_TO_MANY:String = "one-to-many"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a one-to-many relationship.
ONE_TO_ONE | Stała |
public static const ONE_TO_ONE:String = "one-to-one"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a one-to-one relationship.
Tue Jun 12 2018, 12:06 PM Z