com.atlassian.jira.appconsistency.integrity
Class AbstractEntityRelation

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

public abstract class AbstractEntityRelation
extends EntityCheckImpl


Constructor Summary
AbstractEntityRelation(GenericDelegator genericDelegator, java.lang.Long id, java.lang.String relationType, java.lang.String relationName)
           
 
Method Summary
protected  java.lang.String getRelationName()
           
protected  java.lang.String getRelationType()
           
 java.util.List preview()
           
protected abstract  Amendment previewAmendment(GenericValue entity)
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.EntityCheckImpl
getEntities, getEntityIntegrityCheck, getEntityName, getGenericDelegator, getId, getIntegrityCheck, getUnavailableMessage, setEntityIntegrityCheck, setIntegrityCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.appconsistency.integrity.Check
correct, getDescription, isAvailable
 

Constructor Detail

AbstractEntityRelation

public AbstractEntityRelation(GenericDelegator genericDelegator,
                              java.lang.Long id,
                              java.lang.String relationType,
                              java.lang.String relationName)
Method Detail

getRelationType

protected java.lang.String getRelationType()

getRelationName

protected java.lang.String getRelationName()

preview

public java.util.List preview()
                       throws IntegrityException
Throws:
IntegrityException

previewAmendment

protected abstract Amendment previewAmendment(GenericValue entity)

toString

public java.lang.String toString()