Java Doc for TabularData.java in  » EJB-Server-JBoss-4.2.1 » jmx » javax » management » openmbean » 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 » EJB Server JBoss 4.2.1 » jmx » javax.management.openmbean 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.management.openmbean.TabularData

All known Subclasses:   javax.management.openmbean.TabularDataSupport,
TabularData
public interface TabularData (Code)
An Open Data Type for tabular data structures.


See Also:   TabularDataSupport
author:
   Adrian Brock.
version:
   $Revision: 57200 $





Method Summary
 Object[]calculateIndex(CompositeData value)
     Calculate the index for the value passed if it were added to the tabular data.
 voidclear()
    
 booleancontainsKey(Object[] key)
     Determine whether the tabular data contains the passed value as a row.
 booleancontainsValue(CompositeData value)
     Determine whether the tabular data contains the passed value.
 booleanequals(Object obj)
    
 CompositeDataget(Object[] key)
     Retrieve the composite data for the passed index.
 TabularTypegetTabularType()
    
 inthashCode()
    
 booleanisEmpty()
     Determine whether the tabular data is empty.
 SetkeySet()
     Returns a set view of the index values.
 voidput(CompositeData value)
     Add a value to the tabular data.
 voidputAll(CompositeData[] values)
     Add all the passed values.
 CompositeDataremove(Object[] key)
     Removes the value for the passed and returns the removed value, or null if the key was not present.
 intsize()
     Retrieve the number of rows in the tabular data.
 StringtoString()
    
 Collectionvalues()
     Returns a set view of the row values.



Method Detail
calculateIndex
Object[] calculateIndex(CompositeData value)(Code)
Calculate the index for the value passed if it were added to the tabular data. The validity of the passed value is checked. But the tabular data isn't checked to see whether the index is already used.
Parameters:
  value - the value for which the index is calculated. the calculated index
exception:
  NullPointerException - for a null value
exception:
  InvalidOpenTypeException - when the passed value is notvalid for the tabular data's row type.



clear
void clear()(Code)
Removes all CompositeData values from the Tabular Data



containsKey
boolean containsKey(Object[] key)(Code)
Determine whether the tabular data contains the passed value as a row. If the passed value is null or invalid, false is returned.
Parameters:
  key - the value to check true when the value is a row index, false otherwise



containsValue
boolean containsValue(CompositeData value)(Code)
Determine whether the tabular data contains the passed value. If the passed value is null or invalid, false is returned.
Parameters:
  value - the value to check true when the value is a row index, false otherwise



equals
boolean equals(Object obj)(Code)
Tests whether two tabular data objects are equal

The object is non-null
The object implements this interface
The row types are equal
The index to value mappings are equal
Parameters:
  obj - the object to test true when the above conditions are satisfied, false otherwise.




get
CompositeData get(Object[] key)(Code)
Retrieve the composite data for the passed index.
Parameters:
  key - the index to retrieve
exception:
  NullPointerException - when the passed key is null
exception:
  InvalidKeyException - when the passed key does matchthe row type of the tabular data.



getTabularType
TabularType getTabularType()(Code)
Retrieve the tabular type for this tabular data the tabular type



hashCode
int hashCode()(Code)
Generates a hashcode for the implementation.

The sum of the hashCodes for the elements mentioned in the equals method the calculated hashcode




isEmpty
boolean isEmpty()(Code)
Determine whether the tabular data is empty. true when there are no rows, false otherwise



keySet
Set keySet()(Code)
Returns a set view of the index values. the set of index values.



put
void put(CompositeData value)(Code)
Add a value to the tabular data. The value must have the same CompositeType has the tabular data and there is no value already occupying the index for the value.
Parameters:
  value - the value to add
exception:
  NullPointerException - when the passed value is null
exception:
  InvalidOpenTypeException - when the value is not valid forthe row type of the tabular data
exception:
  KeyAlreadyExistsException - when the index for the valueis already occupied.



putAll
void putAll(CompositeData[] values)(Code)
Add all the passed values. All the values are checked before addition including any duplicates that might be added. Either all or no value is added.
Parameters:
  values - the values to add
exception:
  NullPointerException - when the passed values is null oran element of the values is null
exception:
  InvalidOpenTypeException - when one of value is not valid forthe row type of the tabular data
exception:
  KeyAlreadyExistsException - when the index for one of the valuesis already occupied.



remove
CompositeData remove(Object[] key)(Code)
Removes the value for the passed and returns the removed value, or null if the key was not present.
Parameters:
  key - the index of the value to remove
exception:
  NullPointerException - when the passed key is null
exception:
  InvalidKeyException - when the key is not valid for the tabular data



size
int size()(Code)
Retrieve the number of rows in the tabular data. the number of rows.



toString
String toString()(Code)
A string representation of the open mbean operation info.

It is made up of implementation class and the values mentioned in the equals method the string




values
Collection values()(Code)
Returns a set view of the row values. the set of row values.



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