패키지 | mx.data |
클래스 | public class ManagedAssociation |
상속 | ManagedAssociation Object |
구현 | IExternalizable |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
속성 | 정의 주체 | ||
---|---|---|---|
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | 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 [읽기 전용]
Indicates what type of association this is. | ManagedAssociation |
메서드 | 정의 주체 | ||
---|---|---|---|
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 | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
ManagedAssociation | |||
Sets the attributes of this association based on the passed in bit mask. | ManagedAssociation | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
Returns the string representation of the specified object. | ManagedAssociation | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
This method will serialize this cache to the specified output stream. | ManagedAssociation |
상수 | 정의 주체 | ||
---|---|---|---|
MANY : uint = 0 [정적]
Indicates that this is a many-to-many or one-to-many relationship. | ManagedAssociation | ||
MANY_TO_MANY : String = "many-to-many" [정적]
Indicates that this is a many-to-many relationship. | ManagedAssociation | ||
MANY_TO_ONE : String = "many-to-one" [정적]
Indicates that this is a many-to-one relationship. | ManagedAssociation | ||
ONE : uint = 1 [정적]
Indicates that this is a one-to-one relationship. | ManagedAssociation | ||
ONE_TO_MANY : String = "one-to-many" [정적]
Indicates that this is a one-to-many relationship. | ManagedAssociation | ||
ONE_TO_ONE : String = "one-to-one" [정적]
Indicates that this is a one-to-one relationship. | ManagedAssociation |
destination | 속성 |
destination:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Destination this association references. Any property configured as an association must reference another data service destination.
구현
public function get destination():String
public function set destination(value:String):void
hierarchicalEvents | 속성 |
hierarchicalEvents:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
구현
public function get hierarchicalEvents():Boolean
public function set hierarchicalEvents(value:Boolean):void
lazy | 속성 |
lazy:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
구현
public function get lazy():Boolean
public function set lazy(value:Boolean):void
loadOnDemand | 속성 |
loadOnDemand:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
구현
public function get loadOnDemand():Boolean
public function set loadOnDemand(value:Boolean):void
pagedUpdates | 속성 |
public var pagedUpdates:Boolean = false
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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 | 속성 |
public var pageSize:int = 0
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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 | 속성 |
readOnly | 속성 |
readOnly:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
구현
public function get readOnly():Boolean
public function set readOnly(value:Boolean):void
type | 속성 |
type:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Indicates what type of association this is.
Values are: Association.MANY
or
Association.ONE
.
구현
public function get type():String
public function set type(value:String):void
typeCode | 속성 |
ManagedAssociation | () | 생성자 |
public function ManagedAssociation(info:XML = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructs an instance of metadata with the specified XML snippet that contains the relationship and service reference information.
매개 변수info:XML (default = null ) — XML containing the association information.
|
오류
ArgumentError — If required information is missing.
|
getAttributeMask | () | 메서드 |
public function getAttributeMask():uint
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
반환값uint — bit mask representing the attributes of this managed association.
|
readExternal | () | 메서드 |
public function readExternal(input:IDataInput):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
매개 변수
input:IDataInput |
setAttributeMask | () | 메서드 |
public function setAttributeMask(mask:uint):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
매개 변수
mask:uint — bit mask representing the attributes of this managed association.
|
toString | () | 메서드 |
public function toString():String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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 | () | 메서드 |
public function writeExternal(output:IDataOutput):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
매개 변수
output:IDataOutput — output stream to write to.
|
MANY | 상수 |
public static const MANY:uint = 0
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Indicates that this is a many-to-many or one-to-many relationship.
MANY_TO_MANY | 상수 |
public static const MANY_TO_MANY:String = "many-to-many"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
런타임 버전: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a many-to-many relationship.
MANY_TO_ONE | 상수 |
public static const MANY_TO_ONE:String = "many-to-one"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
런타임 버전: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a many-to-one relationship.
ONE | 상수 |
public static const ONE:uint = 1
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Indicates that this is a one-to-one relationship.
ONE_TO_MANY | 상수 |
public static const ONE_TO_MANY:String = "one-to-many"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
런타임 버전: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a one-to-many relationship.
ONE_TO_ONE | 상수 |
public static const ONE_TO_ONE:String = "one-to-one"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
런타임 버전: | Flash Player 10.1, AIR 2.0 |
Indicates that this is a one-to-one relationship.
Tue Jun 12 2018, 03:17 PM Z