org.apache.geronimo.xbeans.ejb
Interface MethodPermissionType

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

public interface MethodPermissionType
extends org.apache.xmlbeans.XmlObject

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


Nested Class Summary
static class MethodPermissionType.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
 MethodType addNewMethod()
          Appends and returns a new empty value (as xml) as the last "method" element
 EmptyType addNewUnchecked()
          Appends and returns a new empty "unchecked" element
 void addRoleName(String roleName)
          Appends the value as the last "role-name" element
 DescriptionType[] getDescriptionArray()
          Gets array of all "description" elements
 DescriptionType getDescriptionArray(int i)
          Gets ith "description" element
 MethodType[] getMethodArray()
          Gets array of all "method" elements
 MethodType getMethodArray(int i)
          Gets ith "method" element
 String[] getRoleNameArray()
          Gets array of all "role-name" elements
 String getRoleNameArray(int i)
          Gets ith "role-name" element
 EmptyType getUnchecked()
          Gets the "unchecked" element
 DescriptionType insertNewDescription(int i)
          Inserts and returns a new empty value (as xml) as the ith "description" element
 MethodType insertNewMethod(int i)
          Inserts and returns a new empty value (as xml) as the ith "method" element
 void insertRoleName(int i, String roleName)
          Inserts the value as the ith "role-name" element
 boolean isSetUnchecked()
          True if has "unchecked" element
 void removeDescription(int i)
          Removes the ith "description" element
 void removeMethod(int i)
          Removes the ith "method" element
 void removeRoleName(int i)
          Removes the ith "role-name" element
 void setDescriptionArray(DescriptionType[] descriptionArray)
          Sets array of all "description" element
 void setDescriptionArray(int i, DescriptionType description)
          Sets ith "description" element
 void setMethodArray(int i, MethodType method)
          Sets ith "method" element
 void setMethodArray(MethodType[] methodArray)
          Sets array of all "method" element
 void setRoleNameArray(int i, String roleName)
          Sets ith "role-name" element
 void setRoleNameArray(String[] roleNameArray)
          Sets array of all "role-name" element
 void setUnchecked(EmptyType unchecked)
          Sets the "unchecked" element
 int sizeOfDescriptionArray()
          Returns number of "description" element
 int sizeOfMethodArray()
          Returns number of "method" element
 int sizeOfRoleNameArray()
          Returns number of "role-name" element
 void unsetUnchecked()
          Unsets the "unchecked" element
 RoleNameType[] xgetRoleNameArray()
          Gets (as xml) array of all "role-name" elements
 RoleNameType xgetRoleNameArray(int i)
          Gets (as xml) ith "role-name" element
 void xsetRoleNameArray(int i, RoleNameType roleName)
          Sets (as xml) ith "role-name" element
 void xsetRoleNameArray(RoleNameType[] roleNameArray)
          Sets (as xml) array of all "role-name" 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


getRoleNameArray

public String[] getRoleNameArray()
Gets array of all "role-name" elements


getRoleNameArray

public String getRoleNameArray(int i)
Gets ith "role-name" element


xgetRoleNameArray

public RoleNameType[] xgetRoleNameArray()
Gets (as xml) array of all "role-name" elements


xgetRoleNameArray

public RoleNameType xgetRoleNameArray(int i)
Gets (as xml) ith "role-name" element


sizeOfRoleNameArray

public int sizeOfRoleNameArray()
Returns number of "role-name" element


setRoleNameArray

public void setRoleNameArray(String[] roleNameArray)
Sets array of all "role-name" element


setRoleNameArray

public void setRoleNameArray(int i,
                             String roleName)
Sets ith "role-name" element


xsetRoleNameArray

public void xsetRoleNameArray(RoleNameType[] roleNameArray)
Sets (as xml) array of all "role-name" element


xsetRoleNameArray

public void xsetRoleNameArray(int i,
                              RoleNameType roleName)
Sets (as xml) ith "role-name" element


insertRoleName

public void insertRoleName(int i,
                           String roleName)
Inserts the value as the ith "role-name" element


addRoleName

public void addRoleName(String roleName)
Appends the value as the last "role-name" element


removeRoleName

public void removeRoleName(int i)
Removes the ith "role-name" element


getUnchecked

public EmptyType getUnchecked()
Gets the "unchecked" element


isSetUnchecked

public boolean isSetUnchecked()
True if has "unchecked" element


setUnchecked

public void setUnchecked(EmptyType unchecked)
Sets the "unchecked" element


addNewUnchecked

public EmptyType addNewUnchecked()
Appends and returns a new empty "unchecked" element


unsetUnchecked

public void unsetUnchecked()
Unsets the "unchecked" element


getMethodArray

public MethodType[] getMethodArray()
Gets array of all "method" elements


getMethodArray

public MethodType getMethodArray(int i)
Gets ith "method" element


sizeOfMethodArray

public int sizeOfMethodArray()
Returns number of "method" element


setMethodArray

public void setMethodArray(MethodType[] methodArray)
Sets array of all "method" element


setMethodArray

public void setMethodArray(int i,
                           MethodType method)
Sets ith "method" element


insertNewMethod

public MethodType insertNewMethod(int i)
Inserts and returns a new empty value (as xml) as the ith "method" element


addNewMethod

public MethodType addNewMethod()
Appends and returns a new empty value (as xml) as the last "method" element


removeMethod

public void removeMethod(int i)
Removes the ith "method" element



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