View Javadoc

1   /**
2    * Copyright 2005-2015 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  import java.io.Serializable;
21  
22  /**
23   * This class represents an serializable property when generating workflow routing XML.  The path contained within this object
24   * is relative to the basePath in the {@link WorkflowPropertyGroup} that contains this object.  The semantics of the path are determined
25   * by the {@link PropertySerializabilityEvaluator} that evaluates whether a property is serializable. 
26   */
27  public class WorkflowProperty implements Serializable {
28      private static final long serialVersionUID = 1L;
29  
30      protected String path = null;
31      
32      /**
33       * Default constructor, sets path to null
34       * 
35       */
36      public WorkflowProperty() {}
37  
38      /**
39       * Returns the path to the property that is serializable, relative to the {@link WorkflowPropertyGroup} that contains this object
40       * 
41       * @return
42       */
43      public String getPath() {
44          return this.path;
45      }
46  
47      /**
48       * Sets the path to the property that is serializable, relative to the {@link WorkflowPropertyGroup} that contains this object
49       * 
50       * @param path
51       */
52      public void setPath(String path) {
53          this.path = path;
54      }
55  }