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 the 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 or not.
IModelType
  
getDependants(propertyName:String):Array
Gets all derived properties whose values may change as a result of this date 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 or not.
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 mappedBy a property; returns null of the passed-in property is not an association property;
IModelType
  
Returns the names of all properties for an Entity; regardless of whether they are currently available or not.
IModelType
  
Returns the length set for the passed-in property; return zero if length was not set for the 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 — the 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 — 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 — the 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 or not.

Returns
Array — the names of all data properties for an Entity; regardless of whether they are currently available or not.
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 date property's value changing

Parameters

propertyName:String — name of date 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 or not.

Returns
Array — the names of all guarded properties for an Entity; regardless of whether they are currently available or not.
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 mappedBy 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; return null if the passed-in assocaition property is not mappedBy a property; return 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 or not.

Returns
Array — the names of all properties for an Entity; regardless of whether they are currently available or not.
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; return zero if length was not set for the property.

Parameters

propertyName:String

Returns
int — the length set for the passed-in property; return 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 — the 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 — the names of all unguarded properties for an Entity.