com.atlassian.jira.appconsistency.integrity
Class EntityCheckImpl

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

public abstract class EntityCheckImpl
extends java.lang.Object
implements EntityCheck


Constructor Summary
protected EntityCheckImpl(GenericDelegator genericDelegator, java.lang.Long id)
           
 
Method Summary
protected  java.util.List getEntities(java.lang.String entityName)
           
 EntityIntegrityCheck getEntityIntegrityCheck()
           
protected  java.lang.String getEntityName()
           
protected  GenericDelegator getGenericDelegator()
           
 java.lang.Long getId()
           
 IntegrityCheck getIntegrityCheck()
           
 java.lang.String getUnavailableMessage()
           
 void setEntityIntegrityCheck(EntityIntegrityCheck entityIntegrityCheck)
           
 void setIntegrityCheck(IntegrityCheck integrityCheck)
           
 
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
correct, getDescription, isAvailable, preview
 

Constructor Detail

EntityCheckImpl

protected EntityCheckImpl(GenericDelegator genericDelegator,
                          java.lang.Long id)
Method Detail

getGenericDelegator

protected GenericDelegator getGenericDelegator()

getId

public java.lang.Long getId()
Specified by:
getId in interface Check

getIntegrityCheck

public IntegrityCheck getIntegrityCheck()
Specified by:
getIntegrityCheck in interface Check

setIntegrityCheck

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

getEntityIntegrityCheck

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

setEntityIntegrityCheck

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

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