Packageorg.spicefactory.lib.reflect.metadata
Classpublic class MappedMetadata

Represents a metadata tag that marks a class as a mapped metadata class. These classes can be registered with Metadata.registerMetadataClass. For any mapped metadata class metadata tags in AS3 classes will be mapped to instances of that class, automatically mapping metadata attributes to properties of the mapped class including automatic type conversion if necessary.



Public Properties
 PropertyDefined by
  name : String
The name of the metadata tag.
MappedMetadata
  types : Array
The types for which this Metadata tag should be processed.
MappedMetadata
Property detail
nameproperty
public var name:String

The name of the metadata tag. If not specified the name is the non-qualifed class name of the mapped class.

typesproperty 
public var types:Array

The types for which this Metadata tag should be processed. Valid values are class, constructor, property or method. If not specified the metadata is processed for all types. For other types the metadata will be represented by the generic Metadata class and not be mapped to a custom class.

The constructor type is included for future use. Currently the Flex SDK compiler ignores all metadata tags placed on constructors.