Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DocumentCollectionPath |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2007-2008 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.kns.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 | 0 | 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 | 0 | return this.paths; |
38 | } | |
39 | /** | |
40 | * @return the documentCollectionPath | |
41 | */ | |
42 | public DocumentCollectionPath getNestedCollection() { | |
43 | 0 | return this.nestedCollection; |
44 | } | |
45 | /** | |
46 | * @param documentValues the documentValues to set | |
47 | */ | |
48 | public void setDocumentValues(List<String> paths) { | |
49 | 0 | this.paths = paths; |
50 | 0 | } |
51 | /** | |
52 | * @param documentCollectionPath the documentCollectionPath to set | |
53 | */ | |
54 | public void setNestedCollection( | |
55 | DocumentCollectionPath documentCollectionPath) { | |
56 | 0 | this.nestedCollection = documentCollectionPath; |
57 | 0 | } |
58 | /** | |
59 | * This overridden method ... | |
60 | * | |
61 | * @see org.kuali.rice.kns.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 | 0 | } |
68 | /** | |
69 | * @return the collectionPath | |
70 | */ | |
71 | public String getCollectionPath() { | |
72 | 0 | return this.collectionPath; |
73 | } | |
74 | /** | |
75 | * @param collectionPath the collectionPath to set | |
76 | */ | |
77 | public void setCollectionPath(String collectionPath) { | |
78 | 0 | this.collectionPath = collectionPath; |
79 | 0 | } |
80 | } |