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