|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.spi2dav.QItemDefinitionImpl
org.apache.jackrabbit.spi2dav.QNodeDefinitionImpl
public class QNodeDefinitionImpl
This class implements the QNodeDefinition
interface and additionally
provides setter methods for the various node definition attributes.
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.spi2dav.QItemDefinitionImpl |
---|
ANY_NAME, hashCode |
Fields inherited from interface org.apache.jackrabbit.spi.QNodeDefinition |
---|
EMPTY_ARRAY |
Method Summary | |
---|---|
boolean |
allowsSameNameSiblings()
Reports whether this node can have same-name siblings. |
boolean |
definesNode()
Determines whether this item definition defines a node. |
boolean |
equals(Object obj)
Compares two node definitions for equality. |
Name |
getDefaultPrimaryType()
Returns the name of the default primary type. |
Name[] |
getRequiredPrimaryTypes()
Returns the array of names of the required primary types. |
int |
hashCode()
Overwrites QItemDefinitionImpl.hashCode() . |
Methods inherited from class org.apache.jackrabbit.spi2dav.QItemDefinitionImpl |
---|
definesResidual, getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jackrabbit.spi.QItemDefinition |
---|
definesResidual, getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected |
Method Detail |
---|
public Name getDefaultPrimaryType()
getDefaultPrimaryType
in interface QNodeDefinition
public Name[] getRequiredPrimaryTypes()
getRequiredPrimaryTypes
in interface QNodeDefinition
public boolean allowsSameNameSiblings()
allowsSameNameSiblings
in interface QNodeDefinition
public boolean definesNode()
definesNode
in interface QItemDefinition
true
public boolean equals(Object obj)
true
if the given object is a node defintion and has the same attributes
as this node definition.
equals
in class QItemDefinitionImpl
obj
- the object to compare this node definition with
true
if the object is equal to this node definition,
false
otherwiseObject.equals(Object)
public int hashCode()
QItemDefinitionImpl.hashCode()
.
hashCode
in class QItemDefinitionImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |