1 | |
package org.kuali.student.common.dictionary.dto; |
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 | |
import javax.xml.bind.annotation.XmlElement; |
9 | |
import javax.xml.bind.annotation.XmlID; |
10 | |
|
11 | |
@XmlAccessorType(XmlAccessType.FIELD) |
12 | 0 | public class ObjectStructureDefinition { |
13 | |
@XmlElement(required = true) |
14 | |
@XmlID |
15 | |
protected String name; |
16 | |
@XmlElement |
17 | |
protected String businessObjectClass; |
18 | |
@XmlElement |
19 | |
protected List<FieldDefinition> attributes; |
20 | |
@XmlElement |
21 | |
protected boolean hasMetaData; |
22 | |
|
23 | |
public String getBusinessObjectClass() { |
24 | 0 | return businessObjectClass; |
25 | |
} |
26 | |
|
27 | |
public void setBusinessObjectClass(String businessObjectClass) { |
28 | 0 | this.businessObjectClass = businessObjectClass; |
29 | 0 | } |
30 | |
|
31 | |
public List<FieldDefinition> getAttributes() { |
32 | 0 | if(attributes==null){ |
33 | 0 | attributes = new ArrayList<FieldDefinition>(); |
34 | |
} |
35 | 0 | return attributes; |
36 | |
} |
37 | |
|
38 | |
public void setAttributes(List<FieldDefinition> attributes) { |
39 | 0 | this.attributes = attributes; |
40 | 0 | } |
41 | |
|
42 | |
public String getName() { |
43 | 0 | return name; |
44 | |
} |
45 | |
|
46 | |
public void setName(String name) { |
47 | 0 | this.name = name; |
48 | 0 | } |
49 | |
|
50 | |
public boolean isHasMetaData() { |
51 | 0 | return hasMetaData; |
52 | |
} |
53 | |
|
54 | |
public void setHasMetaData(boolean hasMetaData) { |
55 | 0 | this.hasMetaData = hasMetaData; |
56 | 0 | } |
57 | |
} |