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

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.RoleTypeImpl
All Implemented Interfaces:
Serializable, RoleType, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource

public class RoleTypeImpl
extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl
implements RoleType

An XML roleType(@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.RoleType
RoleType.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.RoleType
type
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Constructor Summary
RoleTypeImpl(org.apache.xmlbeans.SchemaType sType)
           
 
Method Summary
 DescriptionType addNewDescription()
          Appends and returns a new empty value (as xml) as the last "description" element
 DistinguishedNameType addNewDistinguishedName()
          Appends and returns a new empty value (as xml) as the last "distinguished-name" element
 LoginDomainPrincipalType addNewLoginDomainPrincipal()
          Appends and returns a new empty value (as xml) as the last "login-domain-principal" element
 PrincipalType addNewPrincipal()
          Appends and returns a new empty value (as xml) as the last "principal" element
 RealmPrincipalType addNewRealmPrincipal()
          Appends and returns a new empty value (as xml) as the last "realm-principal" element
 DescriptionType[] getDescriptionArray()
          Gets array of all "description" elements
 DescriptionType getDescriptionArray(int i)
          Gets ith "description" element
 DistinguishedNameType[] getDistinguishedNameArray()
          Gets array of all "distinguished-name" elements
 DistinguishedNameType getDistinguishedNameArray(int i)
          Gets ith "distinguished-name" element
 LoginDomainPrincipalType[] getLoginDomainPrincipalArray()
          Gets array of all "login-domain-principal" elements
 LoginDomainPrincipalType getLoginDomainPrincipalArray(int i)
          Gets ith "login-domain-principal" element
 PrincipalType[] getPrincipalArray()
          Gets array of all "principal" elements
 PrincipalType getPrincipalArray(int i)
          Gets ith "principal" element
 RealmPrincipalType[] getRealmPrincipalArray()
          Gets array of all "realm-principal" elements
 RealmPrincipalType getRealmPrincipalArray(int i)
          Gets ith "realm-principal" element
 String getRoleName()
          Gets the "role-name" attribute
 DescriptionType insertNewDescription(int i)
          Inserts and returns a new empty value (as xml) as the ith "description" element
 DistinguishedNameType insertNewDistinguishedName(int i)
          Inserts and returns a new empty value (as xml) as the ith "distinguished-name" element
 LoginDomainPrincipalType insertNewLoginDomainPrincipal(int i)
          Inserts and returns a new empty value (as xml) as the ith "login-domain-principal" element
 PrincipalType insertNewPrincipal(int i)
          Inserts and returns a new empty value (as xml) as the ith "principal" element
 RealmPrincipalType insertNewRealmPrincipal(int i)
          Inserts and returns a new empty value (as xml) as the ith "realm-principal" element
 void removeDescription(int i)
          Removes the ith "description" element
 void removeDistinguishedName(int i)
          Removes the ith "distinguished-name" element
 void removeLoginDomainPrincipal(int i)
          Removes the ith "login-domain-principal" element
 void removePrincipal(int i)
          Removes the ith "principal" element
 void removeRealmPrincipal(int i)
          Removes the ith "realm-principal" element
 void setDescriptionArray(DescriptionType[] descriptionArray)
          Sets array of all "description" element
 void setDescriptionArray(int i, DescriptionType description)
          Sets ith "description" element
 void setDistinguishedNameArray(DistinguishedNameType[] distinguishedNameArray)
          Sets array of all "distinguished-name" element
 void setDistinguishedNameArray(int i, DistinguishedNameType distinguishedName)
          Sets ith "distinguished-name" element
 void setLoginDomainPrincipalArray(int i, LoginDomainPrincipalType loginDomainPrincipal)
          Sets ith "login-domain-principal" element
 void setLoginDomainPrincipalArray(LoginDomainPrincipalType[] loginDomainPrincipalArray)
          Sets array of all "login-domain-principal" element
 void setPrincipalArray(int i, PrincipalType principal)
          Sets ith "principal" element
 void setPrincipalArray(PrincipalType[] principalArray)
          Sets array of all "principal" element
 void setRealmPrincipalArray(int i, RealmPrincipalType realmPrincipal)
          Sets ith "realm-principal" element
 void setRealmPrincipalArray(RealmPrincipalType[] realmPrincipalArray)
          Sets array of all "realm-principal" element
 void setRoleName(String roleName)
          Sets the "role-name" attribute
 int sizeOfDescriptionArray()
          Returns number of "description" element
 int sizeOfDistinguishedNameArray()
          Returns number of "distinguished-name" element
 int sizeOfLoginDomainPrincipalArray()
          Returns number of "login-domain-principal" element
 int sizeOfPrincipalArray()
          Returns number of "principal" element
 int sizeOfRealmPrincipalArray()
          Returns number of "realm-principal" element
 org.apache.xmlbeans.XmlString xgetRoleName()
          Gets (as xml) the "role-name" attribute
 void xsetRoleName(org.apache.xmlbeans.XmlString roleName)
          Sets (as xml) the "role-name" attribute
 
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

RoleTypeImpl

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

getDescriptionArray

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

Specified by:
getDescriptionArray in interface RoleType

getDescriptionArray

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

Specified by:
getDescriptionArray in interface RoleType

sizeOfDescriptionArray

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

Specified by:
sizeOfDescriptionArray in interface RoleType

setDescriptionArray

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

Specified by:
setDescriptionArray in interface RoleType

setDescriptionArray

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

Specified by:
setDescriptionArray in interface RoleType

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 RoleType

addNewDescription

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

Specified by:
addNewDescription in interface RoleType

removeDescription

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

Specified by:
removeDescription in interface RoleType

getRealmPrincipalArray

public RealmPrincipalType[] getRealmPrincipalArray()
Gets array of all "realm-principal" elements

Specified by:
getRealmPrincipalArray in interface RoleType

getRealmPrincipalArray

public RealmPrincipalType getRealmPrincipalArray(int i)
Gets ith "realm-principal" element

Specified by:
getRealmPrincipalArray in interface RoleType

sizeOfRealmPrincipalArray

public int sizeOfRealmPrincipalArray()
Returns number of "realm-principal" element

Specified by:
sizeOfRealmPrincipalArray in interface RoleType

setRealmPrincipalArray

public void setRealmPrincipalArray(RealmPrincipalType[] realmPrincipalArray)
Sets array of all "realm-principal" element

Specified by:
setRealmPrincipalArray in interface RoleType

setRealmPrincipalArray

public void setRealmPrincipalArray(int i,
                                   RealmPrincipalType realmPrincipal)
Sets ith "realm-principal" element

Specified by:
setRealmPrincipalArray in interface RoleType

insertNewRealmPrincipal

public RealmPrincipalType insertNewRealmPrincipal(int i)
Inserts and returns a new empty value (as xml) as the ith "realm-principal" element

Specified by:
insertNewRealmPrincipal in interface RoleType

addNewRealmPrincipal

public RealmPrincipalType addNewRealmPrincipal()
Appends and returns a new empty value (as xml) as the last "realm-principal" element

Specified by:
addNewRealmPrincipal in interface RoleType

removeRealmPrincipal

public void removeRealmPrincipal(int i)
Removes the ith "realm-principal" element

Specified by:
removeRealmPrincipal in interface RoleType

getLoginDomainPrincipalArray

public LoginDomainPrincipalType[] getLoginDomainPrincipalArray()
Gets array of all "login-domain-principal" elements

Specified by:
getLoginDomainPrincipalArray in interface RoleType

getLoginDomainPrincipalArray

public LoginDomainPrincipalType getLoginDomainPrincipalArray(int i)
Gets ith "login-domain-principal" element

Specified by:
getLoginDomainPrincipalArray in interface RoleType

sizeOfLoginDomainPrincipalArray

public int sizeOfLoginDomainPrincipalArray()
Returns number of "login-domain-principal" element

Specified by:
sizeOfLoginDomainPrincipalArray in interface RoleType

setLoginDomainPrincipalArray

public void setLoginDomainPrincipalArray(LoginDomainPrincipalType[] loginDomainPrincipalArray)
Sets array of all "login-domain-principal" element

Specified by:
setLoginDomainPrincipalArray in interface RoleType

setLoginDomainPrincipalArray

public void setLoginDomainPrincipalArray(int i,
                                         LoginDomainPrincipalType loginDomainPrincipal)
Sets ith "login-domain-principal" element

Specified by:
setLoginDomainPrincipalArray in interface RoleType

insertNewLoginDomainPrincipal

public LoginDomainPrincipalType insertNewLoginDomainPrincipal(int i)
Inserts and returns a new empty value (as xml) as the ith "login-domain-principal" element

Specified by:
insertNewLoginDomainPrincipal in interface RoleType

addNewLoginDomainPrincipal

public LoginDomainPrincipalType addNewLoginDomainPrincipal()
Appends and returns a new empty value (as xml) as the last "login-domain-principal" element

Specified by:
addNewLoginDomainPrincipal in interface RoleType

removeLoginDomainPrincipal

public void removeLoginDomainPrincipal(int i)
Removes the ith "login-domain-principal" element

Specified by:
removeLoginDomainPrincipal in interface RoleType

getPrincipalArray

public PrincipalType[] getPrincipalArray()
Gets array of all "principal" elements

Specified by:
getPrincipalArray in interface RoleType

getPrincipalArray

public PrincipalType getPrincipalArray(int i)
Gets ith "principal" element

Specified by:
getPrincipalArray in interface RoleType

sizeOfPrincipalArray

public int sizeOfPrincipalArray()
Returns number of "principal" element

Specified by:
sizeOfPrincipalArray in interface RoleType

setPrincipalArray

public void setPrincipalArray(PrincipalType[] principalArray)
Sets array of all "principal" element

Specified by:
setPrincipalArray in interface RoleType

setPrincipalArray

public void setPrincipalArray(int i,
                              PrincipalType principal)
Sets ith "principal" element

Specified by:
setPrincipalArray in interface RoleType

insertNewPrincipal

public PrincipalType insertNewPrincipal(int i)
Inserts and returns a new empty value (as xml) as the ith "principal" element

Specified by:
insertNewPrincipal in interface RoleType

addNewPrincipal

public PrincipalType addNewPrincipal()
Appends and returns a new empty value (as xml) as the last "principal" element

Specified by:
addNewPrincipal in interface RoleType

removePrincipal

public void removePrincipal(int i)
Removes the ith "principal" element

Specified by:
removePrincipal in interface RoleType

getDistinguishedNameArray

public DistinguishedNameType[] getDistinguishedNameArray()
Gets array of all "distinguished-name" elements

Specified by:
getDistinguishedNameArray in interface RoleType

getDistinguishedNameArray

public DistinguishedNameType getDistinguishedNameArray(int i)
Gets ith "distinguished-name" element

Specified by:
getDistinguishedNameArray in interface RoleType

sizeOfDistinguishedNameArray

public int sizeOfDistinguishedNameArray()
Returns number of "distinguished-name" element

Specified by:
sizeOfDistinguishedNameArray in interface RoleType

setDistinguishedNameArray

public void setDistinguishedNameArray(DistinguishedNameType[] distinguishedNameArray)
Sets array of all "distinguished-name" element

Specified by:
setDistinguishedNameArray in interface RoleType

setDistinguishedNameArray

public void setDistinguishedNameArray(int i,
                                      DistinguishedNameType distinguishedName)
Sets ith "distinguished-name" element

Specified by:
setDistinguishedNameArray in interface RoleType

insertNewDistinguishedName

public DistinguishedNameType insertNewDistinguishedName(int i)
Inserts and returns a new empty value (as xml) as the ith "distinguished-name" element

Specified by:
insertNewDistinguishedName in interface RoleType

addNewDistinguishedName

public DistinguishedNameType addNewDistinguishedName()
Appends and returns a new empty value (as xml) as the last "distinguished-name" element

Specified by:
addNewDistinguishedName in interface RoleType

removeDistinguishedName

public void removeDistinguishedName(int i)
Removes the ith "distinguished-name" element

Specified by:
removeDistinguishedName in interface RoleType

getRoleName

public String getRoleName()
Gets the "role-name" attribute

Specified by:
getRoleName in interface RoleType

xgetRoleName

public org.apache.xmlbeans.XmlString xgetRoleName()
Gets (as xml) the "role-name" attribute

Specified by:
xgetRoleName in interface RoleType

setRoleName

public void setRoleName(String roleName)
Sets the "role-name" attribute

Specified by:
setRoleName in interface RoleType

xsetRoleName

public void xsetRoleName(org.apache.xmlbeans.XmlString roleName)
Sets (as xml) the "role-name" attribute

Specified by:
xsetRoleName in interface RoleType


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