Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
com.adobe.fiber.valueobjects 
IModelType 
Packagecom.adobe.fiber.valueobjects
Interfacepublic interface IModelType
Implementors AbstractEntityMetadata

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

The IModelType interface declares functions that expose metadata information that does not depend on instance state of value objects generated by Adobe application modeling technology.

An implementation of this interface is generated for each entity declared in a model. An instance corresponding to a value object is accessible via its _model property.



Public Methods
 MethodDefined By
  
Returns the names of all association properties.
IModelType
  
Gets the base type of a collection property.
IModelType
  
Returns the names of all collection properties.
IModelType
  
Returns the names of all data properties for an Entity regardless of whether they are currently available.
IModelType
  
getDependants(propertyName:String):Array
Gets all derived properties whose values may change as a result of this data property's value changing.
IModelType
  
Gets the names of all services that derived properties of this entity depend on for their calculations.
IModelType
  
Gets the Entity's name for a given value object.
IModelType
  
Returns the names of all guarded properties for an Entity regardless of whether they are currently available.
IModelType
  
getMappedByProperty(associationProperty:String):String
Returns the mappedBy property for the passed-in association property; Returns null if the passed-in assocaition property is not mapped by a property.
IModelType
  
Returns the names of all properties for an Entity regardless of whether they are currently available.
IModelType
  
Returns the length set for the passed-in property.
IModelType
  
Returns the names of all required properties.
IModelType
  
Returns the names of all unguarded properties for an Entity.
IModelType
Method Detail

getAssociationProperties

()method
public function getAssociationProperties():Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the names of all association properties.

Returns
Array — Names of all association properties

getCollectionBase

()method 
public function getCollectionBase(propertyName:String):String

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Gets the base type of a collection property.

Parameters

propertyName:String — Name of desired property

Returns
String — Fully qualified name of the collection's base class

getCollectionProperties

()method 
public function getCollectionProperties():Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the names of all collection properties.

Returns
Array — Names of all collection properties

getDataProperties

()method 
public function getDataProperties():Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the names of all data properties for an Entity regardless of whether they are currently available.

Returns
Array — Names of all data properties for an Entity

getDependants

()method 
public function getDependants(propertyName:String):Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Gets all derived properties whose values may change as a result of this data property's value changing.

Parameters

propertyName:String — Name of data property to get dependants of

Returns
Array — All derived properties depending on this data propery

getDependedOnServices

()method 
public function getDependedOnServices():Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Gets the names of all services that derived properties of this entity depend on for their calculations.

Returns
Array

getEntityName

()method 
public function getEntityName():String

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Gets the Entity's name for a given value object.

Returns
String

getGuardedProperties

()method 
public function getGuardedProperties():Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the names of all guarded properties for an Entity regardless of whether they are currently available.

Returns
Array — Names of all guarded properties for an Entity

getMappedByProperty

()method 
public function getMappedByProperty(associationProperty:String):String

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the mappedBy property for the passed-in association property; Returns null if the passed-in assocaition property is not mapped by a property. Returns null of the passed-in property is not an association property.

Parameters

associationProperty:String

Returns
String — The mappedBy property for the passed-in association property. Returns null if the passed-in assocaition property is not mapped by a property. Returns null of the passed-in property is not an association property.

getProperties

()method 
public function getProperties():Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the names of all properties for an Entity regardless of whether they are currently available.

Returns
Array — Names of all properties for an Entity

getPropertyLength

()method 
public function getPropertyLength(propertyName:String):int

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the length set for the passed-in property. Returns zero if length was not set for the property.

Parameters

propertyName:String

Returns
int — Length set for the passed-in property. Returns zero if length was not set for the property.

getRequiredProperties

()method 
public function getRequiredProperties():Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the names of all required properties.

Returns
Array — Names of all required properties.

getUnguardedProperties

()method 
public function getUnguardedProperties():Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the names of all unguarded properties for an Entity.

Returns
Array — Names of all unguarded properties for an Entity