001 /*
002 * XML Type: ITTX509CertChainType
003 * Namespace: http://openejb.apache.org/xml/ns/corba-tss-config-2.1
004 * Java type: org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.corba.xbeans.csiv2.tss.impl;
009 /**
010 * An XML ITTX509CertChainType(@http://openejb.apache.org/xml/ns/corba-tss-config-2.1).
011 *
012 * This is a complex type.
013 */
014 public class TSSITTX509CertChainTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType
015 {
016
017 public TSSITTX509CertChainTypeImpl(org.apache.xmlbeans.SchemaType sType)
018 {
019 super(sType);
020 }
021
022 private static final javax.xml.namespace.QName REALM$0 =
023 new javax.xml.namespace.QName("", "realm");
024 private static final javax.xml.namespace.QName DOMAIN$2 =
025 new javax.xml.namespace.QName("", "domain");
026
027
028 /**
029 * Gets the "realm" attribute
030 */
031 public java.lang.String getRealm()
032 {
033 synchronized (monitor())
034 {
035 check_orphaned();
036 org.apache.xmlbeans.SimpleValue target = null;
037 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REALM$0);
038 if (target == null)
039 {
040 return null;
041 }
042 return target.getStringValue();
043 }
044 }
045
046 /**
047 * Gets (as xml) the "realm" attribute
048 */
049 public org.apache.xmlbeans.XmlString xgetRealm()
050 {
051 synchronized (monitor())
052 {
053 check_orphaned();
054 org.apache.xmlbeans.XmlString target = null;
055 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(REALM$0);
056 return target;
057 }
058 }
059
060 /**
061 * True if has "realm" attribute
062 */
063 public boolean isSetRealm()
064 {
065 synchronized (monitor())
066 {
067 check_orphaned();
068 return get_store().find_attribute_user(REALM$0) != null;
069 }
070 }
071
072 /**
073 * Sets the "realm" attribute
074 */
075 public void setRealm(java.lang.String realm)
076 {
077 synchronized (monitor())
078 {
079 check_orphaned();
080 org.apache.xmlbeans.SimpleValue target = null;
081 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REALM$0);
082 if (target == null)
083 {
084 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REALM$0);
085 }
086 target.setStringValue(realm);
087 }
088 }
089
090 /**
091 * Sets (as xml) the "realm" attribute
092 */
093 public void xsetRealm(org.apache.xmlbeans.XmlString realm)
094 {
095 synchronized (monitor())
096 {
097 check_orphaned();
098 org.apache.xmlbeans.XmlString target = null;
099 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(REALM$0);
100 if (target == null)
101 {
102 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(REALM$0);
103 }
104 target.set(realm);
105 }
106 }
107
108 /**
109 * Unsets the "realm" attribute
110 */
111 public void unsetRealm()
112 {
113 synchronized (monitor())
114 {
115 check_orphaned();
116 get_store().remove_attribute(REALM$0);
117 }
118 }
119
120 /**
121 * Gets the "domain" attribute
122 */
123 public java.lang.String getDomain()
124 {
125 synchronized (monitor())
126 {
127 check_orphaned();
128 org.apache.xmlbeans.SimpleValue target = null;
129 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DOMAIN$2);
130 if (target == null)
131 {
132 return null;
133 }
134 return target.getStringValue();
135 }
136 }
137
138 /**
139 * Gets (as xml) the "domain" attribute
140 */
141 public org.apache.xmlbeans.XmlString xgetDomain()
142 {
143 synchronized (monitor())
144 {
145 check_orphaned();
146 org.apache.xmlbeans.XmlString target = null;
147 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DOMAIN$2);
148 return target;
149 }
150 }
151
152 /**
153 * True if has "domain" attribute
154 */
155 public boolean isSetDomain()
156 {
157 synchronized (monitor())
158 {
159 check_orphaned();
160 return get_store().find_attribute_user(DOMAIN$2) != null;
161 }
162 }
163
164 /**
165 * Sets the "domain" attribute
166 */
167 public void setDomain(java.lang.String domain)
168 {
169 synchronized (monitor())
170 {
171 check_orphaned();
172 org.apache.xmlbeans.SimpleValue target = null;
173 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DOMAIN$2);
174 if (target == null)
175 {
176 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DOMAIN$2);
177 }
178 target.setStringValue(domain);
179 }
180 }
181
182 /**
183 * Sets (as xml) the "domain" attribute
184 */
185 public void xsetDomain(org.apache.xmlbeans.XmlString domain)
186 {
187 synchronized (monitor())
188 {
189 check_orphaned();
190 org.apache.xmlbeans.XmlString target = null;
191 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DOMAIN$2);
192 if (target == null)
193 {
194 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DOMAIN$2);
195 }
196 target.set(domain);
197 }
198 }
199
200 /**
201 * Unsets the "domain" attribute
202 */
203 public void unsetDomain()
204 {
205 synchronized (monitor())
206 {
207 check_orphaned();
208 get_store().remove_attribute(DOMAIN$2);
209 }
210 }
211 }