Java Doc for RoleList.java in  » JMX » XMOJO » javax » management » relation » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » JMX » XMOJO » javax.management.relation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.util.ArrayList
   javax.management.relation.RoleList

RoleList
public class RoleList extends ArrayList (Code)
A RoleList represents a list of roles (Role objects). It is used as parameter when creating a relation, and when trying to set several roles in a relation (via 'setRoles()' method). It is returned as part of a RoleResult, to provide roles successfully retrieved.



Constructor Summary
public  RoleList()
     Constructs an empty RoleList.
public  RoleList(int theInitialCapacity)
     Constructs an empty RoleList with the initial capacity specified.
public  RoleList(List theList)
     Constructs a RoleList containing the elements of the ArrayList specified, in the order in which they are returned by the ArrayList's iterator.

Method Summary
public  voidadd(int theIndex, Role theRole)
     Inserts the role specified as an element at the position specified.
public  voidadd(Role theRole)
     Adds the Role specified as the last element of the list.
public  booleanaddAll(int theIndex, RoleList theRoleList)
     Inserts all of the elements in the RoleList specified into this list, starting at the specified position, in the order in which they are returned by the Iterator of the RoleList specified.
public  booleanaddAll(RoleList theRoleList)
     Appends all the elements in the RoleList specified to the end of the list, in the order in which they are returned by the Iterator of the RoleList specified.
public  java.lang.Objectclone()
     Cloning.
public  voidset(int theIndex, Role theRole)
     Sets the element at the position specified to be the role specified.


Constructor Detail
RoleList
public RoleList()(Code)
Constructs an empty RoleList.



RoleList
public RoleList(int theInitialCapacity)(Code)
Constructs an empty RoleList with the initial capacity specified.
Parameters:
  theInitialCapacity - - initial capacity



RoleList
public RoleList(List theList) throws IllegalArgumentException(Code)
Constructs a RoleList containing the elements of the ArrayList specified, in the order in which they are returned by the ArrayList's iterator. The RoleList instance has an initial capacity of 110% of the size of the ArrayList specified.
Parameters:
  theList - - list of Role objects
exception:
  java.lang.IllegalArgumentException - - if:- null parameter or- an element in the ArrayList is not a Role




Method Detail
add
public void add(int theIndex, Role theRole) throws IllegalArgumentException, IndexOutOfBoundsException(Code)
Inserts the role specified as an element at the position specified. Elements with an index greater than or equal to the current position are shifted up.
Parameters:
  theIndex - - The position in the list where the new Role objectis to be inserted.
Parameters:
  theRole - - The Role object to be inserted.
throws:
  java.lang.IllegalArgumentException - - if the role is null.
throws:
  java.lang.IndexOutOfBoundsException - - if accessing with anindex outside of the list.



add
public void add(Role theRole) throws IllegalArgumentException(Code)
Adds the Role specified as the last element of the list.
Parameters:
  theRole - - the role to be added.
exception:
  java.lang.IllegalArgumentException - - if the role is null.



addAll
public boolean addAll(int theIndex, RoleList theRoleList) throws IllegalArgumentException, IndexOutOfBoundsException(Code)
Inserts all of the elements in the RoleList specified into this list, starting at the specified position, in the order in which they are returned by the Iterator of the RoleList specified.
Parameters:
  theIndex - - Position at which to insert the first element fromthe RoleList specified.
Parameters:
  theRoleList - - Elements to be inserted into the list.
throws:
  java.lang.IllegalArgumentException - - if the role is null.
throws:
  java.lang.IndexOutOfBoundsException - - if accessing with anindex outside of the list.



addAll
public boolean addAll(RoleList theRoleList) throws IndexOutOfBoundsException(Code)
Appends all the elements in the RoleList specified to the end of the list, in the order in which they are returned by the Iterator of the RoleList specified.
Parameters:
  theRoleList - - Elements to be inserted into the list (can be null)
throws:
  java.lang.IndexOutOfBoundsException - - if accessing with anindex outside of the list.



clone
public java.lang.Object clone()(Code)
Cloning. This will create a duplicate copy of the RoleList. Returns a new RoleList, but no copy of the included elements.Overrides:clone in class java.util.ArrayList



set
public void set(int theIndex, Role theRole) throws IllegalArgumentException, IndexOutOfBoundsException(Code)
Sets the element at the position specified to be the role specified. The previous element at that position is discarded.
Parameters:
  theIndex - - The position specified.
Parameters:
  theRole - - The value to which the role element should be set.
throws:
  java.lang.IllegalArgumentException - - if the role is null.
throws:
  java.lang.IndexOutOfBoundsException - - if accessing with anindex outside of the list.



Methods inherited from java.util.ArrayList
public boolean add(E e)(Code)(Java Doc)
public void add(int index, E element)(Code)(Java Doc)
public boolean addAll(Collection<? extends E> c)(Code)(Java Doc)
public boolean addAll(int index, Collection<? extends E> c)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean contains(Object o)(Code)(Java Doc)
public void ensureCapacity(int minCapacity)(Code)(Java Doc)
public E get(int index)(Code)(Java Doc)
public int indexOf(Object o)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public Iterator<E> iterator()(Code)(Java Doc)
public int lastIndexOf(Object o)(Code)(Java Doc)
public ListIterator<E> listIterator(int index)(Code)(Java Doc)
public ListIterator<E> listIterator()(Code)(Java Doc)
public E remove(int index)(Code)(Java Doc)
public boolean remove(Object o)(Code)(Java Doc)
public boolean removeAll(Collection c)(Code)(Java Doc)
protected void removeRange(int fromIndex, int toIndex)(Code)(Java Doc)
public boolean retainAll(Collection c)(Code)(Java Doc)
public E set(int index, E element)(Code)(Java Doc)
public int size()(Code)(Java Doc)
public List<E> subList(int fromIndex, int toIndex)(Code)(Java Doc)
public Object[] toArray()(Code)(Java Doc)
public T[] toArray(T[] a)(Code)(Java Doc)
public void trimToSize()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.