Packageorg.as3commons.reflect
Classpublic class BaseParameter
InheritanceBaseParameter Inheritance Object
Implements org.as3commons.lang.IEquals

Provides information of a parameter passed to a method.



Public Properties
 PropertyDefined By
  isOptional : Boolean
[read-only]
BaseParameter
  type : Type
[read-only]
BaseParameter
Protected Properties
 PropertyDefined By
  typeName : String
BaseParameter
Public Methods
 MethodDefined By
  
BaseParameter(type:String, applicationDomain:ApplicationDomain, isOptional:Boolean = false)
Creates a new BaseParameter object.
BaseParameter
  
equals(other:Object):Boolean
BaseParameter
  
newInstance(type:String, applicationDomain:ApplicationDomain, isOptional:Boolean = false):BaseParameter
[static]
BaseParameter
Property Detail
isOptionalproperty
isOptional:Boolean  [read-only]


Implementation
    public function get isOptional():Boolean
typeproperty 
type:Type  [read-only]


Implementation
    public function get type():Type
typeNameproperty 
protected var typeName:String

Constructor Detail
BaseParameter()Constructor
public function BaseParameter(type:String, applicationDomain:ApplicationDomain, isOptional:Boolean = false)

Creates a new BaseParameter object.

Parameters
type:String — the class type of the parameter
 
applicationDomain:ApplicationDomain — whether the parameter is optional or not
 
isOptional:Boolean (default = false)
Method Detail
equals()method
public function equals(other:Object):Boolean

Parameters

other:Object

Returns
Boolean
newInstance()method 
public static function newInstance(type:String, applicationDomain:ApplicationDomain, isOptional:Boolean = false):BaseParameter

Parameters

type:String
 
applicationDomain:ApplicationDomain
 
isOptional:Boolean (default = false)

Returns
BaseParameter
setIsOptional()method 
as3commons_reflect function setIsOptional(value:Boolean):void

Parameters

value:Boolean

setType()method 
as3commons_reflect function setType(value:String):void

Parameters

value:String