|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.krad.bo.DocumentHeader
@Entity public class DocumentHeader
Business Object representing a document header. The document header contains metadata about a document.
This contains a reference to the template associated with the document.
This also provides the access to the underlying WorkflowDocument
associated with this document header.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
DocumentHeader()
Constructor - creates empty instances of dependent objects |
Method Summary | |
---|---|
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. |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public DocumentHeader()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |