|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface NodeType
Declare a JSR-170 node type. This indicates that this class or interface also defines a JSR-170 node type. Properties and child nodes are indicated by marking up the methods that return (i.e. getters) the data to be stored in the repository. The node type automatically gets orderable children and properties.
| Optional Element Summary | |
|---|---|
java.lang.String[] |
mixin
Optional array of mixin node type names. |
java.lang.String |
name
The name of the JSR-170 node type to create. |
boolean |
registerNodeType
Optional indication if the node type should be (re)registered in the JCR |
java.lang.String |
supertype
The supertype of this node type. |
public abstract java.lang.String name
public abstract java.lang.String supertype
public abstract java.lang.String[] mixin
public abstract boolean registerNodeType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||