Paket | mx.data.utils |
Sınıf | public class Managed |
Miras Alma | Managed Object |
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 |
[Managed]
class metadata tag.
Yöntem | Tanımlayan: | ||
---|---|---|---|
[statik]
Creates a new PropertyChangeEvent object from an existing PropertyChangeEvent object. | Managed | ||
[statik]
Returns the destination the specified object is associated with. | Managed | ||
[statik]
This method is used to retrieve a property from a managed object. | Managed | ||
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 | ||
[statik]
Returns false if the property on the item specified has not yet been fetched from the server. | Managed | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
[statik]
This method is used to set the property of a managed object. | Managed | ||
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 | ||
toString(value:Object, namespaceURIs:Array = null, exclude:Array = null, indent:int = 0, printTypes:Boolean = false, refs:Dictionary = null):String [statik]
Returns a String representation of this managed object. | Managed | ||
Belirtilen nesnenin temel değerini döndürür. | Object |
Sabit | Tanımlayan: | ||
---|---|---|---|
UNSET_PROPERTY : String = "__UNSET__" [statik]
Metadata constant representing properties that have been un-set. | Managed |
createUpdateEvent | () | yöntem |
public static function createUpdateEvent(obj:IManaged, property:Object, event:PropertyChangeEvent):PropertyChangeEvent
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 |
Creates a new PropertyChangeEvent object from an existing PropertyChangeEvent object.
The value of the property
property of the new object is the value of
the property
argument prepended to event.property.
Parametreler
obj:IManaged — IManaged reference to the object on which the desired
property should be retrieved from.
| |
property:Object — String containing the name of the desired property.
| |
event:PropertyChangeEvent — A PropertyChangeEvent to copy.
|
PropertyChangeEvent — A new PropertyChangeEvent object with the value of the property argument
prepended to event.property.
|
getDestination | () | yöntem |
public static function getDestination(obj:Object):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 destination the specified object is associated with.
Parametreler
obj:Object — Object reference to the item to get the destination from.
|
String — String containing the name of the associated destination.
|
getProperty | () | yöntem |
public static function getProperty(obj:IManaged, property:String, value:*, useHierarchicalValues:Boolean = true):*
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 is used to retrieve a property from a managed object. In addition to returning the value of the property specified, this method will handle keeping related artifacts in sync to support both deeply nested event dispatching and lazily loaded properties.
Parametreler
obj:IManaged — IManaged reference to the object on which the desired
property should be retrieved from.
| |
property:String — String containing the name of the desired property.
| |
value:* — any reference to the current value of the property.
| |
useHierarchicalValues:Boolean (default = true ) — whether a complex (hierarchical) value will be managed.
|
* — the new normalized value of the property.
This value should be assigned to the original reference.
|
İlgili API Öğeleri
Örnek ( Bu örnek nasıl kullanılır? )
public class Customer implements IManaged { private var _addresses:ArrayCollection; public function get addresses():ArrayCollection { _addresses = Managed.getProperty(this, "addresses", _addresses); } public function set addresses(value:ArrayCollection):void { Managed.setProperty(this, "addresses", _addresses, _addresses = value); } }
propertyFetched | () | yöntem |
public static function propertyFetched(obj:Object, property:String):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 |
Returns false
if the property on the item specified has not yet been fetched from the server.
Parametreler
obj:Object — Object reference to the item to check.
| |
property:String — The property.
|
Boolean — false if the property on the item specified has not yet been fetched from the server.
|
setProperty | () | yöntem |
public static function setProperty(obj:IManaged, property:Object, oldValue:*, newValue:*):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 is used to set the property of a managed object. In addition to setting the vlaue of the property specified, this method will handle keeping related artifacts in sync and clean up any deeply nested event dispatching and lazy loaded properties.
Parametreler
obj:IManaged — IManaged reference to the managed object that the property
will be set on
| |
property:Object — Object containing the name of the property that will be
set.
Typically this is a String value but can be a
QName .
| |
oldValue:* — reference to the previous value of the property.
| |
newValue:* — reference to the new value of the property
|
İlgili API Öğeleri
Örnek ( Bu örnek nasıl kullanılır? )
public class Customer implements IManaged { private var _addresses:ArrayCollection; public function get addresses():ArrayCollection { _addresses = Managed.getProperty(this, "addresses", _addresses); } public function set addresses(value:ArrayCollection):void { Managed.setProperty(this, "addresses", _addresses, _addresses = value); } }
toString | () | yöntem |
public static function toString(value:Object, namespaceURIs:Array = null, exclude:Array = null, indent:int = 0, printTypes:Boolean = false, refs:Dictionary = null):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 a String representation of this managed object.
Parametreler
value:Object — managed object instance.
| |
namespaceURIs:Array (default = null ) — array of strings representing all namespaces that should
be included in the output.
| |
exclude:Array (default = null ) — array of strings representing the property names that should
be excluded from the output.
| |
indent:int (default = 0 ) — number of spaces used to indent each line of the output.
| |
printTypes:Boolean (default = false ) — type names are included in the output when true.
| |
refs:Dictionary (default = null ) — dictionary used to avoid infinite looping when circular references are present.
|
String — a String representation of this managed object.
|
UNSET_PROPERTY | Sabit |
public static const UNSET_PROPERTY:String = "__UNSET__"
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 |
Metadata constant representing properties that have been un-set.
Tue Jun 12 2018, 01:09 PM Z