Class InactivationBlockingDefinition
java.lang.Object
org.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
org.kuali.rice.krad.datadictionary.InactivationBlockingDefinition
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DataDictionaryDefinition,DictionaryBean,InactivationBlockingMetadata
public class InactivationBlockingDefinition
extends DataDictionaryDefinitionBase
implements InactivationBlockingMetadata
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<?> protected Stringprotected Class<?> protected Class<?> protected Stringprotected StringFields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
embeddedDataObjectMetadata, generatedFromMetadata, idFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteValidation(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.The name of the attribute which is blocked by the blocking object.Class<? extends BusinessObject> Deprecated.Class<?> Returns the type of the data object that is blocked.Deprecated.Class<?> The type of the object that is blocking another record.Class<? extends BusinessObject> Deprecated.Class<? extends BusinessObject> Deprecated.the businessObjectClass does not appear to be used anywhere significantly internally or externally, no replacementThe bean name of the service that is responsible for determining whether there are any records that block inactivationReturns the human-meaningful name of the relationshipvoidsetBlockedAttributeName(String blockedAttributeName) voidsetBlockedBusinessObjectClass(Class<? extends BusinessObject> blockedBusinessObjectClass) Deprecated.usesetBlockedDataObjectClass(Class)insteadvoidsetBlockedDataObjectClass(Class<?> blockedDataObjectClass) voidsetBlockedReferencePropertyName(String blockedReferencePropertyName) Deprecated.usesetBlockedAttributeName(String)insteadvoidsetBlockingReferenceBusinessObjectClass(Class<? extends BusinessObject> blockingReferenceBusinessObjectClass) Deprecated.voidsetBlockingReferenceDataObjectClass(Class<?> blockingDataObjectClass) voidsetBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass) Deprecated.the businessObjectClass does not appear to be used anywhere significantly internally or externally, no replacementvoidsetInactivationBlockingDetectionServiceBeanName(String inactivationBlockingDetectionServiceImpl) voidsetRelationshipLabel(String relationshipLabel) toString()Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
completeValidation, getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadataMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
-
Field Details
-
blockingReferenceBusinessObjectClass
-
blockedReferencePropertyName
-
blockedBusinessObjectClass
-
inactivationBlockingDetectionServiceBeanName
-
relationshipLabel
-
businessObjectClass
-
-
Constructor Details
-
InactivationBlockingDefinition
public InactivationBlockingDefinition()
-
-
Method Details
-
completeValidation
public void completeValidation(Class<?> rootDataObjectClass, Class<?> otherDataObjectClass, ValidationTrace tracer) Description copied from class:DataDictionaryDefinitionBaseEmpty implementation so that all subclasses do not need to implement this method if they have no local validation to perform.- Specified by:
completeValidationin interfaceDataDictionaryDefinition- Overrides:
completeValidationin classDataDictionaryDefinitionBase- Parameters:
rootDataObjectClass- Class of the BusinessObjectEntry which ultimately contains this definitionotherDataObjectClass- other stuff required to complete validationtracer-ValidationTraceclass used to track what was being validated at the time of any problems discovered
-
getBlockedReferencePropertyName
Deprecated.Description copied from interface:InactivationBlockingMetadataThe property name of the reference on the blocked object which points to the blocking object.- Specified by:
getBlockedReferencePropertyNamein interfaceInactivationBlockingMetadata- Returns:
- the name of the blocking reference
-
setBlockedReferencePropertyName
Deprecated.usesetBlockedAttributeName(String)instead -
getBlockedAttributeName
Description copied from interface:InactivationBlockingMetadataThe name of the attribute which is blocked by the blocking object.- Specified by:
getBlockedAttributeNamein interfaceInactivationBlockingMetadata- Returns:
- the name of the blocked attribute
-
setBlockedAttributeName
-
getBlockedBusinessObjectClass
Deprecated.Description copied from interface:InactivationBlockingMetadataThe type of the object that is blocked.- Specified by:
getBlockedBusinessObjectClassin interfaceInactivationBlockingMetadata- Returns:
- the type of the business object that is blocked
-
setBlockedBusinessObjectClass
@Deprecated public void setBlockedBusinessObjectClass(Class<? extends BusinessObject> blockedBusinessObjectClass) Deprecated.usesetBlockedDataObjectClass(Class)instead -
getBlockedDataObjectClass
Description copied from interface:InactivationBlockingMetadataReturns the type of the data object that is blocked.- Specified by:
getBlockedDataObjectClassin interfaceInactivationBlockingMetadata- Returns:
- the type of the data object that is blocked, should never be null
-
setBlockedDataObjectClass
-
getInactivationBlockingDetectionServiceBeanName
Description copied from interface:InactivationBlockingMetadataThe bean name of the service that is responsible for determining whether there are any records that block inactivation- Specified by:
getInactivationBlockingDetectionServiceBeanNamein interfaceInactivationBlockingMetadata
-
setInactivationBlockingDetectionServiceBeanName
public void setInactivationBlockingDetectionServiceBeanName(String inactivationBlockingDetectionServiceImpl) -
getBlockingReferenceBusinessObjectClass
Deprecated.Description copied from interface:InactivationBlockingMetadataThe type of the object that is blocking another record.- Specified by:
getBlockingReferenceBusinessObjectClassin interfaceInactivationBlockingMetadata- Returns:
- the type of the object that is blocking
-
setBlockingReferenceBusinessObjectClass
@Deprecated public void setBlockingReferenceBusinessObjectClass(Class<? extends BusinessObject> blockingReferenceBusinessObjectClass) Deprecated. -
getBlockingDataObjectClass
Description copied from interface:InactivationBlockingMetadataThe type of the object that is blocking another record.- Specified by:
getBlockingDataObjectClassin interfaceInactivationBlockingMetadata- Returns:
- the type of the object that is blocking, should never be null
-
setBlockingReferenceDataObjectClass
-
getRelationshipLabel
Description copied from interface:InactivationBlockingMetadataReturns the human-meaningful name of the relationship- Specified by:
getRelationshipLabelin interfaceInactivationBlockingMetadata- Returns:
- relationship label
-
setRelationshipLabel
-
getBusinessObjectClass
Deprecated.the businessObjectClass does not appear to be used anywhere significantly internally or externally, no replacement -
setBusinessObjectClass
Deprecated.the businessObjectClass does not appear to be used anywhere significantly internally or externally, no replacement -
toString
-