Java Doc for OpenType.java in  » JMX » jfoxmx » 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 » JMX » jfoxmx » javax.management.openmbean 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.management.openmbean.OpenType

All known Subclasses:   javax.management.openmbean.CompositeType,  javax.management.openmbean.ArrayType,  javax.management.openmbean.SimpleType,  javax.management.openmbean.TabularType,
OpenType
abstract public class OpenType implements Serializable(Code)
The OpenType class is the parent abstract class of all classes which describe the actual open type of open data values.

An open type is defined by:

  • the fully qualified Java class name of the open data values this type describes; note that only a limited set of Java classes is allowed for open data values (see OpenType.ALLOWED_CLASSNAMES ALLOWED_CLASSNAMES ),
  • its name,
  • its description.

author:
   Young Yang


Field Summary
final public static  String[]ALLOWED_CLASSNAMES
     List of the fully qualified names of the Java classes allowed for open data values.
final protected static  StringBIGDECIMAL_CLASSNAME
    
final protected static  StringBIGINTEGER_CLASSNAME
    
final protected static  StringBOOLEAN_CLASSNAME
    
final protected static  StringBYTE_CLASSNAME
    
final protected static  StringCHARACTER_CLASSNAME
    
final protected static  StringCOMPOSITEDATA_CLASSNAME
    
final protected static  StringDATE_CLASSNAME
    
final protected static  StringDOUBLE_CLASSNAME
    
final protected static  StringFLOAT_CLASSNAME
    
final protected static  StringINTEGER_CLASSNAME
    
final protected static  StringLONG_CLASSNAME
    
final protected static  StringOBJECTNAME_CLASSNAME
    
final protected static  StringSHORT_CLASSNAME
    
final protected static  StringSTRING_CLASSNAME
    
final protected static  StringTABULARDATA_CLASSNAME
    
final protected static  StringVOID_CLASSNAME
    

Constructor Summary
protected  OpenType(String className, String typeName, String description)
     Constructs an OpenType instance (actually a subclass instance as OpenType is abstract), checking for the validity of the given parameters.

Method Summary
abstract public  booleanequals(Object obj)
     Compares the specified obj parameter with this open type instance for equality.
Parameters:
  obj - the object to compare to.
public  StringgetClassName()
     Returns the fully qualified Java class name of the open data values this open type describes.
public  StringgetDescription()
     Returns the text description of this OpenType instance.
public  StringgetTypeName()
     Returns the name of this OpenType instance.
abstract public  inthashCode()
    
public  booleanisArray()
     Returns true if the open data values this open type describes are arrays, false otherwise.
abstract public  booleanisValue(Object obj)
     Tests whether obj is a value for this open type.
Parameters:
  obj - the object to be tested for validity.
abstract public  StringtoString()
     Returns a string representation of this open type instance.

Field Detail
ALLOWED_CLASSNAMES
final public static String[] ALLOWED_CLASSNAMES(Code)
List of the fully qualified names of the Java classes allowed for open data values. A multidimensional array of any one of these classes is also an allowed for open data values.
ALLOWED_CLASSNAMES = {
 "java.lang.Void",
 "java.lang.Boolean",
 "java.lang.Character",
 "java.lang.Byte",
 "java.lang.Short",
 "java.lang.Integer",
 "java.lang.Long",
 "java.lang.Float",
 "java.lang.Double",
 "java.lang.String",
 "java.math.BigDecimal",
 "java.math.BigInteger",
 "java.util.Date",
 "javax.management.ObjectName",
 CompositeData.class.getNameSpace(),
 TabularData.class.getNameSpace() } ;
 



BIGDECIMAL_CLASSNAME
final protected static String BIGDECIMAL_CLASSNAME(Code)



BIGINTEGER_CLASSNAME
final protected static String BIGINTEGER_CLASSNAME(Code)



BOOLEAN_CLASSNAME
final protected static String BOOLEAN_CLASSNAME(Code)



BYTE_CLASSNAME
final protected static String BYTE_CLASSNAME(Code)



CHARACTER_CLASSNAME
final protected static String CHARACTER_CLASSNAME(Code)



COMPOSITEDATA_CLASSNAME
final protected static String COMPOSITEDATA_CLASSNAME(Code)



DATE_CLASSNAME
final protected static String DATE_CLASSNAME(Code)



DOUBLE_CLASSNAME
final protected static String DOUBLE_CLASSNAME(Code)



FLOAT_CLASSNAME
final protected static String FLOAT_CLASSNAME(Code)



INTEGER_CLASSNAME
final protected static String INTEGER_CLASSNAME(Code)



LONG_CLASSNAME
final protected static String LONG_CLASSNAME(Code)



OBJECTNAME_CLASSNAME
final protected static String OBJECTNAME_CLASSNAME(Code)



SHORT_CLASSNAME
final protected static String SHORT_CLASSNAME(Code)



STRING_CLASSNAME
final protected static String STRING_CLASSNAME(Code)



TABULARDATA_CLASSNAME
final protected static String TABULARDATA_CLASSNAME(Code)



VOID_CLASSNAME
final protected static String VOID_CLASSNAME(Code)




Constructor Detail
OpenType
protected OpenType(String className, String typeName, String description) throws OpenDataException(Code)
Constructs an OpenType instance (actually a subclass instance as OpenType is abstract), checking for the validity of the given parameters. The validity constraints are described below for each parameter.
 
Parameters:
  className - The fully qualified Java class name of the open data values this open type describes.The valid Java class names allowed for open data values are listed inOpenType.ALLOWED_CLASSNAMES ALLOWED_CLASSNAMES.A multidimensional array of any one of these classes is also an allowed class,in which case the class name follows the rules defined by the method getNameSpace of java.lang.Class.For example, a 3-dimensional array of Strings has for class name"[[[Ljava.lang.String;" (without the quotes).
 
Parameters:
  typeName - The name given to the open type this instance represents; cannot be a null or empty string.
 
Parameters:
  description - The human readable description of the open type this instance represents;cannot be a null or empty string.
 
throws:
  IllegalArgumentException - if className, typeName or descriptionis a null or empty string
 
throws:
  OpenDataException - if className is not one of the allowed Java class names for open data




Method Detail
equals
abstract public boolean equals(Object obj)(Code)
Compares the specified obj parameter with this open type instance for equality.
Parameters:
  obj - the object to compare to. true if this object and obj are equal.



getClassName
public String getClassName()(Code)
Returns the fully qualified Java class name of the open data values this open type describes. The only possible Java class names for open data values are listed in OpenType.ALLOWED_CLASSNAMES ALLOWED_CLASSNAMES . A multidimensional array of any one of these classes is also an allowed class, in which case the class name follows the rules defined by the method getNameSpace of java.lang.Class. For example, a 3-dimensional array of Strings has for class name "[[[Ljava.lang.String;" (without the quotes). the class name.



getDescription
public String getDescription()(Code)
Returns the text description of this OpenType instance. the description.



getTypeName
public String getTypeName()(Code)
Returns the name of this OpenType instance. the type name.



hashCode
abstract public int hashCode()(Code)



isArray
public boolean isArray()(Code)
Returns true if the open data values this open type describes are arrays, false otherwise. true if this is an array type.



isValue
abstract public boolean isValue(Object obj)(Code)
Tests whether obj is a value for this open type.
Parameters:
  obj - the object to be tested for validity. true if obj is a value for thisopen type, false otherwise.



toString
abstract public String toString()(Code)
Returns a string representation of this open type instance. the string representation.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.