001    /**
002     * Copyright 2005-2012 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     */
016    package org.kuali.rice.krad.datadictionary;
017    
018    import org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluator;
019    
020    import java.io.Serializable;
021    
022    /**
023     * This class represents an serializable property when generating workflow routing XML.  The path contained within this object
024     * is relative to the basePath in the {@link WorkflowPropertyGroup} that contains this object.  The semantics of the path are determined
025     * by the {@link PropertySerializabilityEvaluator} that evaluates whether a property is serializable. 
026     */
027    public class WorkflowProperty implements Serializable {
028        private static final long serialVersionUID = 1L;
029    
030        protected String path = null;
031        
032        /**
033         * Default constructor, sets path to null
034         * 
035         */
036        public WorkflowProperty() {}
037    
038        /**
039         * Returns the path to the property that is serializable, relative to the {@link WorkflowPropertyGroup} that contains this object
040         * 
041         * @return
042         */
043        public String getPath() {
044            return this.path;
045        }
046    
047        /**
048         * Sets the path to the property that is serializable, relative to the {@link WorkflowPropertyGroup} that contains this object
049         * 
050         * @param path
051         */
052        public void setPath(String path) {
053            this.path = path;
054        }
055    }