Java Doc for PropertyType.java in  » 6.0-JDK-Modules » jsr-283 » javax » jcr » 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 » 6.0 JDK Modules » jsr 283 » javax.jcr 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.jcr.PropertyType

PropertyType
final public class PropertyType (Code)
The property types supported by the JCR standard.

This interface defines following property types:

  • STRING
  • BINARY
  • LONG
  • DOUBLE
  • DECIMAL
  • DATE
  • BOOLEAN
  • NAME
  • PATH
  • REFERENCE
  • WEAKREFERENCE
  • URI


Field Summary
final public static  intBINARY
     BINARY properties are used to store binary data.
final public static  intBOOLEAN
     The BOOLEAN property type is used to store boolean values.
final public static  intDATE
     The DATE property type is used to store time and date information.
final public static  intDECIMAL
     The DECIMAL property type is used to store precise decimal numbers.
final public static  intDOUBLE
     The DOUBLE property type is used to store floating point numbers.
final public static  intLONG
     The LONG property type is used to store integers.
final public static  intNAME
     A NAME is a pairing of a namespace and a local name.
final public static  intPATH
     A PATH property is an ordered list of path elements.
final public static  intREFERENCE
     A REFERENCE property stores the identifier of a referenceable node (one having type mix:referenceable), which must exist within the same workspace or session as the REFERENCE property.
final public static  intSTRING
     The STRING property type is used to store strings.
final public static  StringTYPENAME_BINARY
    
final public static  StringTYPENAME_BOOLEAN
    
final public static  StringTYPENAME_DATE
    
final public static  StringTYPENAME_DECIMAL
    
final public static  StringTYPENAME_DOUBLE
    
final public static  StringTYPENAME_LONG
    
final public static  StringTYPENAME_NAME
    
final public static  StringTYPENAME_PATH
    
final public static  StringTYPENAME_REFERENCE
    
final public static  StringTYPENAME_STRING
    
final public static  StringTYPENAME_UNDEFINED
    
final public static  StringTYPENAME_URI
    
final public static  StringTYPENAME_WEAKREFERENCE
    
final public static  intUNDEFINED
     This constant can be used within a property definition (see 4.7.5 Property Definitions) to specify that the property in question may be of any type.
final public static  intURI
     A URI property is identical to STRING property except that it only accepts values that conform to the syntax of a URI-reference as defined in RFC 3986.
final public static  intWEAKREFERENCE
     A WEAKREFERENCE property stores the identifier of a referenceable node (one having type mix:referenceable). A WEAKREFERENCE property does not enforce referential integrity.


Method Summary
public static  StringnameFromValue(int type)
     Returns the name of the specified type, as used in serialization.
public static  intvalueFromName(String name)
     Returns the numeric constant value of the type with the specified name.

Field Detail
BINARY
final public static int BINARY(Code)
BINARY properties are used to store binary data.



BOOLEAN
final public static int BOOLEAN(Code)
The BOOLEAN property type is used to store boolean values. It has the same characteristics as the Java primitive type boolean.



DATE
final public static int DATE(Code)
The DATE property type is used to store time and date information. See 4.2.6.1 Date in the specification.



DECIMAL
final public static int DECIMAL(Code)
The DECIMAL property type is used to store precise decimal numbers. It has the same characteristics as the Java class java.math.BigDecimal.
since:
   JCR 2.0



DOUBLE
final public static int DOUBLE(Code)
The DOUBLE property type is used to store floating point numbers. It has the same characteristics as the Java primitive type double.



LONG
final public static int LONG(Code)
The LONG property type is used to store integers. It has the same characteristics as the Java primitive type long.



NAME
final public static int NAME(Code)
A NAME is a pairing of a namespace and a local name. When read, the namespace is mapped to the current prefix. See 4.2.6.2 Name in the specification.



PATH
final public static int PATH(Code)
A PATH property is an ordered list of path elements. A path element is a NAME with an optional index. When read, the NAMEs within the path are mapped to their current prefix. A path may be absolute or relative. See 4.2.6.3 Path in the specification.



REFERENCE
final public static int REFERENCE(Code)
A REFERENCE property stores the identifier of a referenceable node (one having type mix:referenceable), which must exist within the same workspace or session as the REFERENCE property. A REFERENCE property enforces this referential integrity by preventing (in level 2 implementations) the removal of its target node. See 4.2.6.4 Reference in the specification.



STRING
final public static int STRING(Code)
The STRING property type is used to store strings. It has the same characteristics as the Java String class.



TYPENAME_BINARY
final public static String TYPENAME_BINARY(Code)



TYPENAME_BOOLEAN
final public static String TYPENAME_BOOLEAN(Code)



TYPENAME_DATE
final public static String TYPENAME_DATE(Code)



TYPENAME_DECIMAL
final public static String TYPENAME_DECIMAL(Code)



TYPENAME_DOUBLE
final public static String TYPENAME_DOUBLE(Code)



TYPENAME_LONG
final public static String TYPENAME_LONG(Code)



TYPENAME_NAME
final public static String TYPENAME_NAME(Code)



TYPENAME_PATH
final public static String TYPENAME_PATH(Code)



TYPENAME_REFERENCE
final public static String TYPENAME_REFERENCE(Code)



TYPENAME_STRING
final public static String TYPENAME_STRING(Code)



TYPENAME_UNDEFINED
final public static String TYPENAME_UNDEFINED(Code)



TYPENAME_URI
final public static String TYPENAME_URI(Code)



TYPENAME_WEAKREFERENCE
final public static String TYPENAME_WEAKREFERENCE(Code)



UNDEFINED
final public static int UNDEFINED(Code)
This constant can be used within a property definition (see 4.7.5 Property Definitions) to specify that the property in question may be of any type. However, it cannot be the actual type of any property instance. For example it will never be returned by Property.getType and (in level 2 implementations) it cannot be assigned as the type when creating a new property.



URI
final public static int URI(Code)
A URI property is identical to STRING property except that it only accepts values that conform to the syntax of a URI-reference as defined in RFC 3986. See also 4.2.6.6 URI in the specification.
since:
   JCR 2.0



WEAKREFERENCE
final public static int WEAKREFERENCE(Code)
A WEAKREFERENCE property stores the identifier of a referenceable node (one having type mix:referenceable). A WEAKREFERENCE property does not enforce referential integrity. See 4.2.6.5 Weak Reference in the specification.
since:
   JCR 2.0





Method Detail
nameFromValue
public static String nameFromValue(int type)(Code)
Returns the name of the specified type, as used in serialization.
Parameters:
  type - the property type the name of the specified type
throws:
  IllegalArgumentException - if typeis not a valid property type.



valueFromName
public static int valueFromName(String name)(Code)
Returns the numeric constant value of the type with the specified name.
Parameters:
  name - the name of the property type the numeric constant value
throws:
  IllegalArgumentException - if nameis not a valid property type name.



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.