org.benow.repository.mapping
Class JSQLAugment

java.lang.Object
  extended by org.benow.security.SecureObject
      extended by org.benow.repository.util.PersistentObjectImpl
          extended by org.benow.repository.mapping.JSQLObject
              extended by org.benow.repository.mapping.JSQLAugment
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, org.benow.java.augment.Augment, PersistentObject

public abstract class JSQLAugment
extends JSQLObject
implements org.benow.java.augment.Augment

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.benow.repository.mapping.JSQLObject
JSQLObject.XSQLVersionDesc, JSQLObject.XSQLVersioned
 
Field Summary
 
Fields inherited from class org.benow.repository.util.PersistentObjectImpl
conn, recycled
 
Fields inherited from class org.benow.security.SecureObject
admin
 
Fields inherited from interface org.benow.repository.util.PersistentObject
FIELD_NAME_KEY
 
Constructor Summary
protected JSQLAugment()
           
protected JSQLAugment(org.benow.java.augment.Augmentable aug)
           
 
Method Summary
 boolean canAugment(java.lang.Class<?> aClass)
           
protected  void doValidate(java.util.List<java.lang.String> results)
           
 org.benow.java.augment.Augmentable getAugmented()
           
 org.benow.java.augment.Augment newAugment(org.benow.java.augment.Augmentable toAugment)
           
 void setAugmented(org.benow.java.augment.Augmentable jsqlAugmentable)
           
 void update(Transaction tx)
          Update this object in persistent storage.
 java.util.List<java.lang.String> validate()
           
 
Methods inherited from class org.benow.repository.mapping.JSQLObject
fetchExpectedField, fetchField, fetchFieldQuiet, forgetField, isFetched, isLocked, lock, refetchFieldQuiet, setFetched
 
Methods inherited from class org.benow.repository.util.PersistentObjectImpl
compareTo, doIsTransient, equals, getKey, isTransient, recycle, remove, remove, repositoryAfterLoad, repositoryAfterPersist, repositoryAfterTransient, repositoryBeforePersist, repositoryBeforeTransient, setKey, toString, update
 
Methods inherited from class org.benow.security.SecureObject
assertOnePermission, assertPermission, assertPermission, declarePermission, declareViewPermission, declareViewPermission
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSQLAugment

protected JSQLAugment()

JSQLAugment

protected JSQLAugment(org.benow.java.augment.Augmentable aug)
Method Detail

getAugmented

public org.benow.java.augment.Augmentable getAugmented()

canAugment

public boolean canAugment(java.lang.Class<?> aClass)
Specified by:
canAugment in interface org.benow.java.augment.Augment

newAugment

public org.benow.java.augment.Augment newAugment(org.benow.java.augment.Augmentable toAugment)
Specified by:
newAugment in interface org.benow.java.augment.Augment

update

public void update(Transaction tx)
            throws ObjectRepositoryException
Description copied from class: PersistentObjectImpl
Update this object in persistent storage.

Optionally implemented in descendant classes.

Specified by:
update in interface PersistentObject
Overrides:
update in class PersistentObjectImpl
Throws:
ObjectRepositoryException

validate

public final java.util.List<java.lang.String> validate()
Specified by:
validate in interface org.benow.java.augment.Augment

doValidate

protected void doValidate(java.util.List<java.lang.String> results)

setAugmented

public void setAugmented(org.benow.java.augment.Augmentable jsqlAugmentable)
Specified by:
setAugmented in interface org.benow.java.augment.Augment