001 /* 002 * XML Type: ITTPrincipalNameDynamicType 003 * Namespace: http://openejb.apache.org/xml/ns/corba-css-config-2.1 004 * Java type: org.apache.geronimo.corba.xbeans.csiv2.css.CSSITTPrincipalNameDynamicType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.corba.xbeans.csiv2.css.impl; 009 /** 010 * An XML ITTPrincipalNameDynamicType(@http://openejb.apache.org/xml/ns/corba-css-config-2.1). 011 * 012 * This is a complex type. 013 */ 014 public class CSSITTPrincipalNameDynamicTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.geronimo.corba.xbeans.csiv2.css.CSSITTPrincipalNameDynamicType 015 { 016 017 public CSSITTPrincipalNameDynamicTypeImpl(org.apache.xmlbeans.SchemaType sType) 018 { 019 super(sType); 020 } 021 022 private static final javax.xml.namespace.QName PRINCIPALCLASS$0 = 023 new javax.xml.namespace.QName("", "principal-class"); 024 private static final javax.xml.namespace.QName DOMAIN$2 = 025 new javax.xml.namespace.QName("", "domain"); 026 private static final javax.xml.namespace.QName REALM$4 = 027 new javax.xml.namespace.QName("", "realm"); 028 private static final javax.xml.namespace.QName OID$6 = 029 new javax.xml.namespace.QName("", "oid"); 030 031 032 /** 033 * Gets the "principal-class" attribute 034 */ 035 public java.lang.String getPrincipalClass() 036 { 037 synchronized (monitor()) 038 { 039 check_orphaned(); 040 org.apache.xmlbeans.SimpleValue target = null; 041 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PRINCIPALCLASS$0); 042 if (target == null) 043 { 044 return null; 045 } 046 return target.getStringValue(); 047 } 048 } 049 050 /** 051 * Gets (as xml) the "principal-class" attribute 052 */ 053 public org.apache.xmlbeans.XmlString xgetPrincipalClass() 054 { 055 synchronized (monitor()) 056 { 057 check_orphaned(); 058 org.apache.xmlbeans.XmlString target = null; 059 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PRINCIPALCLASS$0); 060 return target; 061 } 062 } 063 064 /** 065 * True if has "principal-class" attribute 066 */ 067 public boolean isSetPrincipalClass() 068 { 069 synchronized (monitor()) 070 { 071 check_orphaned(); 072 return get_store().find_attribute_user(PRINCIPALCLASS$0) != null; 073 } 074 } 075 076 /** 077 * Sets the "principal-class" attribute 078 */ 079 public void setPrincipalClass(java.lang.String principalClass) 080 { 081 synchronized (monitor()) 082 { 083 check_orphaned(); 084 org.apache.xmlbeans.SimpleValue target = null; 085 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PRINCIPALCLASS$0); 086 if (target == null) 087 { 088 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PRINCIPALCLASS$0); 089 } 090 target.setStringValue(principalClass); 091 } 092 } 093 094 /** 095 * Sets (as xml) the "principal-class" attribute 096 */ 097 public void xsetPrincipalClass(org.apache.xmlbeans.XmlString principalClass) 098 { 099 synchronized (monitor()) 100 { 101 check_orphaned(); 102 org.apache.xmlbeans.XmlString target = null; 103 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PRINCIPALCLASS$0); 104 if (target == null) 105 { 106 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PRINCIPALCLASS$0); 107 } 108 target.set(principalClass); 109 } 110 } 111 112 /** 113 * Unsets the "principal-class" attribute 114 */ 115 public void unsetPrincipalClass() 116 { 117 synchronized (monitor()) 118 { 119 check_orphaned(); 120 get_store().remove_attribute(PRINCIPALCLASS$0); 121 } 122 } 123 124 /** 125 * Gets the "domain" attribute 126 */ 127 public java.lang.String getDomain() 128 { 129 synchronized (monitor()) 130 { 131 check_orphaned(); 132 org.apache.xmlbeans.SimpleValue target = null; 133 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DOMAIN$2); 134 if (target == null) 135 { 136 return null; 137 } 138 return target.getStringValue(); 139 } 140 } 141 142 /** 143 * Gets (as xml) the "domain" attribute 144 */ 145 public org.apache.xmlbeans.XmlString xgetDomain() 146 { 147 synchronized (monitor()) 148 { 149 check_orphaned(); 150 org.apache.xmlbeans.XmlString target = null; 151 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DOMAIN$2); 152 return target; 153 } 154 } 155 156 /** 157 * True if has "domain" attribute 158 */ 159 public boolean isSetDomain() 160 { 161 synchronized (monitor()) 162 { 163 check_orphaned(); 164 return get_store().find_attribute_user(DOMAIN$2) != null; 165 } 166 } 167 168 /** 169 * Sets the "domain" attribute 170 */ 171 public void setDomain(java.lang.String domain) 172 { 173 synchronized (monitor()) 174 { 175 check_orphaned(); 176 org.apache.xmlbeans.SimpleValue target = null; 177 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DOMAIN$2); 178 if (target == null) 179 { 180 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DOMAIN$2); 181 } 182 target.setStringValue(domain); 183 } 184 } 185 186 /** 187 * Sets (as xml) the "domain" attribute 188 */ 189 public void xsetDomain(org.apache.xmlbeans.XmlString domain) 190 { 191 synchronized (monitor()) 192 { 193 check_orphaned(); 194 org.apache.xmlbeans.XmlString target = null; 195 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DOMAIN$2); 196 if (target == null) 197 { 198 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DOMAIN$2); 199 } 200 target.set(domain); 201 } 202 } 203 204 /** 205 * Unsets the "domain" attribute 206 */ 207 public void unsetDomain() 208 { 209 synchronized (monitor()) 210 { 211 check_orphaned(); 212 get_store().remove_attribute(DOMAIN$2); 213 } 214 } 215 216 /** 217 * Gets the "realm" attribute 218 */ 219 public java.lang.String getRealm() 220 { 221 synchronized (monitor()) 222 { 223 check_orphaned(); 224 org.apache.xmlbeans.SimpleValue target = null; 225 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REALM$4); 226 if (target == null) 227 { 228 return null; 229 } 230 return target.getStringValue(); 231 } 232 } 233 234 /** 235 * Gets (as xml) the "realm" attribute 236 */ 237 public org.apache.xmlbeans.XmlString xgetRealm() 238 { 239 synchronized (monitor()) 240 { 241 check_orphaned(); 242 org.apache.xmlbeans.XmlString target = null; 243 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(REALM$4); 244 return target; 245 } 246 } 247 248 /** 249 * True if has "realm" attribute 250 */ 251 public boolean isSetRealm() 252 { 253 synchronized (monitor()) 254 { 255 check_orphaned(); 256 return get_store().find_attribute_user(REALM$4) != null; 257 } 258 } 259 260 /** 261 * Sets the "realm" attribute 262 */ 263 public void setRealm(java.lang.String realm) 264 { 265 synchronized (monitor()) 266 { 267 check_orphaned(); 268 org.apache.xmlbeans.SimpleValue target = null; 269 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REALM$4); 270 if (target == null) 271 { 272 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REALM$4); 273 } 274 target.setStringValue(realm); 275 } 276 } 277 278 /** 279 * Sets (as xml) the "realm" attribute 280 */ 281 public void xsetRealm(org.apache.xmlbeans.XmlString realm) 282 { 283 synchronized (monitor()) 284 { 285 check_orphaned(); 286 org.apache.xmlbeans.XmlString target = null; 287 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(REALM$4); 288 if (target == null) 289 { 290 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(REALM$4); 291 } 292 target.set(realm); 293 } 294 } 295 296 /** 297 * Unsets the "realm" attribute 298 */ 299 public void unsetRealm() 300 { 301 synchronized (monitor()) 302 { 303 check_orphaned(); 304 get_store().remove_attribute(REALM$4); 305 } 306 } 307 308 /** 309 * Gets the "oid" attribute 310 */ 311 public java.lang.String getOid() 312 { 313 synchronized (monitor()) 314 { 315 check_orphaned(); 316 org.apache.xmlbeans.SimpleValue target = null; 317 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OID$6); 318 if (target == null) 319 { 320 return null; 321 } 322 return target.getStringValue(); 323 } 324 } 325 326 /** 327 * Gets (as xml) the "oid" attribute 328 */ 329 public org.apache.xmlbeans.XmlString xgetOid() 330 { 331 synchronized (monitor()) 332 { 333 check_orphaned(); 334 org.apache.xmlbeans.XmlString target = null; 335 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OID$6); 336 return target; 337 } 338 } 339 340 /** 341 * True if has "oid" attribute 342 */ 343 public boolean isSetOid() 344 { 345 synchronized (monitor()) 346 { 347 check_orphaned(); 348 return get_store().find_attribute_user(OID$6) != null; 349 } 350 } 351 352 /** 353 * Sets the "oid" attribute 354 */ 355 public void setOid(java.lang.String oid) 356 { 357 synchronized (monitor()) 358 { 359 check_orphaned(); 360 org.apache.xmlbeans.SimpleValue target = null; 361 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OID$6); 362 if (target == null) 363 { 364 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OID$6); 365 } 366 target.setStringValue(oid); 367 } 368 } 369 370 /** 371 * Sets (as xml) the "oid" attribute 372 */ 373 public void xsetOid(org.apache.xmlbeans.XmlString oid) 374 { 375 synchronized (monitor()) 376 { 377 check_orphaned(); 378 org.apache.xmlbeans.XmlString target = null; 379 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OID$6); 380 if (target == null) 381 { 382 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(OID$6); 383 } 384 target.set(oid); 385 } 386 } 387 388 /** 389 * Unsets the "oid" attribute 390 */ 391 public void unsetOid() 392 { 393 synchronized (monitor()) 394 { 395 check_orphaned(); 396 get_store().remove_attribute(OID$6); 397 } 398 } 399 }