1 /** 2 * Copyright 2005-2011 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.kuali.rice.krad.datadictionary; 17 18 import org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluator; 19 20 /** 21 * This class represents an serializable property when generating workflow routing XML. The path contained within this object 22 * is relative to the basePath in the {@link WorkflowPropertyGroup} that contains this object. The semantics of the path are determined 23 * by the {@link PropertySerializabilityEvaluator} that evaluates whether a property is serializable. 24 */ 25 public class WorkflowProperty { 26 protected String path = null; 27 28 /** 29 * Default constructor, sets path to null 30 * 31 */ 32 public WorkflowProperty() {} 33 34 /** 35 * Returns the path to the property that is serializable, relative to the {@link WorkflowPropertyGroup} that contains this object 36 * 37 * @return 38 */ 39 public String getPath() { 40 return this.path; 41 } 42 43 /** 44 * Sets the path to the property that is serializable, relative to the {@link WorkflowPropertyGroup} that contains this object 45 * 46 * @param path 47 */ 48 public void setPath(String path) { 49 this.path = path; 50 } 51 }