패키지 | com.adobe.fiber.valueobjects |
인터페이스 | public interface IModelInstance |
구현자 | AbstractEntityMetadata |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
An implementation of this interface is generated for each entity
declared in a model.
An instance corresponding to a value object
is accessible by its _model
property.
속성 | 정의 주체 | ||
---|---|---|---|
invalidConstraints : Array [읽기 전용]
Returns an Array of currently invalid constraints or an empty Array
if the value object is currently valid. | IModelInstance | ||
validationFailureMessages : Array [읽기 전용]
Returns an Array of localized error messages corresponding to the current
set of failed constraints and validations of the value object. | IModelInstance |
메서드 | 정의 주체 | ||
---|---|---|---|
Returns the names of all available properties of this instance as determined by variants. | IModelInstance | ||
Returns an Array of currently invalid constraints whose values may
change as a result of propertyName changing. | IModelInstance | ||
Returns a map of identity property names to their current values. | IModelInstance | ||
Returns an Array of localized error messages corresponding to the current
set of failed validations for the given property. | IModelInstance | ||
Returns style object for property. | IModelInstance | ||
Gets the value of a property. | IModelInstance | ||
Determines if a property is available as is determined by variants. | IModelInstance | ||
Sets the value of a property. | IModelInstance |
invalidConstraints | 속성 |
invalidConstraints:Array
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns an Array of currently invalid constraints or an empty Array if the value object is currently valid.
구현
public function get invalidConstraints():Array
validationFailureMessages | 속성 |
validationFailureMessages:Array
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns an Array of localized error messages corresponding to the current set of failed constraints and validations of the value object. Returns an empty Array if the value object is currently valid.
구현
public function get validationFailureMessages():Array
getAvailableProperties | () | 메서드 |
public function getAvailableProperties():IPropertyIterator
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns the names of all available properties of this instance as determined by variants.
반환값IPropertyIterator — Names of all available properties of this instance as determined by variants.
|
getDependantInvalidConstraints | () | 메서드 |
public function getDependantInvalidConstraints(propertyName:String):Array
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns an Array of currently invalid constraints whose values may change as a result of propertyName changing. If there are no such properties, an empty Array is returned.
매개 변수
propertyName:String — Name of property for which an Array of dependant invalid constraints
is retrieved
|
Array — Array of currently invalid constraints whose values may
change as a result of propertyName changing. If there are no
such properties, an empty Array is returned.
|
getIdentityMap | () | 메서드 |
getPropertyValidationFailureMessages | () | 메서드 |
public function getPropertyValidationFailureMessages(propertyName:String):Array
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns an Array of localized error messages corresponding to the current set of failed validations for the given property. Returns an empty Array if the property currently has no failing validations.
매개 변수
propertyName:String — Name of property of interest
|
Array — Array of localized error messages corresponding to the current
set of failed validations for the given property. Returns
an empty Array if the property currently has no failing validations.
|
getStyle | () | 메서드 |
public function getStyle(propertyName:String):IStyle
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns style object for property.
매개 변수
propertyName:String — Name of property for which associated style is retrieved
|
IStyle — Style object for property
|
getValue | () | 메서드 |
isAvailable | () | 메서드 |
public function isAvailable(propertyName:String):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Determines if a property is available as is determined by variants. An error is thrown
if the property name that is passed in is not a valid property of the value object.
To add bindings to the availability flag for a particular
property, use the ispropertyNameAvailable()
function. This function exists for every
property and supports binding.
매개 변수
propertyName:String — Property to check for availability
|
Boolean — true if this property is currently available as is determined by variants
|
오류
Error — if the passed in property name is not a valid property of the value object.
|
setValue | () | 메서드 |
public function setValue(propertyName:String, value:*):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Sets the value of a property. To clear a value, set it to undefined.
매개 변수
propertyName:String — Property to set
| |
value:* — Value to set property to
|
Tue Jun 12 2018, 03:17 PM Z