Class DocumentTypePolicy

All Implemented Interfaces:
Serializable, Cloneable, org.apache.ojb.broker.PersistenceBrokerAware, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.internal.descriptors.PersistenceEntity, org.eclipse.persistence.internal.descriptors.PersistenceObject, org.eclipse.persistence.internal.weaving.PersistenceWeaved, org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking, org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups, org.eclipse.persistence.internal.weaving.PersistenceWeavedRest, org.eclipse.persistence.queries.FetchGroupTracker, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject

@Entity public class DocumentTypePolicy extends PersistableBusinessObjectBase
Model bean representing a policy of a document type.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • DocumentTypePolicy

      public DocumentTypePolicy()
    • DocumentTypePolicy

      public DocumentTypePolicy(String documentTypeId, String policyName, Boolean policyValue)
  • Method Details

    • getPolicyDisplayValue

      public String getPolicyDisplayValue()
    • getInheritedFlag

      public Boolean getInheritedFlag()
    • setInheritedFlag

      public void setInheritedFlag(Boolean inheritedFlag)
    • isAllowUnrequestedAction

      public boolean isAllowUnrequestedAction()
    • isDefaultApprove

      public boolean isDefaultApprove()
    • isDisApprove

      public boolean isDisApprove()
    • getDocumentTypeId

      public String getDocumentTypeId()
    • setDocumentTypeId

      public void setDocumentTypeId(String documentTypeId)
    • getPolicyName

      public String getPolicyName()
    • setPolicyName

      public void setPolicyName(String policyName)
    • getPolicyValue

      public Boolean getPolicyValue()
    • setPolicyValue

      public void setPolicyValue(Boolean policyValue)
    • getPolicyStringValue

      public String getPolicyStringValue()
    • setPolicyStringValue

      public void setPolicyStringValue(String policyStringValue)
    • getActualPolicyValue

      public String getActualPolicyValue()
      Return the actual value from the policy If there is a policy string value it will return it, else return the policy value (a boolean). This was needed for building the XML representation to return from the document type service.
      Returns:
      string of policy value
    • copy

      public Object copy(boolean preserveKeys)
    • getDocumentType

      public DocumentType getDocumentType()
    • setDocumentType

      public void setDocumentType(DocumentType documentType)