com.atlassian.jira.appconsistency.integrity.check
Class EntityCheckImpl

java.lang.Object
  extended by com.atlassian.jira.appconsistency.integrity.check.CheckImpl
      extended by com.atlassian.jira.appconsistency.integrity.check.EntityCheckImpl
All Implemented Interfaces:
Check, EntityCheck
Direct Known Subclasses:
AbstractEntityRelation

public abstract class EntityCheckImpl
extends CheckImpl
implements EntityCheck


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
genericDelegator, id
 
Constructor Summary
protected EntityCheckImpl(org.ofbiz.core.entity.GenericDelegator genericDelegator, java.lang.Long id)
           
 
Method Summary
protected  java.util.List getEntities(java.lang.String entityName)
           
 EntityIntegrityCheck getEntityIntegrityCheck()
           
protected  java.lang.String getEntityName()
           
 IntegrityCheck getIntegrityCheck()
           
 java.lang.String getUnavailableMessage()
           
 void setEntityIntegrityCheck(EntityIntegrityCheck entityIntegrityCheck)
           
 void setIntegrityCheck(IntegrityCheck integrityCheck)
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
getGenericDelegator, getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.appconsistency.integrity.check.Check
correct, getDescription, getId, isAvailable, preview
 

Constructor Detail

EntityCheckImpl

protected EntityCheckImpl(org.ofbiz.core.entity.GenericDelegator genericDelegator,
                          java.lang.Long id)
Method Detail

getEntityIntegrityCheck

public EntityIntegrityCheck getEntityIntegrityCheck()
Specified by:
getEntityIntegrityCheck in interface EntityCheck

setEntityIntegrityCheck

public void setEntityIntegrityCheck(EntityIntegrityCheck entityIntegrityCheck)
Specified by:
setEntityIntegrityCheck in interface EntityCheck

getIntegrityCheck

public IntegrityCheck getIntegrityCheck()
Specified by:
getIntegrityCheck in interface Check
Overrides:
getIntegrityCheck in class CheckImpl

setIntegrityCheck

public void setIntegrityCheck(IntegrityCheck integrityCheck)
Specified by:
setIntegrityCheck in interface Check
Overrides:
setIntegrityCheck in class CheckImpl

getEntityName

protected java.lang.String getEntityName()

getEntities

protected java.util.List getEntities(java.lang.String entityName)
                              throws IntegrityException
Throws:
IntegrityException

getUnavailableMessage

public java.lang.String getUnavailableMessage()
Specified by:
getUnavailableMessage in interface Check


Copyright © 2002-2006 Atlassian. All Rights Reserved.