1
2
3
4
5
6
7
8
9 package gov.grants.apply.system.grantsFundingSynopsisV20.impl;
10
11
12
13
14
15 public class FundingInstrumentDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public FundingInstrumentDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName FUNDINGINSTRUMENT$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsFundingSynopsis-V2.0", "FundingInstrument");
26
27
28
29
30
31 public gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument.Enum getFundingInstrument()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 org.apache.xmlbeans.SimpleValue target = null;
37 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FUNDINGINSTRUMENT$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument.Enum)target.getEnumValue();
43 }
44 }
45
46
47
48
49 public gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument xgetFundingInstrument()
50 {
51 synchronized (monitor())
52 {
53 check_orphaned();
54 gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument target = null;
55 target = (gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument)get_store().find_element_user(FUNDINGINSTRUMENT$0, 0);
56 return target;
57 }
58 }
59
60
61
62
63 public void setFundingInstrument(gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument.Enum fundingInstrument)
64 {
65 synchronized (monitor())
66 {
67 check_orphaned();
68 org.apache.xmlbeans.SimpleValue target = null;
69 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FUNDINGINSTRUMENT$0, 0);
70 if (target == null)
71 {
72 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FUNDINGINSTRUMENT$0);
73 }
74 target.setEnumValue(fundingInstrument);
75 }
76 }
77
78
79
80
81 public void xsetFundingInstrument(gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument fundingInstrument)
82 {
83 synchronized (monitor())
84 {
85 check_orphaned();
86 gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument target = null;
87 target = (gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument)get_store().find_element_user(FUNDINGINSTRUMENT$0, 0);
88 if (target == null)
89 {
90 target = (gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument)get_store().add_element_user(FUNDINGINSTRUMENT$0);
91 }
92 target.set(fundingInstrument);
93 }
94 }
95
96
97
98
99
100 public static class FundingInstrumentImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.system.grantsFundingSynopsisV20.FundingInstrumentDocument.FundingInstrument
101 {
102 private static final long serialVersionUID = 1L;
103
104 public FundingInstrumentImpl(org.apache.xmlbeans.SchemaType sType)
105 {
106 super(sType, false);
107 }
108
109 protected FundingInstrumentImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
110 {
111 super(sType, b);
112 }
113 }
114 }