|
||||||||||
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 | |
---|---|
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(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 |
---|
protected transient int hashCode
Method Detail |
---|
public Name getDeclaringNodeType()
getDeclaringNodeType
in interface QItemDefinition
public Name getName()
getName
in interface QItemDefinition
public boolean isAutoCreated()
isAutoCreated
in interface QItemDefinition
public int getOnParentVersion()
getOnParentVersion
in interface QItemDefinition
public boolean isProtected()
isProtected
in interface QItemDefinition
public boolean isMandatory()
isMandatory
in interface QItemDefinition
public boolean definesResidual()
definesResidual
in interface QItemDefinition
true
if this definition defines a residual set;
false
otherwise.public boolean equals(Object obj)
true
if the given object is an item defintion and has the same attributes
as this item definition.
equals
in class Object
obj
- 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 Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |