org.apache.geronimo.xbeans.j2ee.impl
Class ResourceRefTypeImpl

java.lang.Object
  extended byorg.apache.xmlbeans.impl.values.XmlObjectBase
      extended byorg.apache.xmlbeans.impl.values.XmlComplexContentImpl
          extended byorg.apache.geronimo.xbeans.j2ee.impl.ResourceRefTypeImpl
All Implemented Interfaces:
ResourceRefType, Serializable, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource

public class ResourceRefTypeImpl
extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl
implements ResourceRefType

An XML resource-refType(@http://java.sun.com/xml/ns/j2ee). This is a complex type.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.geronimo.xbeans.j2ee.ResourceRefType
ResourceRefType.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.xbeans.j2ee.ResourceRefType
type
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Constructor Summary
ResourceRefTypeImpl(org.apache.xmlbeans.SchemaType sType)
           
 
Method Summary
 DescriptionType addNewDescription()
          Appends and returns a new empty value (as xml) as the last "description" element
 DescriptionType[] getDescriptionArray()
          Gets array of all "description" elements
 DescriptionType getDescriptionArray(int i)
          Gets ith "description" element
 ResAuthType.Enum getResAuth()
          Gets the "res-auth" element
 String getResRefName()
          Gets the "res-ref-name" element
 ResSharingScopeType.Enum getResSharingScope()
          Gets the "res-sharing-scope" element
 String getResType()
          Gets the "res-type" element
 DescriptionType insertNewDescription(int i)
          Inserts and returns a new empty value (as xml) as the ith "description" element
 boolean isSetResSharingScope()
          True if has "res-sharing-scope" element
 void removeDescription(int i)
          Removes the ith "description" element
 void setDescriptionArray(DescriptionType[] descriptionArray)
          Sets array of all "description" element
 void setDescriptionArray(int i, DescriptionType description)
          Sets ith "description" element
 void setResAuth(ResAuthType.Enum resAuth)
          Sets the "res-auth" element
 void setResRefName(String resRefName)
          Sets the "res-ref-name" element
 void setResSharingScope(ResSharingScopeType.Enum resSharingScope)
          Sets the "res-sharing-scope" element
 void setResType(String resType)
          Sets the "res-type" element
 int sizeOfDescriptionArray()
          Returns number of "description" element
 void unsetResSharingScope()
          Unsets the "res-sharing-scope" element
 ResAuthType xgetResAuth()
          Gets (as xml) the "res-auth" element
 JndiNameType xgetResRefName()
          Gets (as xml) the "res-ref-name" element
 ResSharingScopeType xgetResSharingScope()
          Gets (as xml) the "res-sharing-scope" element
 FullyQualifiedClassType xgetResType()
          Gets (as xml) the "res-type" element
 void xsetResAuth(ResAuthType resAuth)
          Sets (as xml) the "res-auth" element
 void xsetResRefName(JndiNameType resRefName)
          Sets (as xml) the "res-ref-name" element
 void xsetResSharingScope(ResSharingScopeType resSharingScope)
          Sets (as xml) the "res-sharing-scope" element
 void xsetResType(FullyQualifiedClassType resType)
          Sets (as xml) the "res-type" 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, 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, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, 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, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, 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, 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, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Constructor Detail

ResourceRefTypeImpl

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

getDescriptionArray

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

Specified by:
getDescriptionArray in interface ResourceRefType

getDescriptionArray

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

Specified by:
getDescriptionArray in interface ResourceRefType

sizeOfDescriptionArray

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

Specified by:
sizeOfDescriptionArray in interface ResourceRefType

setDescriptionArray

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

Specified by:
setDescriptionArray in interface ResourceRefType

setDescriptionArray

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

Specified by:
setDescriptionArray in interface ResourceRefType

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 ResourceRefType

addNewDescription

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

Specified by:
addNewDescription in interface ResourceRefType

removeDescription

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

Specified by:
removeDescription in interface ResourceRefType

getResRefName

public String getResRefName()
Gets the "res-ref-name" element

Specified by:
getResRefName in interface ResourceRefType

xgetResRefName

public JndiNameType xgetResRefName()
Gets (as xml) the "res-ref-name" element

Specified by:
xgetResRefName in interface ResourceRefType

setResRefName

public void setResRefName(String resRefName)
Sets the "res-ref-name" element

Specified by:
setResRefName in interface ResourceRefType

xsetResRefName

public void xsetResRefName(JndiNameType resRefName)
Sets (as xml) the "res-ref-name" element

Specified by:
xsetResRefName in interface ResourceRefType

getResType

public String getResType()
Gets the "res-type" element

Specified by:
getResType in interface ResourceRefType

xgetResType

public FullyQualifiedClassType xgetResType()
Gets (as xml) the "res-type" element

Specified by:
xgetResType in interface ResourceRefType

setResType

public void setResType(String resType)
Sets the "res-type" element

Specified by:
setResType in interface ResourceRefType

xsetResType

public void xsetResType(FullyQualifiedClassType resType)
Sets (as xml) the "res-type" element

Specified by:
xsetResType in interface ResourceRefType

getResAuth

public ResAuthType.Enum getResAuth()
Gets the "res-auth" element

Specified by:
getResAuth in interface ResourceRefType

xgetResAuth

public ResAuthType xgetResAuth()
Gets (as xml) the "res-auth" element

Specified by:
xgetResAuth in interface ResourceRefType

setResAuth

public void setResAuth(ResAuthType.Enum resAuth)
Sets the "res-auth" element

Specified by:
setResAuth in interface ResourceRefType

xsetResAuth

public void xsetResAuth(ResAuthType resAuth)
Sets (as xml) the "res-auth" element

Specified by:
xsetResAuth in interface ResourceRefType

getResSharingScope

public ResSharingScopeType.Enum getResSharingScope()
Gets the "res-sharing-scope" element

Specified by:
getResSharingScope in interface ResourceRefType

xgetResSharingScope

public ResSharingScopeType xgetResSharingScope()
Gets (as xml) the "res-sharing-scope" element

Specified by:
xgetResSharingScope in interface ResourceRefType

isSetResSharingScope

public boolean isSetResSharingScope()
True if has "res-sharing-scope" element

Specified by:
isSetResSharingScope in interface ResourceRefType

setResSharingScope

public void setResSharingScope(ResSharingScopeType.Enum resSharingScope)
Sets the "res-sharing-scope" element

Specified by:
setResSharingScope in interface ResourceRefType

xsetResSharingScope

public void xsetResSharingScope(ResSharingScopeType resSharingScope)
Sets (as xml) the "res-sharing-scope" element

Specified by:
xsetResSharingScope in interface ResourceRefType

unsetResSharingScope

public void unsetResSharingScope()
Unsets the "res-sharing-scope" element

Specified by:
unsetResSharingScope in interface ResourceRefType


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.