Packageorg.as3commons.reflect
Classpublic class Field
InheritanceField Inheritance AbstractMember Inheritance MetadataContainer Inheritance Object
Subclasses Accessor, Constant, Variable

A field of a class.



Public Properties
 PropertyDefined By
 InheriteddeclaringType : Type
[read-only]
AbstractMember
 InheritedisStatic : Boolean
[read-only]
AbstractMember
 Inheritedmetadata : Array
[read-only] Returns an array of all metadata objects in this container.
MetadataContainer
 Inheritedname : String
[read-only]
AbstractMember
 InheritednamespaceURI : String
[read-only]
AbstractMember
 InheritedqName : QName
[read-only]
AbstractMember
 Inheritedtype : Type
[read-only]
AbstractMember
Protected Properties
 PropertyDefined By
 InheritedapplicationDomain : ApplicationDomain
AbstractMember
Public Methods
 MethodDefined By
  
Field(name:String, type:String, declaringType:String, isStatic:Boolean, applicationDomain:ApplicationDomain, metadata:HashArray = null)
Creates a new Field objects.
Field
 Inherited
addMetadata(metadata:Metadata):void
Adds a Metadata object to this container.
MetadataContainer
 Inherited
equals(other:Object):Boolean
AbstractMember
 Inherited
getCacheKey(clazz:Class, name:String, type:String, declaringType:String, isStatic:Boolean, applicationDomain:ApplicationDomain, metadata:HashArray = null):String
[static]
AbstractMember
 Inherited
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
 Inherited
hasExactMetadata(otherMetadata:Metadata):Boolean
MetadataContainer
 Inherited
hasMetadata(key:String):Boolean
Returns whether this object has meta data for the given key.
MetadataContainer
 Inherited
newInstance(clazz:Class, name:String, type:String, declaringType:String, isStatic:Boolean, applicationDomain:ApplicationDomain, metadata:HashArray = null):AbstractMember
[static]
AbstractMember
Protected Methods
 MethodDefined By
 Inherited
compareMetadata(metadataArray:Array):Boolean
AbstractMember
 Inherited
initAbstractType(name:String, isStatic:Boolean, type:String, declaringType:String, applicationDomain:ApplicationDomain):void
AbstractMember
Constructor Detail
Field()Constructor
public function Field(name:String, type:String, declaringType:String, isStatic:Boolean, applicationDomain:ApplicationDomain, metadata:HashArray = null)

Creates a new Field objects.

Parameters
name:String
 
type:String
 
declaringType:String
 
isStatic:Boolean
 
applicationDomain:ApplicationDomain
 
metadata:HashArray (default = null)
Method Detail
getValue()method
public function getValue(target:* = null):*

Returns the value of the field.

Parameters

target:* (default = null)

Returns
*