A Metadata object contains information about a metadata element placed above a member of a class or instance.
arguments:Array [read-only]
Returns the MetadataArgument objects that describe this metadata.
Implementation public function get arguments():Arrayname:String [read-only]
Returns the name of this metadata.
Implementation public function get name():Stringpublic function Metadata(name:String, arguments:Array = null)
Creates a new Metadata object.
Parameters | name:String — the name of the metadata
|
| |
| arguments:Array (default = null) — an array of MetadataArgument object that describe this metadata object
|
public function equals(other:Object):Boolean Parameters
Returns public function getArgument(key:String):MetadataArgument
Returns the MetadataArgument for the given key. If none was found, null is returned.
Parameters
Returns public static function getCacheKey(metadata:Metadata):String Parameters
Returns public function hasArgumentWithKey(key:String):Boolean
Returns whether this metadata contains a MetadataArgument with the given key as its name.
Parameters
Returns | Boolean — true if a MetadataArgument was found; false otherwise
|
public static function newInstance(name:String, arguments:Array = null):Metadata Parameters
| name:String |
| |
| arguments:Array (default = null) |
Returns as3commons_reflect function setName(value:String):void Parameters
public function toString():StringReturnspublic static const BINDABLE:String = Bindablepublic static const TRANSIENT:String = Transient
Thu Mar 29 2012, 09:42 PM +02:00