Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2005-2013 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.opensource.org/licenses/ecl2.php Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 package org.kuali.rice.kew.doctype;
 
 
 import java.util.List;

Model bean representing a grouping of valid application document statuses for a document type An instance of this class represents a subset of the valid status for a given document type.

The purpose of the Application Document Status Category is to provide a grouping mechanism for Application Document Status that can be used to not only label a set of statuses as having some common characteristic, but to allow users to search on all the grouped statuses by selecting the category name.

The (optional) valid application statuses element within a document type definition may (again, optionally) contain category elements which define these groupings of valid statuses.

Author(s):
Peter Giles
 
 @Table(name="KREW_DOC_TYP_APP_STAT_CAT_T")
 	private static final long serialVersionUID = -2212481684546954746L;
 
 
 	@MapsId("documentTypeId")
 	@JoinColumn(name="DOC_TYP_ID")
 
 	private String documentTypeId;
 	private String categoryName;

    
Gets the composite identifier, a ApplicationDocumentStatusCategoryId

Returns:
the application document status category id
 
     	if (this. == null) {
     	}
 	}

    
Sets the composition identifier

Parameters:
categoryId the composite identifier to set
 
 	}

    
Get the document type id for this category

Returns:
the document type id
 
 	public String getDocumentTypeId() {
             return this.getApplicationDocumentStatusCategoryId().getDocumentTypeId();
         } else {
             return this.;
         }
 	}

    
Set the document type id for this category

Parameters:
documentTypeId the document type id to set
 
 	public void setDocumentTypeId(String documentTypeId) {
		this. = documentTypeId;
	}

    
The name for this category

Returns:
the category name
	public String getCategoryName() {
        if (this.getApplicationDocumentStatusCategoryId().getCategoryName() != null) {
            return this.getApplicationDocumentStatusCategoryId().getCategoryName();
        } else {
            return this.;
        }
	}

    
Set the name for this category

Parameters:
statusName the category name to set
	public void setCategoryName(String statusName) {
		this. = statusName;
	}

    
Get the document type that this category is associated with

Returns:
the document type for this category
		return this.;
	}

    
Set the document type that this category is associated with

Parameters:
documentType the document type to set
	public void setDocumentType(DocumentType documentType) {
		this. = documentType;
	}
New to GrepCode? Check out our FAQ X