Java Doc for SimpleType.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
      javax.management.openmbean.SimpleType

SimpleType
final public class SimpleType extends OpenType implements Serializable(Code)
The SimpleType class is the open type class whose instances describe all open data values which are neither arrays, nor CompositeData CompositeData values, nor TabularData TabularData values. It predefines all its possible instances as static fields, and has no public constructor.

Given a SimpleType instance describing values whose Java class name is className, the internal fields corresponding to the name and description of this SimpleType instance are also set to className. In other words, its methods getClassName, getTypeName and getDescription all return the same string value className.
author:
   Young Yang



Field Summary
final public static  SimpleTypeBIGDECIMAL
     The SimpleType instance describing values whose Java class name is java.math.BigDecimal.
final public static  SimpleTypeBIGINTEGER
     The SimpleType instance describing values whose Java class name is java.math.BigInteger.
final public static  SimpleTypeBOOLEAN
     The SimpleType instance describing values whose Java class name is java.lang.Boolean.
final public static  SimpleTypeBYTE
     The SimpleType instance describing values whose Java class name is java.lang.Byte.
final public static  SimpleTypeCHARACTER
     The SimpleType instance describing values whose Java class name is java.lang.Character.
final public static  SimpleTypeDATE
     The SimpleType instance describing values whose Java class name is java.util.Date.
final public static  SimpleTypeDOUBLE
     The SimpleType instance describing values whose Java class name is java.lang.Double.
final public static  SimpleTypeFLOAT
     The SimpleType instance describing values whose Java class name is java.lang.Float.
final public static  SimpleTypeINTEGER
     The SimpleType instance describing values whose Java class name is java.lang.Integer.
final public static  SimpleTypeLONG
     The SimpleType instance describing values whose Java class name is java.lang.Long.
final public static  SimpleTypeOBJECTNAME
     The SimpleType instance describing values whose Java class name is javax.management.ObjectName.
final public static  SimpleTypeSHORT
     The SimpleType instance describing values whose Java class name is java.lang.Short.
final public static  SimpleTypeSTRING
     The SimpleType instance describing values whose Java class name is java.lang.String.
final public static  SimpleTypeVOID
     The SimpleType instance describing values whose Java class name is java.lang.Void.


Method Summary
public  booleanequals(Object obj)
     Compares the specified obj parameter with this SimpleType instance for equality.

Two SimpleType instances are equal if and only if their OpenType.getClassName getClassName methods return the same value.
Parameters:
  obj - the object to be compared for equality with this SimpleType instance;if obj is null or is not an instance of the class SimpleType,equals returns false.

public  inthashCode()
     Returns the hash code value for this SimpleType instance.
public  booleanisValue(Object obj)
     Tests whether obj is a value for this SimpleType instance.
public static  voidmain(String[] args)
    
public  ObjectreadResolve()
     Replace an object read from an java.io.ObjectInputStream with the unique instance for that value.
public  StringtoString()
     Returns a string representation of this SimpleType instance.

Field Detail
BIGDECIMAL
final public static SimpleType BIGDECIMAL(Code)
The SimpleType instance describing values whose Java class name is java.math.BigDecimal.



BIGINTEGER
final public static SimpleType BIGINTEGER(Code)
The SimpleType instance describing values whose Java class name is java.math.BigInteger.



BOOLEAN
final public static SimpleType BOOLEAN(Code)
The SimpleType instance describing values whose Java class name is java.lang.Boolean.



BYTE
final public static SimpleType BYTE(Code)
The SimpleType instance describing values whose Java class name is java.lang.Byte.



CHARACTER
final public static SimpleType CHARACTER(Code)
The SimpleType instance describing values whose Java class name is java.lang.Character.



DATE
final public static SimpleType DATE(Code)
The SimpleType instance describing values whose Java class name is java.util.Date.



DOUBLE
final public static SimpleType DOUBLE(Code)
The SimpleType instance describing values whose Java class name is java.lang.Double.



FLOAT
final public static SimpleType FLOAT(Code)
The SimpleType instance describing values whose Java class name is java.lang.Float.



INTEGER
final public static SimpleType INTEGER(Code)
The SimpleType instance describing values whose Java class name is java.lang.Integer.



LONG
final public static SimpleType LONG(Code)
The SimpleType instance describing values whose Java class name is java.lang.Long.



OBJECTNAME
final public static SimpleType OBJECTNAME(Code)
The SimpleType instance describing values whose Java class name is javax.management.ObjectName.



SHORT
final public static SimpleType SHORT(Code)
The SimpleType instance describing values whose Java class name is java.lang.Short.



STRING
final public static SimpleType STRING(Code)
The SimpleType instance describing values whose Java class name is java.lang.String.



VOID
final public static SimpleType VOID(Code)
The SimpleType instance describing values whose Java class name is java.lang.Void.





Method Detail
equals
public boolean equals(Object obj)(Code)
Compares the specified obj parameter with this SimpleType instance for equality.

Two SimpleType instances are equal if and only if their OpenType.getClassName getClassName methods return the same value.
Parameters:
  obj - the object to be compared for equality with this SimpleType instance;if obj is null or is not an instance of the class SimpleType,equals returns false. true if the specified object is equal to this SimpleType instance.




hashCode
public int hashCode()(Code)
Returns the hash code value for this SimpleType instance. The hash code of a SimpleType instance is the the hash code of the string value returned by the OpenType.getClassName getClassName method.

As SimpleType instances are immutable, the hash code for this instance is calculated once, on the first call to hashCode, and then the same value is returned for subsequent calls. the hash code value for this SimpleType instance




isValue
public boolean isValue(Object obj)(Code)
Tests whether obj is a value for this SimpleType instance.

This method returns true if and only if obj is not null and obj's class name is the same as the className field defined for this SimpleType instance (ie the class name returned by the OpenType.getClassNamegetClassName method).
Parameters:
  obj - the object to be tested. true if obj is a value for thisSimpleType instance.




main
public static void main(String[] args)(Code)



readResolve
public Object readResolve() throws ObjectStreamException(Code)
Replace an object read from an java.io.ObjectInputStream with the unique instance for that value. the replacement object.
exception:
  ObjectStreamException - if the read object cannot beresolved.



toString
public String toString()(Code)
Returns a string representation of this SimpleType instance.

The string representation consists of the name of this class (ie javax.management.openmbean.SimpleType) and the type name for this instance (which is the java class name of the values this SimpleType instance represents).

As SimpleType instances are immutable, the string representation for this instance is calculated once, on the first call to toString, and then the same value is returned for subsequent calls. a string representation of this SimpleType instance




Fields inherited from javax.management.openmbean.OpenType
final public static String[] ALLOWED_CLASSNAMES(Code)(Java Doc)
final protected static String BIGDECIMAL_CLASSNAME(Code)(Java Doc)
final protected static String BIGINTEGER_CLASSNAME(Code)(Java Doc)
final protected static String BOOLEAN_CLASSNAME(Code)(Java Doc)
final protected static String BYTE_CLASSNAME(Code)(Java Doc)
final protected static String CHARACTER_CLASSNAME(Code)(Java Doc)
final protected static String COMPOSITEDATA_CLASSNAME(Code)(Java Doc)
final protected static String DATE_CLASSNAME(Code)(Java Doc)
final protected static String DOUBLE_CLASSNAME(Code)(Java Doc)
final protected static String FLOAT_CLASSNAME(Code)(Java Doc)
final protected static String INTEGER_CLASSNAME(Code)(Java Doc)
final protected static String LONG_CLASSNAME(Code)(Java Doc)
final protected static String OBJECTNAME_CLASSNAME(Code)(Java Doc)
final protected static String SHORT_CLASSNAME(Code)(Java Doc)
final protected static String STRING_CLASSNAME(Code)(Java Doc)
final protected static String TABULARDATA_CLASSNAME(Code)(Java Doc)
final protected static String VOID_CLASSNAME(Code)(Java Doc)

Methods inherited from javax.management.openmbean.OpenType
abstract public boolean equals(Object obj)(Code)(Java Doc)
public String getClassName()(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public String getTypeName()(Code)(Java Doc)
abstract public int hashCode()(Code)(Java Doc)
public boolean isArray()(Code)(Java Doc)
abstract public boolean isValue(Object obj)(Code)(Java Doc)
abstract public String toString()(Code)(Java Doc)

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.