Packagevegas.util
Classpublic class AbstractTypeable
InheritanceAbstractTypeable Inheritance CoreObject
ImplementsITypeable, IValidator
SubclassesTypedCollection, TypedMap, TypedQueue, TypedSet, TypedStack

This abstract class is used to create concrete ITypeable implementations.

See also

ITypeable
IValidator


Public Methods
 MethodDefined by
  
Creates a new AbstractTypeable instance.
AbstractTypeable
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreObject
  
getType():*
Returns the type of the ITypeable object.
AbstractTypeable
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreObject
 Inherited
setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
CoreObject
  
setType(type:*):void
Sets the type of the ITypeable object.
AbstractTypeable
  
supports(value:*):Boolean
Returns true if the IValidator object validate the value.
AbstractTypeable
 Inherited
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
CoreObject
 Inherited
toString():String
Returns the string representation of this instance.
CoreObject
  
validate(value:*):void
Evaluates the condition it checks and updates the IsValid property.
AbstractTypeable
Constructor detail
AbstractTypeable()constructor
public function AbstractTypeable(type:*)

Creates a new AbstractTypeable instance.

Parameters
type:* — the Type of this ITypeable object.
Method detail
getType()method
public function getType():*

Returns the type of the ITypeable object.

Returns
* — the type of the ITypeable object.
setType()method 
public function setType(type:*):void

Sets the type of the ITypeable object.

Parameters
type:*
supports()method 
public function supports(value:*):Boolean

Returns true if the IValidator object validate the value.

Parameters
value:*

Returns
Booleantrue is this specific value is valid.
validate()method 
public function validate(value:*):void

Evaluates the condition it checks and updates the IsValid property.

Parameters
value:*