org.alfresco.util.schemacomp.model
Class AbstractDbObjectTest.ConcreteDbObject

java.lang.Object
  extended by org.alfresco.util.schemacomp.model.AbstractDbObject
      extended by org.alfresco.util.schemacomp.model.AbstractDbObjectTest.ConcreteDbObject
All Implemented Interfaces:
DbObject
Enclosing class:
AbstractDbObjectTest

public static class AbstractDbObjectTest.ConcreteDbObject
extends AbstractDbObject

Concrete DbObject for testing the AbstractDbObject base class.


Field Summary
 
Fields inherited from class org.alfresco.util.schemacomp.model.AbstractDbObject
comparisonUtils
 
Constructor Summary
AbstractDbObjectTest.ConcreteDbObject(java.lang.String name)
           
 
Method Summary
 void accept(DbObjectVisitor visitor)
          Allows a visitor to be invoked against this DbObject.
protected  void doDiff(DbObject right, DiffContext ctx, Result.Strength strength)
          Override this method to provide subclass specific diffing logic.
 java.lang.String getSomeProp()
           
 
Methods inherited from class org.alfresco.util.schemacomp.model.AbstractDbObject
diff, equals, getName, getNameStrength, getParent, getTypeName, getValidators, hashCode, sameAs, setComparisonUtils, setName, setNameStrength, setParent, setValidators, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractDbObjectTest.ConcreteDbObject

public AbstractDbObjectTest.ConcreteDbObject(java.lang.String name)
Method Detail

doDiff

protected void doDiff(DbObject right,
                      DiffContext ctx,
                      Result.Strength strength)
Description copied from class: AbstractDbObject
Override this method to provide subclass specific diffing logic.

Overrides:
doDiff in class AbstractDbObject

accept

public void accept(DbObjectVisitor visitor)
Description copied from interface: DbObject
Allows a visitor to be invoked against this DbObject. Implementations should ensure that child objects are visited first (by calling accept on them) before invoking the visitor on itself.


getSomeProp

public java.lang.String getSomeProp()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.