Packageorg.swizframework.metadata
Classpublic class PostConstructMetadataTag
InheritancePostConstructMetadataTag Inheritance BaseMetadataTag Inheritance Object

Class to represent [PostConstruct] metadata tags.



Public Properties
 PropertyDefined By
 Inheritedargs : Array
Array of arguments defined in the tag.
BaseMetadataTag
 InheritedasTag : String
[read-only] String showing what this tag looks like in code.
BaseMetadataTag
 InheriteddefaultArgName : String
Name that will be assumed/used when a default argument value is provided, e.g.
BaseMetadataTag
 Inheritedhost : IMetadataHost
Element (class, method or property) on which the metadata tag is defined.
BaseMetadataTag
 Inheritedname : String
Name of the tag, e.g.
BaseMetadataTag
  order : int
[read-only] Returns order attribute of [PostConstruct] tag.
PostConstructMetadataTag
Protected Properties
 PropertyDefined By
 Inherited_args : Array
Backing variable for args property.
BaseMetadataTag
 Inherited_defaultArgName : String
Backing variable for defaultArgName property.
BaseMetadataTag
 Inherited_host : IMetadataHost
Backing variable for host property.
BaseMetadataTag
 Inherited_name : String
Backing variable for name property.
BaseMetadataTag
  _order : int = 1
Backing variable for read-only order property.
PostConstructMetadataTag
Public Methods
 MethodDefined By
  
Constructor sets defaultArgName.
PostConstructMetadataTag
  
copyFrom(metadataTag:IMetadataTag):void
[override]
PostConstructMetadataTag
 Inherited
getArg(argName:String):MetadataArg
BaseMetadataTag
 Inherited
hasArg(argName:String):Boolean
BaseMetadataTag
 Inherited
toString():String
Utility method useful for development and debugging that returns string showing what this tag looked like defined in code.
BaseMetadataTag
Property Detail
_orderproperty
protected var _order:int = 1

Backing variable for read-only order property.

orderproperty 
order:int  [read-only]

Returns order attribute of [PostConstruct] tag. Refers to the order in which the decorated methods will be executed. Is the default attribute, meaning [PostConstruct( 2 )] is equivalent to [PostConstruct( order="2" )].


Implementation
    public function get order():int
Constructor Detail
PostConstructMetadataTag()Constructor
public function PostConstructMetadataTag()

Constructor sets defaultArgName.

Method Detail
copyFrom()method
override public function copyFrom(metadataTag:IMetadataTag):void

Parameters

metadataTag:IMetadataTag