Class MaintenanceDocumentEntry

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DataDictionaryEntry, DictionaryBean

public class MaintenanceDocumentEntry extends DocumentEntry
Data dictionary entry class for MaintenanceDocument
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Field Details

    • dataObjectClass

      protected Class<?> dataObjectClass
    • maintainableClass

      protected Class<? extends Maintainable> maintainableClass
    • lockingKeys

      protected List<String> lockingKeys
    • clearValueOnCopyPropertyNames

      protected List<String> clearValueOnCopyPropertyNames
    • allowsNewOrCopy

      protected boolean allowsNewOrCopy
    • preserveLockingKeysOnCopy

      protected boolean preserveLockingKeysOnCopy
    • allowsRecordDeletion

      protected boolean allowsRecordDeletion
  • Constructor Details

    • MaintenanceDocumentEntry

      public MaintenanceDocumentEntry()
  • Method Details

    • getStandardDocumentBaseClass

      public Class<? extends Document> getStandardDocumentBaseClass()
    • setDataObjectClass

      public void setDataObjectClass(Class<?> dataObjectClass)
    • getDataObjectClass

      public Class<?> getDataObjectClass()
    • getEntryClass

      public Class getEntryClass()
      Overrides:
      getEntryClass in class DocumentEntry
      See Also:
    • setMaintainableClass

      public void setMaintainableClass(Class<? extends Maintainable> maintainableClass)
    • getMaintainableClass

      public Class<? extends Maintainable> getMaintainableClass()
    • getLockingKeyFieldNames

      public List<String> getLockingKeyFieldNames()
      Returns:
      List of all lockingKey fieldNames associated with this LookupDefinition, in the order in which they were added
    • getAllowsNewOrCopy

      public boolean getAllowsNewOrCopy()
      Gets the allowsNewOrCopy attribute.
      Returns:
      Returns the allowsNewOrCopy.
    • setAllowsNewOrCopy

      public void setAllowsNewOrCopy(boolean allowsNewOrCopy)
      The allowsNewOrCopy element contains a value of true or false. If true, this indicates the maintainable should allow the new and/or copy maintenance actions.
    • completeValidation

      public void completeValidation(ValidationTrace tracer)
      Directly validate simple fields, call completeValidation on Definition fields.
      Specified by:
      completeValidation in interface DataDictionaryEntry
      Overrides:
      completeValidation in class DocumentEntry
      Parameters:
      tracer - - Record of object's location
      See Also:
    • validateDefaultExistenceChecks

      protected void validateDefaultExistenceChecks(ValidationTrace tracer)
      Overrides:
      validateDefaultExistenceChecks in class DocumentEntry
    • getLockingKeys

      public List<String> getLockingKeys()
    • setLockingKeys

      public void setLockingKeys(List<String> lockingKeys)
    • getPreserveLockingKeysOnCopy

      public boolean getPreserveLockingKeysOnCopy()
      Returns:
      the preserveLockingKeysOnCopy
    • setPreserveLockingKeysOnCopy

      public void setPreserveLockingKeysOnCopy(boolean preserveLockingKeysOnCopy)
      Parameters:
      preserveLockingKeysOnCopy - the preserveLockingKeysOnCopy to set
    • getClearValueOnCopyPropertyNames

      public List<String> getClearValueOnCopyPropertyNames()
      Returns:
      the clearValueOnCopyPropertyNames
    • setClearValueOnCopyPropertyNames

      public void setClearValueOnCopyPropertyNames(List<String> clearValueOnCopyPropertyNames)
      Parameters:
      clearValueOnCopyPropertyNames - the clearValueOnCopyPropertyNames to set
    • getAllowsRecordDeletion

      public boolean getAllowsRecordDeletion()
      Returns:
      the allowRecordDeletion
    • setAllowsRecordDeletion

      public void setAllowsRecordDeletion(boolean allowsRecordDeletion)
      Parameters:
      allowsRecordDeletion - the allowRecordDeletion to set