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

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

public abstract class AbstractEntityRelation
extends EntityCheckImpl


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
genericDelegator, id
 
Constructor Summary
AbstractEntityRelation(org.ofbiz.core.entity.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(org.ofbiz.core.entity.GenericValue entity)
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.EntityCheckImpl
getEntities, getEntityIntegrityCheck, getEntityName, getIntegrityCheck, getUnavailableMessage, setEntityIntegrityCheck, setIntegrityCheck
 
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, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.appconsistency.integrity.check.Check
correct, getDescription, getId, isAvailable
 

Constructor Detail

AbstractEntityRelation

public AbstractEntityRelation(org.ofbiz.core.entity.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(org.ofbiz.core.entity.GenericValue entity)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2006 Atlassian. All Rights Reserved.