butler.ext.attribute
Class AttributedRecord

java.lang.Object
  extended by butler.util.BaseGroovyObjectSupport
      extended by butler.sql.record.Record
          extended by butler.ext.attribute.AttributedRecord
All Implemented Interfaces:
groovy.lang.GroovyObject

public class AttributedRecord
extends Record

Author:
Fredrik Bertilsson

Nested Class Summary
 
Nested classes/interfaces inherited from class butler.sql.record.Record
Record.State, Record.ValidationException
 
Field Summary
 
Fields inherited from class butler.sql.record.Record
_relatedRecord, _relatedRecords
 
Constructor Summary
AttributedRecord(Table tab)
           
 
Method Summary
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class butler.sql.record.Record
addRelatedRecord, addRelatedRecord, addRelatedRecord, addRelatedRecord, checkMandatory, copy, copy, delete, delete, equals, get, get, getChangedColumns, getContent, getDouble, getDouble, getFKValues, getFormattedValue, getID, getInt, getInt, getPrimaryKey, getProperty, getRelatedRecord, getRelatedRecord, getRelatedRecord, getRelatedRecords, getRelatedRecords, getRelatedRecords, getRelatedRecords, getState, getTable, hashCode, initDefaultValues, isAggregate, isChanged, makeClean, parseRecord, parseRecord, parseRecord, parseRecord, parseXML, reset, save, saveOptimistic, set, set, setAggregate, setFormattedValue, setPrimaryKey, setProperty, setRelatedRecord, setRelatedRecord, setRelatedRecords, setRelatedRecords, setRelatedRecords, setState, toString, toString, toXML, toXML, toXMLCompact, toXMLCompact, toXMLSimple, trim, unload, validate
 
Methods inherited from class butler.util.BaseGroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributedRecord

public AttributedRecord(Table tab)
Method Detail

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
                  throws java.lang.Exception
Throws:
java.lang.Exception