1 24 package javax.jcr.nodetype; 25 26 import javax.jcr.Value; 27 import javax.jcr.RepositoryException; 28 import javax.jcr.ValueFormatException; 29 30 36 public interface NodeType { 37 38 43 public String getName(); 44 45 51 public boolean isMixin(); 52 53 62 public NodeType[] getSupertypes(); 63 64 73 public NodeType[] getDeclaredSupertypes(); 74 75 83 public PropertyDef[] getPropertyDefs(); 84 85 93 public PropertyDef[] getDeclaredPropertyDefs(); 94 95 103 public NodeDef[] getChildNodeDefs(); 104 105 114 public NodeDef[] getDeclaredChildNodeDefs(); 115 116 124 public boolean canSetProperty(String propertyName, Value value); 125 126 133 public boolean canAddChildNode(String childNodeName); 134 135 145 public boolean canAddChildNode(String childNodeName, String nodeTypeName); 146 147 153 public boolean checkRemoveItem(String itemName); 154 155 156 } | Popular Tags |