public class InactivationBlockingDefinition extends DataDictionaryDefinitionBase implements InactivationBlockingMetadata
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
blockedBusinessObjectClass |
protected String |
blockedReferencePropertyName |
protected Class<?> |
blockingReferenceBusinessObjectClass |
protected Class<?> |
businessObjectClass |
protected String |
inactivationBlockingDetectionServiceBeanName |
protected String |
relationshipLabel |
embeddedDataObjectMetadata, generatedFromMetadata, id
componentCode, namespaceCode
Constructor and Description |
---|
InactivationBlockingDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
completeValidation(Class<?> rootDataObjectClass,
Class<?> otherDataObjectClass,
ValidationTrace tracer)
Empty implementation so that all subclasses do not need to implement this method if they have no local validation to perform.
|
String |
getBlockedAttributeName()
The name of the attribute which is blocked by the blocking object.
|
Class<? extends BusinessObject> |
getBlockedBusinessObjectClass()
Deprecated.
|
Class<?> |
getBlockedDataObjectClass()
Returns the type of the data object that is blocked.
|
String |
getBlockedReferencePropertyName()
Deprecated.
|
Class<?> |
getBlockingDataObjectClass()
The type of the object that is blocking another record.
|
Class<? extends BusinessObject> |
getBlockingReferenceBusinessObjectClass()
Deprecated.
|
Class<? extends BusinessObject> |
getBusinessObjectClass()
Deprecated.
the businessObjectClass does not appear to be used anywhere significantly internally or externally,
no replacement
|
String |
getInactivationBlockingDetectionServiceBeanName()
The bean name of the service that is responsible for determining whether there are any records that block
inactivation
|
String |
getRelationshipLabel()
Returns the human-meaningful name of the relationship
|
void |
setBlockedAttributeName(String blockedAttributeName) |
void |
setBlockedBusinessObjectClass(Class<? extends BusinessObject> blockedBusinessObjectClass)
Deprecated.
use
setBlockedDataObjectClass(Class) instead |
void |
setBlockedDataObjectClass(Class<?> blockedDataObjectClass) |
void |
setBlockedReferencePropertyName(String blockedReferencePropertyName)
Deprecated.
use
setBlockedAttributeName(String) instead |
void |
setBlockingReferenceBusinessObjectClass(Class<? extends BusinessObject> blockingReferenceBusinessObjectClass)
Deprecated.
|
void |
setBlockingReferenceDataObjectClass(Class<?> blockingDataObjectClass) |
void |
setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)
Deprecated.
the businessObjectClass does not appear to be used anywhere significantly internally or externally,
no replacement
|
void |
setInactivationBlockingDetectionServiceBeanName(String inactivationBlockingDetectionServiceImpl) |
void |
setRelationshipLabel(String relationshipLabel) |
String |
toString() |
completeValidation, getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadata
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
protected Class<?> blockingReferenceBusinessObjectClass
protected String blockedReferencePropertyName
protected Class<?> blockedBusinessObjectClass
protected String inactivationBlockingDetectionServiceBeanName
protected String relationshipLabel
protected Class<?> businessObjectClass
public InactivationBlockingDefinition()
public void completeValidation(Class<?> rootDataObjectClass, Class<?> otherDataObjectClass, ValidationTrace tracer)
DataDictionaryDefinitionBase
completeValidation
in interface DataDictionaryDefinition
completeValidation
in class DataDictionaryDefinitionBase
rootDataObjectClass
- Class of the BusinessObjectEntry which ultimately contains this definitionotherDataObjectClass
- other stuff required to complete validationtracer
- ValidationTrace
class used to track what was being validated at the time of any problems discovered@Deprecated public String getBlockedReferencePropertyName()
InactivationBlockingMetadata
getBlockedReferencePropertyName
in interface InactivationBlockingMetadata
@Deprecated public void setBlockedReferencePropertyName(String blockedReferencePropertyName)
setBlockedAttributeName(String)
insteadpublic String getBlockedAttributeName()
InactivationBlockingMetadata
getBlockedAttributeName
in interface InactivationBlockingMetadata
public void setBlockedAttributeName(String blockedAttributeName)
@Deprecated public Class<? extends BusinessObject> getBlockedBusinessObjectClass()
InactivationBlockingMetadata
getBlockedBusinessObjectClass
in interface InactivationBlockingMetadata
@Deprecated public void setBlockedBusinessObjectClass(Class<? extends BusinessObject> blockedBusinessObjectClass)
setBlockedDataObjectClass(Class)
insteadpublic Class<?> getBlockedDataObjectClass()
InactivationBlockingMetadata
getBlockedDataObjectClass
in interface InactivationBlockingMetadata
public void setBlockedDataObjectClass(Class<?> blockedDataObjectClass)
public String getInactivationBlockingDetectionServiceBeanName()
InactivationBlockingMetadata
getInactivationBlockingDetectionServiceBeanName
in interface InactivationBlockingMetadata
public void setInactivationBlockingDetectionServiceBeanName(String inactivationBlockingDetectionServiceImpl)
@Deprecated public Class<? extends BusinessObject> getBlockingReferenceBusinessObjectClass()
InactivationBlockingMetadata
getBlockingReferenceBusinessObjectClass
in interface InactivationBlockingMetadata
@Deprecated public void setBlockingReferenceBusinessObjectClass(Class<? extends BusinessObject> blockingReferenceBusinessObjectClass)
setBlockingReferenceDataObjectClass(Class)
public Class<?> getBlockingDataObjectClass()
InactivationBlockingMetadata
getBlockingDataObjectClass
in interface InactivationBlockingMetadata
public void setBlockingReferenceDataObjectClass(Class<?> blockingDataObjectClass)
public String getRelationshipLabel()
InactivationBlockingMetadata
getRelationshipLabel
in interface InactivationBlockingMetadata
public void setRelationshipLabel(String relationshipLabel)
@Deprecated public Class<? extends BusinessObject> getBusinessObjectClass()
@Deprecated public void setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.