Packageorg.swizframework.reflection
Classpublic class BaseMetadataHost
InheritanceBaseMetadataHost Inheritance Object
Implements IMetadataHost
Subclasses BindableMetadataHost, MetadataHostMethod

Base implementation of the IMetadataHost interface. Implements getters and setters and initializes metadataTags Array.

See also

org.swizframework.reflection.IMetadataHost
org.swizframework.reflection.MetadataHostClass
org.swizframework.reflection.MetadataHostMethod
org.swizframework.reflection.MetadataHostProperty


Public Properties
 PropertyDefined By
  metadataTags : Array
Array of metadata tags that decorate the property/method/class.
BaseMetadataHost
  name : *
Name of the property/method/class.
BaseMetadataHost
  type : Class
Type of the property/method/class.
BaseMetadataHost
Protected Properties
 PropertyDefined By
  _metadataTags : Array
Backing variable for metadataTags getter/setter.
BaseMetadataHost
  _name : *
Backing variable for name getter/setter.
BaseMetadataHost
  _type : Class
Backing variable for type getter/setter.
BaseMetadataHost
Public Methods
 MethodDefined By
  
Constructor initializes metadataTags Array.
BaseMetadataHost
  
BaseMetadataHost
  
hasMetadataTagByName(name:String):Boolean
BaseMetadataHost
Property Detail
_metadataTagsproperty
protected var _metadataTags:Array

Backing variable for metadataTags getter/setter.

_nameproperty 
protected var _name:*

Backing variable for name getter/setter.

_typeproperty 
protected var _type:Class

Backing variable for type getter/setter.

metadataTagsproperty 
metadataTags:Array

Array of metadata tags that decorate the property/method/class.


Implementation
    public function get metadataTags():Array
    public function set metadataTags(value:Array):void
nameproperty 
name:*

Name of the property/method/class.


Implementation
    public function get name():*
    public function set name(value:any):void
typeproperty 
type:Class

Type of the property/method/class.


Implementation
    public function get type():Class
    public function set type(value:Class):void
Constructor Detail
BaseMetadataHost()Constructor
public function BaseMetadataHost()

Constructor initializes metadataTags Array.

Method Detail
getMetadataTagByName()method
public function getMetadataTagByName(name:String):IMetadataTag

Parameters

name:String

Returns
IMetadataTag
hasMetadataTagByName()method 
public function hasMetadataTagByName(name:String):Boolean

Parameters

name:String

Returns
Boolean