org.apache.geronimo.xml.ns.security12.impl
Class DefaultPrincipalTypeImpl

java.lang.Object
  extended by org.apache.xmlbeans.impl.values.XmlObjectBase
      extended by org.apache.xmlbeans.impl.values.XmlComplexContentImpl
          extended by org.apache.geronimo.xml.ns.security12.impl.DefaultPrincipalTypeImpl
All Implemented Interfaces:
Serializable, DefaultPrincipalType, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource

public class DefaultPrincipalTypeImpl
extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl
implements DefaultPrincipalType

An XML default-principalType(@http://geronimo.apache.org/xml/ns/security-1.2). This is a complex type.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.geronimo.xml.ns.security12.DefaultPrincipalType
DefaultPrincipalType.Factory
 
Field Summary
 
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
 
Fields inherited from interface org.apache.geronimo.xml.ns.security12.DefaultPrincipalType
type
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Constructor Summary
DefaultPrincipalTypeImpl(org.apache.xmlbeans.SchemaType sType)
           
 
Method Summary
 DescriptionType addNewDescription()
          Appends and returns a new empty value (as xml) as the last "description" element
 LoginDomainPrincipalType addNewLoginDomainPrincipal()
          Appends and returns a new empty "login-domain-principal" element
 NamedUsernamePasswordCredentialType addNewNamedUsernamePasswordCredential()
          Appends and returns a new empty value (as xml) as the last "named-username-password-credential" element
 PrincipalType addNewPrincipal()
          Appends and returns a new empty "principal" element
 RealmPrincipalType addNewRealmPrincipal()
          Appends and returns a new empty "realm-principal" element
 DescriptionType[] getDescriptionArray()
          Gets array of all "description" elements
 DescriptionType getDescriptionArray(int i)
          Gets ith "description" element
 LoginDomainPrincipalType getLoginDomainPrincipal()
          Gets the "login-domain-principal" element
 NamedUsernamePasswordCredentialType[] getNamedUsernamePasswordCredentialArray()
          Gets array of all "named-username-password-credential" elements
 NamedUsernamePasswordCredentialType getNamedUsernamePasswordCredentialArray(int i)
          Gets ith "named-username-password-credential" element
 PrincipalType getPrincipal()
          Gets the "principal" element
 RealmPrincipalType getRealmPrincipal()
          Gets the "realm-principal" element
 DescriptionType insertNewDescription(int i)
          Inserts and returns a new empty value (as xml) as the ith "description" element
 NamedUsernamePasswordCredentialType insertNewNamedUsernamePasswordCredential(int i)
          Inserts and returns a new empty value (as xml) as the ith "named-username-password-credential" element
 boolean isSetLoginDomainPrincipal()
          True if has "login-domain-principal" element
 boolean isSetPrincipal()
          True if has "principal" element
 boolean isSetRealmPrincipal()
          True if has "realm-principal" element
 void removeDescription(int i)
          Removes the ith "description" element
 void removeNamedUsernamePasswordCredential(int i)
          Removes the ith "named-username-password-credential" element
 void setDescriptionArray(DescriptionType[] descriptionArray)
          Sets array of all "description" element
 void setDescriptionArray(int i, DescriptionType description)
          Sets ith "description" element
 void setLoginDomainPrincipal(LoginDomainPrincipalType loginDomainPrincipal)
          Sets the "login-domain-principal" element
 void setNamedUsernamePasswordCredentialArray(int i, NamedUsernamePasswordCredentialType namedUsernamePasswordCredential)
          Sets ith "named-username-password-credential" element
 void setNamedUsernamePasswordCredentialArray(NamedUsernamePasswordCredentialType[] namedUsernamePasswordCredentialArray)
          Sets array of all "named-username-password-credential" element
 void setPrincipal(PrincipalType principal)
          Sets the "principal" element
 void setRealmPrincipal(RealmPrincipalType realmPrincipal)
          Sets the "realm-principal" element
 int sizeOfDescriptionArray()
          Returns number of "description" element
 int sizeOfNamedUsernamePasswordCredentialArray()
          Returns number of "named-username-password-credential" element
 void unsetLoginDomainPrincipal()
          Unsets the "login-domain-principal" element
 void unsetPrincipal()
          Unsets the "principal" element
 void unsetRealmPrincipal()
          Unsets the "realm-principal" element
 
Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl
arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_String, set_text, unionArraySetterHelper, unionArraySetterHelper, update_from_complex_content, value_hash_code
 
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_isComplexContent, _isComplexType, _validateOnSet, attach_store, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, check_orphaned, compare_to, compareTo, compareValue, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, elementFlags, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_value, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_rule, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, has_store, hashCode, init_flags, initComplexType, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_defaultable_ws, is_orphaned, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, java_value, listValue, longValue, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set_b64, set_BigDecimal, set_BigInteger, set_boolean, set_byte, set_ByteArray, set_Calendar, set_char, set_ComplexXml, set_Date, set_double, set_enum, set_float, set_GDate, set_GDuration, set_hex, set_int, set_list, set_long, set_newValue, set_notation, set_QName, set_short, set_xmlanysimple, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate_now, validate_simpleval, validate, validate, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Constructor Detail

DefaultPrincipalTypeImpl

public DefaultPrincipalTypeImpl(org.apache.xmlbeans.SchemaType sType)
Method Detail

getDescriptionArray

public DescriptionType[] getDescriptionArray()
Gets array of all "description" elements

Specified by:
getDescriptionArray in interface DefaultPrincipalType

getDescriptionArray

public DescriptionType getDescriptionArray(int i)
Gets ith "description" element

Specified by:
getDescriptionArray in interface DefaultPrincipalType

sizeOfDescriptionArray

public int sizeOfDescriptionArray()
Returns number of "description" element

Specified by:
sizeOfDescriptionArray in interface DefaultPrincipalType

setDescriptionArray

public void setDescriptionArray(DescriptionType[] descriptionArray)
Sets array of all "description" element

Specified by:
setDescriptionArray in interface DefaultPrincipalType

setDescriptionArray

public void setDescriptionArray(int i,
                                DescriptionType description)
Sets ith "description" element

Specified by:
setDescriptionArray in interface DefaultPrincipalType

insertNewDescription

public DescriptionType insertNewDescription(int i)
Inserts and returns a new empty value (as xml) as the ith "description" element

Specified by:
insertNewDescription in interface DefaultPrincipalType

addNewDescription

public DescriptionType addNewDescription()
Appends and returns a new empty value (as xml) as the last "description" element

Specified by:
addNewDescription in interface DefaultPrincipalType

removeDescription

public void removeDescription(int i)
Removes the ith "description" element

Specified by:
removeDescription in interface DefaultPrincipalType

getPrincipal

public PrincipalType getPrincipal()
Gets the "principal" element

Specified by:
getPrincipal in interface DefaultPrincipalType

isSetPrincipal

public boolean isSetPrincipal()
True if has "principal" element

Specified by:
isSetPrincipal in interface DefaultPrincipalType

setPrincipal

public void setPrincipal(PrincipalType principal)
Sets the "principal" element

Specified by:
setPrincipal in interface DefaultPrincipalType

addNewPrincipal

public PrincipalType addNewPrincipal()
Appends and returns a new empty "principal" element

Specified by:
addNewPrincipal in interface DefaultPrincipalType

unsetPrincipal

public void unsetPrincipal()
Unsets the "principal" element

Specified by:
unsetPrincipal in interface DefaultPrincipalType

getLoginDomainPrincipal

public LoginDomainPrincipalType getLoginDomainPrincipal()
Gets the "login-domain-principal" element

Specified by:
getLoginDomainPrincipal in interface DefaultPrincipalType

isSetLoginDomainPrincipal

public boolean isSetLoginDomainPrincipal()
True if has "login-domain-principal" element

Specified by:
isSetLoginDomainPrincipal in interface DefaultPrincipalType

setLoginDomainPrincipal

public void setLoginDomainPrincipal(LoginDomainPrincipalType loginDomainPrincipal)
Sets the "login-domain-principal" element

Specified by:
setLoginDomainPrincipal in interface DefaultPrincipalType

addNewLoginDomainPrincipal

public LoginDomainPrincipalType addNewLoginDomainPrincipal()
Appends and returns a new empty "login-domain-principal" element

Specified by:
addNewLoginDomainPrincipal in interface DefaultPrincipalType

unsetLoginDomainPrincipal

public void unsetLoginDomainPrincipal()
Unsets the "login-domain-principal" element

Specified by:
unsetLoginDomainPrincipal in interface DefaultPrincipalType

getRealmPrincipal

public RealmPrincipalType getRealmPrincipal()
Gets the "realm-principal" element

Specified by:
getRealmPrincipal in interface DefaultPrincipalType

isSetRealmPrincipal

public boolean isSetRealmPrincipal()
True if has "realm-principal" element

Specified by:
isSetRealmPrincipal in interface DefaultPrincipalType

setRealmPrincipal

public void setRealmPrincipal(RealmPrincipalType realmPrincipal)
Sets the "realm-principal" element

Specified by:
setRealmPrincipal in interface DefaultPrincipalType

addNewRealmPrincipal

public RealmPrincipalType addNewRealmPrincipal()
Appends and returns a new empty "realm-principal" element

Specified by:
addNewRealmPrincipal in interface DefaultPrincipalType

unsetRealmPrincipal

public void unsetRealmPrincipal()
Unsets the "realm-principal" element

Specified by:
unsetRealmPrincipal in interface DefaultPrincipalType

getNamedUsernamePasswordCredentialArray

public NamedUsernamePasswordCredentialType[] getNamedUsernamePasswordCredentialArray()
Gets array of all "named-username-password-credential" elements

Specified by:
getNamedUsernamePasswordCredentialArray in interface DefaultPrincipalType

getNamedUsernamePasswordCredentialArray

public NamedUsernamePasswordCredentialType getNamedUsernamePasswordCredentialArray(int i)
Gets ith "named-username-password-credential" element

Specified by:
getNamedUsernamePasswordCredentialArray in interface DefaultPrincipalType

sizeOfNamedUsernamePasswordCredentialArray

public int sizeOfNamedUsernamePasswordCredentialArray()
Returns number of "named-username-password-credential" element

Specified by:
sizeOfNamedUsernamePasswordCredentialArray in interface DefaultPrincipalType

setNamedUsernamePasswordCredentialArray

public void setNamedUsernamePasswordCredentialArray(NamedUsernamePasswordCredentialType[] namedUsernamePasswordCredentialArray)
Sets array of all "named-username-password-credential" element

Specified by:
setNamedUsernamePasswordCredentialArray in interface DefaultPrincipalType

setNamedUsernamePasswordCredentialArray

public void setNamedUsernamePasswordCredentialArray(int i,
                                                    NamedUsernamePasswordCredentialType namedUsernamePasswordCredential)
Sets ith "named-username-password-credential" element

Specified by:
setNamedUsernamePasswordCredentialArray in interface DefaultPrincipalType

insertNewNamedUsernamePasswordCredential

public NamedUsernamePasswordCredentialType insertNewNamedUsernamePasswordCredential(int i)
Inserts and returns a new empty value (as xml) as the ith "named-username-password-credential" element

Specified by:
insertNewNamedUsernamePasswordCredential in interface DefaultPrincipalType

addNewNamedUsernamePasswordCredential

public NamedUsernamePasswordCredentialType addNewNamedUsernamePasswordCredential()
Appends and returns a new empty value (as xml) as the last "named-username-password-credential" element

Specified by:
addNewNamedUsernamePasswordCredential in interface DefaultPrincipalType

removeNamedUsernamePasswordCredential

public void removeNamedUsernamePasswordCredential(int i)
Removes the ith "named-username-password-credential" element

Specified by:
removeNamedUsernamePasswordCredential in interface DefaultPrincipalType


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.