Class QItemDefinitionImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.QItemDefinitionImpl
-
- All Implemented Interfaces:
Serializable,org.apache.jackrabbit.spi.QItemDefinition
- Direct Known Subclasses:
QNodeDefinitionImpl,QPropertyDefinitionImpl
public abstract class QItemDefinitionImpl extends Object implements org.apache.jackrabbit.spi.QItemDefinition, Serializable
This abstract class implements theQItemDefinitioninterface and additionally provides setter methods for the various item definition attributes.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected inthashCodeHashCode of this object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandefinesResidual()booleanequals(Object obj)Compares two item definitions for equality.org.apache.jackrabbit.spi.NamegetDeclaringNodeType()org.apache.jackrabbit.spi.NamegetName()intgetOnParentVersion()inthashCode()booleanisAutoCreated()booleanisMandatory()booleanisProtected()
-
-
-
Method Detail
-
getDeclaringNodeType
public org.apache.jackrabbit.spi.Name getDeclaringNodeType()
- Specified by:
getDeclaringNodeTypein interfaceorg.apache.jackrabbit.spi.QItemDefinition
-
getName
public org.apache.jackrabbit.spi.Name getName()
- Specified by:
getNamein interfaceorg.apache.jackrabbit.spi.QItemDefinition
-
isAutoCreated
public boolean isAutoCreated()
- Specified by:
isAutoCreatedin interfaceorg.apache.jackrabbit.spi.QItemDefinition
-
getOnParentVersion
public int getOnParentVersion()
- Specified by:
getOnParentVersionin interfaceorg.apache.jackrabbit.spi.QItemDefinition
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceorg.apache.jackrabbit.spi.QItemDefinition
-
isMandatory
public boolean isMandatory()
- Specified by:
isMandatoryin interfaceorg.apache.jackrabbit.spi.QItemDefinition
-
definesResidual
public boolean definesResidual()
- Specified by:
definesResidualin interfaceorg.apache.jackrabbit.spi.QItemDefinition
-
equals
public boolean equals(Object obj)
Compares two item definitions for equality. Returnstrueif the given object is an item definition and has the same attributes as this item definition.- Overrides:
equalsin classObject- Parameters:
obj- the object to compare this item definition with- Returns:
trueif the object is equal to this item definition,falseotherwise- See Also:
Object.equals(Object)
-
-