@Entity public class DocumentHeader extends PersistableBusinessObjectBaseAdapter
WorkflowDocument
associated with this document header.Modifier and Type | Field and Description |
---|---|
protected String |
documentDescription |
protected String |
documentNumber |
protected String |
documentTemplateNumber |
protected String |
explanation |
protected String |
organizationDocumentNumber |
extension, newCollectionRecord
objectId, versionNumber
Constructor and Description |
---|
DocumentHeader()
Constructor - creates empty instances of dependent objects
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentDescription()
Returns the description text for this document.
|
String |
getDocumentNumber()
Returns the documentNumber (also known as the docuementHeaderId).
|
String |
getDocumentTemplateNumber()
Returns the documentTemplateNumber.
|
String |
getExplanation()
Gets the explanation attribute.
|
String |
getOrganizationDocumentNumber()
Returns the organizationDocumentNumber.
|
WorkflowDocument |
getWorkflowDocument()
Returns an instance of the the
WorkflowDocument associated with this document header. |
boolean |
hasWorkflowDocument()
Returns whether this document header has a
WorkflowDocument associated with it. |
void |
setDocumentDescription(String documentDescription)
Sets the description text for this document.
|
void |
setDocumentNumber(String documentNumber)
Sets the documentNumber for this document.
|
void |
setDocumentTemplateNumber(String documentTemplateNumber)
Associates this document with a document template.
|
void |
setExplanation(String explanation)
Sets the explanation attribute value.
|
void |
setOrganizationDocumentNumber(String organizationDocumentNumber)
Sets the value of the organizationDocumentNumber
|
void |
setWorkflowDocument(WorkflowDocument workflowDocument)
Associates a
WorkflowDocument with this document header. |
buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
protected String documentNumber
protected String documentDescription
protected String organizationDocumentNumber
protected String documentTemplateNumber
protected String explanation
public DocumentHeader()
public WorkflowDocument getWorkflowDocument()
WorkflowDocument
associated with this document header.
The workflowDocument provides the core client interface for interacting with the KEW workflow module.public boolean hasWorkflowDocument()
WorkflowDocument
associated with it.public void setWorkflowDocument(WorkflowDocument workflowDocument)
WorkflowDocument
with this document header.workflowDocument
- public String getDocumentNumber()
public void setDocumentNumber(String documentNumber)
documentNumber
- the documentNumber to setpublic String getDocumentDescription()
public void setDocumentDescription(String documentDescription)
documentDescription
- the documentDescription to setpublic String getOrganizationDocumentNumber()
public void setOrganizationDocumentNumber(String organizationDocumentNumber)
organizationDocumentNumber
- the organizationDocumentNumber to setpublic String getDocumentTemplateNumber()
public void setDocumentTemplateNumber(String documentTemplateNumber)
documentTemplateNumber
- the id of the documentTemplate associated with this documentpublic String getExplanation()
public void setExplanation(String explanation)
explanation
- The explanation text string.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.