View Javadoc

1   /**
2    * Copyright 2005-2014 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 java.util.List;
19  
20  /**
21   * This is a description of what this class does - mpham don't forget to fill this in. 
22   * 
23   * @author Kuali Rice Team (rice.collab@kuali.org)
24   *
25   */
26  public class DocumentCollectionPath extends DataDictionaryDefinitionBase{
27  	private static final long serialVersionUID = -8165456163213868710L;
28  	
29  	private String collectionPath;
30  	private List<String> paths; 
31  	private DocumentCollectionPath nestedCollection;
32  	
33  	/**
34  	 * @return the documentValues
35  	 */
36  	public List<String> getDocumentValues() {
37  		return this.paths;
38  	}
39  	/**
40  	 * @return the documentCollectionPath
41  	 */
42  	public DocumentCollectionPath getNestedCollection() {
43  		return this.nestedCollection;
44  	}
45  	/**
46  	 * @param documentValues the documentValues to set
47  	 */
48  	public void setDocumentValues(List<String> paths) {
49  		this.paths = paths;
50  	}
51  	/**
52  	 * @param documentCollectionPath the documentCollectionPath to set
53  	 */
54  	public void setNestedCollection(
55  			DocumentCollectionPath documentCollectionPath) {
56  		this.nestedCollection = documentCollectionPath;
57  	}
58  	/**
59  	 * This overridden method ...
60  	 * 
61  	 * @see org.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Class)
62  	 */
63  	public void completeValidation(Class rootBusinessObjectClass,
64  			Class otherBusinessObjectClass) {
65  		// TODO mpham - THIS METHOD NEEDS JAVADOCS
66  		
67  	}
68  	/**
69  	 * @return the collectionPath
70  	 */
71  	public String getCollectionPath() {
72  		return this.collectionPath;
73  	}
74  	/**
75  	 * @param collectionPath the collectionPath to set
76  	 */
77  	public void setCollectionPath(String collectionPath) {
78  		this.collectionPath = collectionPath;
79  	} 
80  }