|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.QItemDefinitionImpl
public abstract class QItemDefinitionImpl
This abstract class implements the QItemDefinition
interface and additionally provides setter methods for the
various item definition attributes.
| Field Summary | |
|---|---|
static Name |
ANY_NAME
The special wildcard name used as the name of residual item definitions. |
protected int |
hashCode
HashCode of this object |
| Fields inherited from interface org.apache.jackrabbit.spi.QItemDefinition |
|---|
EMPTY_ARRAY |
| Method Summary | |
|---|---|
boolean |
definesResidual()
Determines whether this item definition defines a residual set of child items. |
boolean |
equals(java.lang.Object obj)
Compares two item definitions for equality. |
Name |
getDeclaringNodeType()
Gets the name of the declaring node type. |
Name |
getName()
Gets the name of the child item. |
int |
getOnParentVersion()
Gets the 'onParentVersion' attribute of the item. |
abstract int |
hashCode()
See QNodeDefinition#hashCode() and QPropertyDefinition#hashCode(). |
boolean |
isAutoCreated()
Determines whether the item is 'autoCreated'. |
boolean |
isMandatory()
Determines whether the item is 'mandatory'. |
boolean |
isProtected()
Determines whether the item is 'protected'. |
| 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 |
|---|
definesNode |
| Field Detail |
|---|
public static final Name ANY_NAME
protected transient int hashCode
| Method Detail |
|---|
public Name getDeclaringNodeType()
getDeclaringNodeType in interface QItemDefinitionpublic Name getName()
getName in interface QItemDefinitionpublic boolean isAutoCreated()
isAutoCreated in interface QItemDefinitionpublic int getOnParentVersion()
getOnParentVersion in interface QItemDefinitionpublic boolean isProtected()
isProtected in interface QItemDefinitionpublic boolean isMandatory()
isMandatory in interface QItemDefinitionpublic boolean definesResidual()
definesResidual in interface QItemDefinitiontrue if this definition defines a residual set;
false otherwise.public boolean equals(java.lang.Object obj)
true
if the given object is an item defintion and has the same attributes
as this item definition.
equals in class java.lang.Objectobj - the object to compare this item definition with
true if the object is equal to this item definition,
false otherwiseObject.equals(Object)public abstract int hashCode()
QNodeDefinition#hashCode() and QPropertyDefinition#hashCode().
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||