org.kuali.rice.krad.datadictionary
Class MaintenanceDocumentEntry

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
      extended by org.kuali.rice.krad.datadictionary.DocumentEntry
          extended by org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntry
All Implemented Interfaces:
Serializable, DataDictionaryEntry, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
MaintenanceDocumentEntry

public class MaintenanceDocumentEntry
extends DocumentEntry

Data dictionary entry class for MaintenanceDocument

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  boolean allowsNewOrCopy
           
protected  boolean allowsRecordDeletion
           
protected  Class<?> dataObjectClass
           
protected  List<String> lockingKeys
           
protected  Class<? extends Maintainable> maintainableClass
           
protected  boolean preserveLockingKeysOnCopy
           
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DocumentEntry
allowsCopy, allowsNoteAttachments, allowsNoteFYI, attachmentTypesValuesFinderClass, baseDocumentClass, businessRulesClass, defaultExistenceCheckMap, defaultExistenceChecks, displayTopicFieldInNotes, documentAuthorizerClass, documentClass, documentPresentationControllerClass, documentTypeName, encryptDocumentDataInPersistentSessionStorage, usePessimisticLocking, useWorkflowPessimisticLocking, workflowAttributes, workflowProperties
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
attributeMap, attributes, collectionMap, collections, complexAttributeMap, complexAttributes, relationshipMap, relationships
 
Constructor Summary
MaintenanceDocumentEntry()
           
 
Method Summary
 void completeValidation()
          Directly validate simple fields, call completeValidation on Definition fields.
 boolean getAllowsNewOrCopy()
          Gets the allowsNewOrCopy attribute.
 boolean getAllowsRecordDeletion()
           
 Class<?> getDataObjectClass()
           
 Class getEntryClass()
           
 List<String> getLockingKeyFieldNames()
           
 List<String> getLockingKeys()
           
 Class<? extends Maintainable> getMaintainableClass()
           
 boolean getPreserveLockingKeysOnCopy()
           
 Class<? extends Document> getStandardDocumentBaseClass()
           
 void setAllowsNewOrCopy(boolean allowsNewOrCopy)
          The allowsNewOrCopy element contains a value of true or false.
 void setAllowsRecordDeletion(boolean allowsRecordDeletion)
           
 void setDataObjectClass(Class<?> dataObjectClass)
           
 void setLockingKeys(List<String> lockingKeys)
           
 void setMaintainableClass(Class<? extends Maintainable> maintainableClass)
           
 void setPreserveLockingKeysOnCopy(boolean preserveLockingKeysOnCopy)
           
 String toString()
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DocumentEntry
afterPropertiesSet, getAllowsCopy, getAllowsNoteAttachments, getAllowsNoteFYI, getAttachmentTypesValuesFinderClass, getBaseDocumentClass, getBusinessRulesClass, getDefaultExistenceCheckFieldNames, getDefaultExistenceChecks, getDisplayTopicFieldInNotes, getDocumentAuthorizerClass, getDocumentClass, getDocumentPresentationControllerClass, getDocumentTypeName, getFullClassName, getJstlKey, getUsePessimisticLocking, getUseWorkflowPessimisticLocking, getWorkflowAttributes, getWorkflowProperties, isEncryptDocumentDataInPersistentSessionStorage, setAllowsCopy, setAllowsNoteAttachments, setAllowsNoteFYI, setAttachmentTypesValuesFinderClass, setBaseDocumentClass, setBusinessRulesClass, setDefaultExistenceChecks, setDisplayTopicFieldInNotes, setDocumentAuthorizerClass, setDocumentClass, setDocumentPresentationControllerClass, setDocumentTypeName, setEncryptDocumentDataInPersistentSessionStorage, setUsePessimisticLocking, setUseWorkflowPessimisticLocking, setWorkflowAttributes, setWorkflowProperties
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
getAttributeDefinition, getAttributeNames, getAttributes, getCollectionDefinition, getCollectionNames, getCollections, getComplexAttributes, getRelationshipDefinition, getRelationshipNames, getRelationships, setAttributes, setCollections, setComplexAttributes, setRelationships
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dataObjectClass

protected Class<?> dataObjectClass

maintainableClass

protected Class<? extends Maintainable> maintainableClass

lockingKeys

protected List<String> lockingKeys

allowsNewOrCopy

protected boolean allowsNewOrCopy

preserveLockingKeysOnCopy

protected boolean preserveLockingKeysOnCopy

allowsRecordDeletion

protected boolean allowsRecordDeletion
Constructor Detail

MaintenanceDocumentEntry

public MaintenanceDocumentEntry()
Method Detail

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:
DocumentEntry.getEntryClass()

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()
Directly validate simple fields, call completeValidation on Definition fields.

Specified by:
completeValidation in interface DataDictionaryEntry
Overrides:
completeValidation in class DocumentEntry
See Also:
DocumentEntry.completeValidation()

toString

public String toString()
Overrides:
toString in class DocumentEntry
See Also:
Object.toString()

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

getAllowsRecordDeletion

public boolean getAllowsRecordDeletion()
Returns:
the allowRecordDeletion

setAllowsRecordDeletion

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


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.