Paket | mx.data |
Sınıf | public class ManagedAssociation |
Miras Alma | ManagedAssociation Object |
Uygular | IExternalizable |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Özellik | Tanımlayan: | ||
---|---|---|---|
constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | 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 [salt okunur]
Indicates what type of association this is. | ManagedAssociation |
Yöntem | Tanımlayan: | ||
---|---|---|---|
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 | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
ManagedAssociation | |||
Sets the attributes of this association based on the passed in bit mask. | ManagedAssociation | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
Returns the string representation of the specified object. | ManagedAssociation | ||
Belirtilen nesnenin temel değerini döndürür. | Object | ||
This method will serialize this cache to the specified output stream. | ManagedAssociation |
Sabit | Tanımlayan: | ||
---|---|---|---|
MANY : uint = 0 [statik]
Indicates that this is a many-to-many or one-to-many relationship. | ManagedAssociation | ||
MANY_TO_MANY : String = "many-to-many" [statik]
Indicates that this is a many-to-many relationship. | ManagedAssociation | ||
MANY_TO_ONE : String = "many-to-one" [statik]
Indicates that this is a many-to-one relationship. | ManagedAssociation | ||
ONE : uint = 1 [statik]
Indicates that this is a one-to-one relationship. | ManagedAssociation | ||
ONE_TO_MANY : String = "one-to-many" [statik]
Indicates that this is a one-to-many relationship. | ManagedAssociation | ||
ONE_TO_ONE : String = "one-to-one" [statik]
Indicates that this is a one-to-one relationship. | ManagedAssociation |
destination | özellik |
destination:String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Destination this association references. Any property configured as an association must reference another data service destination.
Uygulama
public function get destination():String
public function set destination(value:String):void
hierarchicalEvents | özellik |
hierarchicalEvents:Boolean
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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.
Uygulama
public function get hierarchicalEvents():Boolean
public function set hierarchicalEvents(value:Boolean):void
lazy | özellik |
lazy:Boolean
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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.
Uygulama
public function get lazy():Boolean
public function set lazy(value:Boolean):void
loadOnDemand | özellik |
loadOnDemand:Boolean
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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.
Uygulama
public function get loadOnDemand():Boolean
public function set loadOnDemand(value:Boolean):void
pagedUpdates | özellik |
public var pagedUpdates:Boolean = false
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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 | özellik |
public var pageSize:int = 0
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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 | özellik |
property:String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Name of the property that this association is established on.
Uygulama
public function get property():String
public function set property(value:String):void
readOnly | özellik |
readOnly:Boolean
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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.
Uygulama
public function get readOnly():Boolean
public function set readOnly(value:Boolean):void
type | özellik |
type:String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates what type of association this is.
Values are: Association.MANY
or
Association.ONE
.
Uygulama
public function get type():String
public function set type(value:String):void
typeCode | özellik |
typeCode:uint
[salt okunur] Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates what type of association this is.
Values are: Association.MANY
or
Association.ONE
.
Uygulama
public function get typeCode():uint
ManagedAssociation | () | Yapıcı |
public function ManagedAssociation(info:XML = null)
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Constructs an instance of metadata with the specified XML snippet that contains the relationship and service reference information.
Parametrelerinfo:XML (default = null ) — XML containing the association information.
|
Atar
ArgumentError — If required information is missing.
|
getAttributeMask | () | yöntem |
public function getAttributeMask():uint
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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.
Döndürüruint — bit mask representing the attributes of this managed association.
|
readExternal | () | yöntem |
public function readExternal(input:IDataInput):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Parametreler
input:IDataInput |
setAttributeMask | () | yöntem |
public function setAttributeMask(mask:uint):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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.
Parametreler
mask:uint — bit mask representing the attributes of this managed association.
|
toString | () | yöntem |
public function toString():String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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 | () | yöntem |
public function writeExternal(output:IDataOutput):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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.
Parametreler
output:IDataOutput — output stream to write to.
|
MANY | Sabit |
public static const MANY:uint = 0
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that this is a many-to-many or one-to-many relationship.
MANY_TO_MANY | Sabit |
public static const MANY_TO_MANY:String = "many-to-many"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Çalışma Zamanı Sürümleri: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a many-to-many relationship.
MANY_TO_ONE | Sabit |
public static const MANY_TO_ONE:String = "many-to-one"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Çalışma Zamanı Sürümleri: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a many-to-one relationship.
ONE | Sabit |
public static const ONE:uint = 1
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that this is a one-to-one relationship.
ONE_TO_MANY | Sabit |
public static const ONE_TO_MANY:String = "one-to-many"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Çalışma Zamanı Sürümleri: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a one-to-many relationship.
ONE_TO_ONE | Sabit |
public static const ONE_TO_ONE:String = "one-to-one"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Çalışma Zamanı Sürümleri: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a one-to-one relationship.
Tue Jun 12 2018, 01:09 PM Z