The Gravy Framework

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


Constructor Summary
AttributeModel ()
           
 
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
   
Methods inherited from class Observer
update, subscribe
 

Constructor Detail

AttributeModel

AttributeModel()

Method Detail

_setValidity

void _setValidity( <String> errMsg )

_setValue

void _setValue(x)

getValidity

String getValidity()

getValue

Object getValue( )

konstructor

void konstructor( <Object> baseObject, <String> attribute, <String> optName )

setValue

void setValue(x)

The Gravy Framework

Documentation generated by JSDoc on Fri Mar 17 06:40:21 2006