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


javax.jcr.nodetype.NodeType

NodeType
public interface NodeType extends NodeTypeDefinition(Code)
A NodeType object represents a "live" node type that is registered in the repository.




Method Summary
public  booleancanAddChildNode(String childNodeName)
     Returns true if this node type allows the addition of a child node called childNodeName without specific node type information (that is, given the definition of this parent node type, the child node name is sufficient to determine the intended child node type). Returns false otherwise.
Parameters:
  childNodeName - The name of the child node.
public  booleancanAddChildNode(String childNodeName, String nodeTypeName)
     Returns true if this node type allows the addition of a child node called childNodeName of node type nodeTypeName.
public  booleancanRemoveItem(String itemName)
     Returns true if removing the child item called itemName is allowed by this node type.
public  booleancanRemoveNode(String nodeName)
     Returns true if removing the child node called nodeName is allowed by this node type.
public  booleancanRemoveProperty(String propertyName)
     Returns true if removing the property called propertyName is allowed by this node type.
public  booleancanSetProperty(String propertyName, Value value)
     Returns true if setting propertyName to value is allowed by this node type.
public  booleancanSetProperty(String propertyName, Value[] values)
     Returns true if setting propertyName to values is allowed by this node type.
public  NodeDefinition[]getChildNodeDefinitions()
     Returns an array containing the child node definitions of this node type.
public  NodeType[]getDeclaredSupertypes()
     Returns the direct supertypes of this node type in the node type inheritance hierarchy, that is, those actually declared in this node type.
public  PropertyDefinition[]getPropertyDefinitions()
     Returns an array containing the property definitions of this node type.
public  NodeType[]getSupertypes()
     Returns all supertypes of this node type in the node type inheritance hierarchy. For primary types apart from nt:base, this list will always include at least nt:base.
public  booleanisNodeType(String nodeTypeName)
     Returns true if this node type is nodeTypeName or a subtype of nodeTypeName, otherwise returns false.
Parameters:
  nodeTypeName - the name of a node type.



Method Detail
canAddChildNode
public boolean canAddChildNode(String childNodeName)(Code)
Returns true if this node type allows the addition of a child node called childNodeName without specific node type information (that is, given the definition of this parent node type, the child node name is sufficient to determine the intended child node type). Returns false otherwise.
Parameters:
  childNodeName - The name of the child node. a boolean



canAddChildNode
public boolean canAddChildNode(String childNodeName, String nodeTypeName)(Code)
Returns true if this node type allows the addition of a child node called childNodeName of node type nodeTypeName. Returns false otherwise.
Parameters:
  childNodeName - The name of the child node.
Parameters:
  nodeTypeName - The name of the node type of the child node. a boolean



canRemoveItem
public boolean canRemoveItem(String itemName)(Code)
Returns true if removing the child item called itemName is allowed by this node type. Returns false otherwise. NodeType.canRemoveNode(String)NodeType.canRemoveProperty(String)
Parameters:
  itemName - The name of the child item a boolean



canRemoveNode
public boolean canRemoveNode(String nodeName)(Code)
Returns true if removing the child node called nodeName is allowed by this node type. Returns false otherwise.
Parameters:
  nodeName - The name of the child node a boolean
since:
   JCR 2.0



canRemoveProperty
public boolean canRemoveProperty(String propertyName)(Code)
Returns true if removing the property called propertyName is allowed by this node type. Returns false otherwise.
Parameters:
  propertyName - The name of the property a boolean
since:
   JCR 2.0



canSetProperty
public boolean canSetProperty(String propertyName, Value value)(Code)
Returns true if setting propertyName to value is allowed by this node type. Otherwise returns false.
Parameters:
  propertyName - The name of the property
Parameters:
  value - A Value object. a boolean



canSetProperty
public boolean canSetProperty(String propertyName, Value[] values)(Code)
Returns true if setting propertyName to values is allowed by this node type. Otherwise returns false.
Parameters:
  propertyName - The name of the property
Parameters:
  values - A Value array. a boolean



getChildNodeDefinitions
public NodeDefinition[] getChildNodeDefinitions()(Code)
Returns an array containing the child node definitions of this node type. This includes both those child node definitions actually declared in this node type and those inherited from the supertypes of this node type.
See Also:   NodeType.getDeclaredChildNodeDefinitions() an array containing the child node definitions.



getDeclaredSupertypes
public NodeType[] getDeclaredSupertypes()(Code)
Returns the direct supertypes of this node type in the node type inheritance hierarchy, that is, those actually declared in this node type. In single-inheritance systems, this will always be an array of size 0 or 1. In systems that support multiple inheritance of node types this array may be of size greater than 1.
See Also:   NodeType.getSupertypes an array of NodeType objects.



getPropertyDefinitions
public PropertyDefinition[] getPropertyDefinitions()(Code)
Returns an array containing the property definitions of this node type. This includes both those property definitions actually declared in this node type and those inherited from the supertypes of this type.
See Also:   NodeType.getDeclaredPropertyDefinitions() an array containing the property definitions.



getSupertypes
public NodeType[] getSupertypes()(Code)
Returns all supertypes of this node type in the node type inheritance hierarchy. For primary types apart from nt:base, this list will always include at least nt:base. For mixin types, there is no required supertype.
See Also:   NodeType.getDeclaredSupertypes an array of NodeType objects.



isNodeType
public boolean isNodeType(String nodeTypeName)(Code)
Returns true if this node type is nodeTypeName or a subtype of nodeTypeName, otherwise returns false.
Parameters:
  nodeTypeName - the name of a node type. a boolean



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