1 | |
package org.kuali.student.common.dictionary.service.jaxws; |
2 | |
|
3 | |
import java.util.ArrayList; |
4 | |
import java.util.List; |
5 | |
|
6 | |
import javax.xml.bind.annotation.XmlAccessType; |
7 | |
import javax.xml.bind.annotation.XmlAccessorType; |
8 | |
|
9 | |
import org.kuali.student.common.dictionary.dto.ObjectStructureDefinition; |
10 | |
@XmlAccessorType(XmlAccessType.FIELD) |
11 | 0 | public class ObjectStructureDefinitionWrapper { |
12 | |
private String rootDefinitionName; |
13 | |
private List<ObjectStructureDefinition> definitions; |
14 | |
|
15 | |
public List<ObjectStructureDefinition> getDefinitions() { |
16 | 0 | if(definitions == null){ |
17 | 0 | definitions = new ArrayList<ObjectStructureDefinition>(); |
18 | |
} |
19 | |
|
20 | 0 | return definitions; |
21 | |
} |
22 | |
public void setDefinitions(List<ObjectStructureDefinition> definitions) { |
23 | 0 | this.definitions = definitions; |
24 | 0 | } |
25 | |
public String getRootDefinitionName() { |
26 | 0 | return rootDefinitionName; |
27 | |
} |
28 | |
public void setRootDefinitionName(String rootDefinitionName) { |
29 | 0 | this.rootDefinitionName = rootDefinitionName; |
30 | 0 | } |
31 | |
|
32 | |
} |