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():Array
name:String [read-only]
Returns the name of this metadata.
Implementation
public function get name():String
public 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 getArgument(key:String):MetaDataArgument
Returns the MetaDataArgument for the given key. If none was found, null is returned.
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 function toString():String
Returns
public static const BINDABLE:String = "Bindable"
public static const TRANSIENT:String = "Transient"