001 /*
002 * XML Type: loginDomainPrincipalType
003 * Namespace: http://geronimo.apache.org/xml/ns/security-1.2
004 * Java type: org.apache.geronimo.xbeans.geronimo.security.GerLoginDomainPrincipalType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo.security.impl;
009 /**
010 * An XML loginDomainPrincipalType(@http://geronimo.apache.org/xml/ns/security-1.2).
011 *
012 * This is a complex type.
013 */
014 public class GerLoginDomainPrincipalTypeImpl extends org.apache.geronimo.xbeans.geronimo.security.impl.GerPrincipalTypeImpl implements org.apache.geronimo.xbeans.geronimo.security.GerLoginDomainPrincipalType
015 {
016
017 public GerLoginDomainPrincipalTypeImpl(org.apache.xmlbeans.SchemaType sType)
018 {
019 super(sType);
020 }
021
022 private static final javax.xml.namespace.QName DOMAINNAME$0 =
023 new javax.xml.namespace.QName("", "domain-name");
024
025
026 /**
027 * Gets the "domain-name" attribute
028 */
029 public java.lang.String getDomainName()
030 {
031 synchronized (monitor())
032 {
033 check_orphaned();
034 org.apache.xmlbeans.SimpleValue target = null;
035 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DOMAINNAME$0);
036 if (target == null)
037 {
038 return null;
039 }
040 return target.getStringValue();
041 }
042 }
043
044 /**
045 * Gets (as xml) the "domain-name" attribute
046 */
047 public org.apache.xmlbeans.XmlString xgetDomainName()
048 {
049 synchronized (monitor())
050 {
051 check_orphaned();
052 org.apache.xmlbeans.XmlString target = null;
053 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DOMAINNAME$0);
054 return target;
055 }
056 }
057
058 /**
059 * Sets the "domain-name" attribute
060 */
061 public void setDomainName(java.lang.String domainName)
062 {
063 synchronized (monitor())
064 {
065 check_orphaned();
066 org.apache.xmlbeans.SimpleValue target = null;
067 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DOMAINNAME$0);
068 if (target == null)
069 {
070 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DOMAINNAME$0);
071 }
072 target.setStringValue(domainName);
073 }
074 }
075
076 /**
077 * Sets (as xml) the "domain-name" attribute
078 */
079 public void xsetDomainName(org.apache.xmlbeans.XmlString domainName)
080 {
081 synchronized (monitor())
082 {
083 check_orphaned();
084 org.apache.xmlbeans.XmlString target = null;
085 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DOMAINNAME$0);
086 if (target == null)
087 {
088 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DOMAINNAME$0);
089 }
090 target.set(domainName);
091 }
092 }
093 }