com.atlassian.jira.appconsistency.integrity
Class PrimaryEntityRelationCreate

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

public class PrimaryEntityRelationCreate
extends AbstractEntityRelation


Constructor Summary
PrimaryEntityRelationCreate(GenericDelegator genericDelegator, java.lang.Long id, java.lang.String relationType, java.lang.String relationName, java.lang.String relationField, java.util.Map fields)
           
 
Method Summary
 java.util.List correct()
           
 java.lang.String getDescription()
           
 boolean isAvailable()
           
protected  Amendment previewAmendment(GenericValue entity)
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.AbstractEntityRelation
getRelationName, getRelationType, preview, 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
 

Constructor Detail

PrimaryEntityRelationCreate

public PrimaryEntityRelationCreate(GenericDelegator genericDelegator,
                                   java.lang.Long id,
                                   java.lang.String relationType,
                                   java.lang.String relationName,
                                   java.lang.String relationField,
                                   java.util.Map fields)
Method Detail

getDescription

public java.lang.String getDescription()

previewAmendment

protected Amendment previewAmendment(GenericValue entity)
Specified by:
previewAmendment in class AbstractEntityRelation

correct

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

isAvailable

public boolean isAvailable()