1   
2   
3   
4   
5   
6   
7   
8   
9   package gov.grants.apply.system.globalV10.impl;
10  
11  
12  
13  
14  
15  public class HashValueDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.globalV10.HashValueDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public HashValueDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName HASHVALUE$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/system/Global-V1.0", "HashValue");
26      
27      
28      
29  
30  
31      public gov.grants.apply.system.globalV10.HashValueDocument.HashValue getHashValue()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.system.globalV10.HashValueDocument.HashValue target = null;
37              target = (gov.grants.apply.system.globalV10.HashValueDocument.HashValue)get_store().find_element_user(HASHVALUE$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      
47  
48  
49      public void setHashValue(gov.grants.apply.system.globalV10.HashValueDocument.HashValue hashValue)
50      {
51          generatedSetterHelperImpl(hashValue, HASHVALUE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      
55  
56  
57      public gov.grants.apply.system.globalV10.HashValueDocument.HashValue addNewHashValue()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.system.globalV10.HashValueDocument.HashValue target = null;
63              target = (gov.grants.apply.system.globalV10.HashValueDocument.HashValue)get_store().add_element_user(HASHVALUE$0);
64              return target;
65          }
66      }
67      
68  
69  
70  
71  
72      public static class HashValueImpl extends org.apache.xmlbeans.impl.values.JavaBase64HolderEx implements gov.grants.apply.system.globalV10.HashValueDocument.HashValue
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public HashValueImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType, true);
79          }
80          
81          protected HashValueImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
82          {
83              super(sType, b);
84          }
85          
86          private static final javax.xml.namespace.QName HASHALGORITHM$0 = 
87              new javax.xml.namespace.QName("http://apply.grants.gov/system/Global-V1.0", "hashAlgorithm");
88          
89          
90          
91  
92  
93          public java.lang.String getHashAlgorithm()
94          {
95              synchronized (monitor())
96              {
97                  check_orphaned();
98                  org.apache.xmlbeans.SimpleValue target = null;
99                  target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HASHALGORITHM$0);
100                 if (target == null)
101                 {
102                     return null;
103                 }
104                 return target.getStringValue();
105             }
106         }
107         
108         
109 
110 
111         public org.apache.xmlbeans.XmlString xgetHashAlgorithm()
112         {
113             synchronized (monitor())
114             {
115                 check_orphaned();
116                 org.apache.xmlbeans.XmlString target = null;
117                 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(HASHALGORITHM$0);
118                 return target;
119             }
120         }
121         
122         
123 
124 
125         public void setHashAlgorithm(java.lang.String hashAlgorithm)
126         {
127             synchronized (monitor())
128             {
129                 check_orphaned();
130                 org.apache.xmlbeans.SimpleValue target = null;
131                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HASHALGORITHM$0);
132                 if (target == null)
133                 {
134                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HASHALGORITHM$0);
135                 }
136                 target.setStringValue(hashAlgorithm);
137             }
138         }
139         
140         
141 
142 
143         public void xsetHashAlgorithm(org.apache.xmlbeans.XmlString hashAlgorithm)
144         {
145             synchronized (monitor())
146             {
147                 check_orphaned();
148                 org.apache.xmlbeans.XmlString target = null;
149                 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(HASHALGORITHM$0);
150                 if (target == null)
151                 {
152                     target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(HASHALGORITHM$0);
153                 }
154                 target.set(hashAlgorithm);
155             }
156         }
157     }
158 }