| Package | org.restfulx.utils |
| Class | public class ModelsMetadata |
| Property | Defined by | ||
|---|---|---|---|
| controllers : Dictionary maps FQNs to controller names
| ModelsMetadata | ||
| eager : Dictionary lists all dependencies for models
| ModelsMetadata | ||
| fqns : Dictionary various aliases for FQNs
| ModelsMetadata | ||
| hmts : Dictionary computed [HasMany(through)] relationships
| ModelsMetadata | ||
| indexed : Dictionary tracks which models have been indexed
| ModelsMetadata | ||
| lazy : Dictionary lists only [Lazy] annotated dependencies for models
| ModelsMetadata | ||
| models : Array registered models
| ModelsMetadata | ||
| names : Dictionary maps between FQNs and single + pluralized noun versions of FQNs
| ModelsMetadata | ||
| parents : Dictionary computed model inheritance heirarchy
| ModelsMetadata | ||
| refs : Dictionary maps model references to their types and auxilary info
| ModelsMetadata | ||
| shown : Dictionary tracks which models have been shown
| ModelsMetadata | ||
| types : Dictionary maps between Class instances of models and their String representations
| ModelsMetadata | ||
| waiting : Dictionary tracks which models we are currently waiting for
| ModelsMetadata | ||
| Method | Defined by | ||
|---|---|---|---|
|
ModelsMetadata(models:Array)
Computes all relevant metadata for the models passed in as argument.
| ModelsMetadata | ||
|
reset(object:Object = null):void
Resets model metadata.
| ModelsMetadata | ||
| controllers | property |
public var controllers:Dictionarymaps FQNs to controller names
| eager | property |
public var eager:Dictionarylists all dependencies for models
| fqns | property |
public var fqns:Dictionaryvarious aliases for FQNs
| hmts | property |
public var hmts:Dictionarycomputed [HasMany(through)] relationships
| indexed | property |
public var indexed:Dictionarytracks which models have been indexed
| lazy | property |
public var lazy:Dictionarylists only [Lazy] annotated dependencies for models
| models | property |
public var models:Arrayregistered models
| names | property |
public var names:Dictionarymaps between FQNs and single + pluralized noun versions of FQNs
| parents | property |
public var parents:Dictionarycomputed model inheritance heirarchy
| refs | property |
public var refs:Dictionarymaps model references to their types and auxilary info
| shown | property |
public var shown:Dictionarytracks which models have been shown
| types | property |
public var types:Dictionarymaps between Class instances of models and their String representations
| waiting | property |
public var waiting:Dictionarytracks which models we are currently waiting for
| ModelsMetadata | () | constructor |
public function ModelsMetadata(models:Array)Computes all relevant metadata for the models passed in as argument.
Parametersmodels:Array — array of classes for application models
|
| reset | () | method |
public function reset(object:Object = null):voidResets model metadata.
Parametersobject:Object (default = null) — can be a model class or specific model instance
|