| Package | org.as3commons.reflect |
| Class | public class Field |
| Inheritance | Field AbstractMember MetaDataContainer |
| Subclasses | Accessor, Constant, Variable |
| Method | Defined by | ||
|---|---|---|---|
|
Field(name:String, type:String, declaringType:String, isStatic:Boolean, metaData:Array = null)
Creates a new Field objects.
| Field | ||
![]() |
addMetaData(metaData:MetaData):void
Adds a MetaData object to this container.
| MetaDataContainer | |
![]() |
getMetaData(key:String):Array
Returns the array of MetaData object that corresponds to the given key.
| MetaDataContainer | |
|
getValue(target:* = null):*
Returns the value of the field.
| Field | ||
![]() |
hasMetaData(key:String):Boolean
Returns whether this object has meta data for the given key.
| MetaDataContainer | |
| Field | () | constructor |
public function Field(name:String, type:String, declaringType:String, isStatic:Boolean, metaData:Array = null)Creates a new Field objects.
Parametersname:String |
|
type:String |
|
declaringType:String |
|
isStatic:Boolean |
|
metaData:Array (default = null) |
| getValue | () | method |
public function getValue(target:* = null):*Returns the value of the field.
Parameterstarget:* (default = null) |
* |