org.apache.geronimo.xbeans.j2ee
Interface ResourceRefType

All Superinterfaces:
org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
All Known Implementing Classes:
ResourceRefTypeImpl

public interface ResourceRefType
extends org.apache.xmlbeans.XmlObject

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


Nested Class Summary
static class ResourceRefType.Factory
          A factory class with static methods for creating instances of this type.
 
Field Summary
static org.apache.xmlbeans.SchemaType type
           
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
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 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
 

Field Detail

type

public static final org.apache.xmlbeans.SchemaType type
Method Detail

getDescriptionArray

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


getDescriptionArray

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


sizeOfDescriptionArray

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


setDescriptionArray

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


setDescriptionArray

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


insertNewDescription

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


addNewDescription

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


removeDescription

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


getResRefName

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


xgetResRefName

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


setResRefName

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


xsetResRefName

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


getResType

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


xgetResType

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


setResType

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


xsetResType

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


getResAuth

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


xgetResAuth

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


setResAuth

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


xsetResAuth

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


getResSharingScope

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


xgetResSharingScope

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


isSetResSharingScope

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


setResSharingScope

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


xsetResSharingScope

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


unsetResSharingScope

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



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