1 package org.kuali.student.core.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 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 return businessObjectClass;
25 }
26
27 public void setBusinessObjectClass(String businessObjectClass) {
28 this.businessObjectClass = businessObjectClass;
29 }
30
31 public List<FieldDefinition> getAttributes() {
32 if(attributes==null){
33 attributes = new ArrayList<FieldDefinition>();
34 }
35 return attributes;
36 }
37
38 public void setAttributes(List<FieldDefinition> attributes) {
39 this.attributes = attributes;
40 }
41
42 public String getName() {
43 return name;
44 }
45
46 public void setName(String name) {
47 this.name = name;
48 }
49
50 public boolean isHasMetaData() {
51 return hasMetaData;
52 }
53
54 public void setHasMetaData(boolean hasMetaData) {
55 this.hasMetaData = hasMetaData;
56 }
57 }