Java Doc for RawType.java in  » JMX » je » com » sleepycat » persist » raw » 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 » je » com.sleepycat.persist.raw 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sleepycat.persist.raw.RawType

All known Subclasses:   com.sleepycat.persist.impl.Format,
RawType
public interface RawType (Code)
The type definition for a simple or complex persistent type, or an array of persistent types.

RawType objects are thread-safe. Multiple threads may safely call the methods of a shared RawType object.


author:
   Mark Hayes




Method Summary
 StringgetClassName()
     Returns the class name for this type in the format specified by Class.getName .

If this class currently exists (has not been removed or renamed) then the class name may be passed to Class.forName to get the current Class object.

 RawTypegetComponentType()
     Returns the array component type, or null if this is not an array type.
 intgetDimensions()
     Returns the number of array dimensions, or zero if this is not an array type.
 List<String>getEnumConstants()
     Returns an unmodifiable list of the names of the enum instances, or null if this is not an enum type.
 Map<String, RawField>getFields()
     Returns a map of field name to raw field for each non-static non-transient field declared in this class, or null if this is not a complex type (in other words, this is a simple type or an array type).
 RawTypegetSuperType()
     Returns the type of the superclass, or null if the superclass is Object or this is not a complex type (in other words, this is a simple type or an array type).
 intgetVersion()
     Returns the class version for this type.
 booleanisArray()
     Returns whether this is an array type.
 booleanisEnum()
     Returns whether this is an enum type.
 booleanisPrimitive()
     Returns whether this type is a Java primitive: char, byte, short, int, long, float or double.

If true is returned, this is also a simple type.

 booleanisSimple()
    



Method Detail
getClassName
String getClassName()(Code)
Returns the class name for this type in the format specified by Class.getName .

If this class currently exists (has not been removed or renamed) then the class name may be passed to Class.forName to get the current Class object. However, if this raw type is not the current version of the class, this type information may differ from that of the current Class .




getComponentType
RawType getComponentType()(Code)
Returns the array component type, or null if this is not an array type.



getDimensions
int getDimensions()(Code)
Returns the number of array dimensions, or zero if this is not an array type.



getEnumConstants
List<String> getEnumConstants()(Code)
Returns an unmodifiable list of the names of the enum instances, or null if this is not an enum type.



getFields
Map<String, RawField> getFields()(Code)
Returns a map of field name to raw field for each non-static non-transient field declared in this class, or null if this is not a complex type (in other words, this is a simple type or an array type).



getSuperType
RawType getSuperType()(Code)
Returns the type of the superclass, or null if the superclass is Object or this is not a complex type (in other words, this is a simple type or an array type).



getVersion
int getVersion()(Code)
Returns the class version for this type. For simple types, zero is always returned.
See Also:   Entity.version
See Also:   Persistent.version



isArray
boolean isArray()(Code)
Returns whether this is an array type. Raw value arrays are represented as RawObject instances.

If true is returned, the array component type is returned by RawType.getComponentType and the number of array dimensions is returned by RawType.getDimensions .

If false is returned, then this is a complex type, an enum type (see RawType.isEnum ), or a simple type (see RawType.isSimple ).




isEnum
boolean isEnum()(Code)
Returns whether this is an enum type.

If true is returned, a value of this type is a RawObject and the enum constant String is available via RawObject.getEnum .

If false is returned, then this is a complex type, an array type (see RawType.isArray ), or a simple type (see RawType.isSimple ).




isPrimitive
boolean isPrimitive()(Code)
Returns whether this type is a Java primitive: char, byte, short, int, long, float or double.

If true is returned, this is also a simple type. In other words, primitive types are a subset of simple types.

If true is returned, a raw value of this type is represented as a non-null instance of the primitive type's wrapper class. For example, an int raw value is represented as an Integer.




isSimple
boolean isSimple()(Code)



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