Class AttributeModel
Object
|
+--OObject
|
+--Observer
|
+--Model
|
+--ScalarModel
|
+--AttributeModel
-
Direct Known Subclasses:
-
ROAttributeModel
- class
AttributeModel
- extends ScalarModel
This class encapsulates a "wrapper" data model for a
specified attribute of a specified base object.
The specified attribute can NOT be a method call.
See:
Author: Bruce Wallace (PolyGlotInc.com)
Defined in mvc.js
Version: 1.0
|
Method Summary |
void
|
_setValidity( <String> errMsg )
set the validity attribute of this attribute but dont publish
|
void
|
_setValue(x)
set the value of base object attribute but dont publish
|
String
|
getValidity()
return the validity attribute of this attribute
|
Object
|
getValue( )
return the value of base object attribute
|
void
|
konstructor( <Object> baseObject, <String> attribute, <String> optName )
|
void
|
setValue(x)
set the value of base object attribute and publish
|
| Methods inherited from class Model |
dumpSubscribers, toString, dirty, clean, neverChanged, publish, GET, _SET, SET, updateStamp, BeginTransaction, EndTransaction, addObserver, delObserver, notifyObservers
|
AttributeModel
AttributeModel()
See:Author: Bruce Wallace (PolyGlotInc.com)
Version: 1.0
_setValidity
void _setValidity( <String> errMsg )
set the validity attribute of this attribute but dont publish
Parameters:
errMsg - the validity attribute (as an error message)
_setValue
void _setValue(x)
set the value of base object attribute but dont publish
getValidity
String getValidity()
return the validity attribute of this attribute
getValue
Object getValue( )
return the value of base object attribute
konstructor
void konstructor( <Object> baseObject, <String> attribute, <String> optName )
Parameters:
baseObject - object whose property we are wrappering
attribute - name of baseObject's member we are wrappering
optName - optional name of this instance
setValue
void setValue(x)
set the value of base object attribute and publish
Documentation generated by
JSDoc on Fri Mar 17 06:40:21 2006