001/** 002 * Copyright 2005-2016 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.krad.datadictionary; 017 018import java.io.Serializable; 019import java.util.ArrayList; 020import java.util.List; 021 022/** 023 This element is used to define a set of workflowPropertyGroups, which are used to 024 specify which document properties should be serialized during the document serialization 025 process. 026 */ 027public class WorkflowProperties implements Serializable { 028 private static final long serialVersionUID = 1L; 029 030 protected List<WorkflowPropertyGroup> workflowPropertyGroups; 031 032 public WorkflowProperties() { 033 workflowPropertyGroups = new ArrayList<WorkflowPropertyGroup>(); 034 } 035 036 /** 037 * Returns a list of workflow property groups, which are used to determine which properties should be serialized when generating 038 * routing XML 039 * 040 * @return a list of {@link WorkflowPropertyGroup} objects, in the order in which they were added 041 */ 042 public List<WorkflowPropertyGroup> getWorkflowPropertyGroups() { 043 return this.workflowPropertyGroups; 044 } 045 046 /** 047 This element is used to define a set of workflowPropertyGroups, which are used to 048 specify which document properties should be serialized during the document serialization 049 process. 050 */ 051 public void setWorkflowPropertyGroups(List<WorkflowPropertyGroup> workflowPropertyGroups) { 052 this.workflowPropertyGroups = workflowPropertyGroups; 053 } 054 055}