|
||||||||||
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.QPropertyDefinitionImpl
public class QPropertyDefinitionImpl
This class implements the QPropertyDefinition
interface and additionally
provides setter methods for the various property definition attributes.
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.spi2dav.QItemDefinitionImpl |
---|
ANY_NAME, hashCode |
Fields inherited from interface org.apache.jackrabbit.spi.QPropertyDefinition |
---|
EMPTY_ARRAY |
Method Summary | |
---|---|
boolean |
definesNode()
Determines whether this item definition defines a node. |
boolean |
equals(Object obj)
Compares two property definitions for equality. |
String[] |
getAvailableQueryOperators()
Returns the availabe query operators. |
QValue[] |
getDefaultValues()
Returns the array of default values or null if no default
values are defined. |
int |
getRequiredType()
Returns the required type. |
QValueConstraint[] |
getValueConstraints()
Returns the array of value constraints. |
int |
hashCode()
Overwrites QItemDefinitionImpl.hashCode() . |
boolean |
isFullTextSearchable()
Reports whether this property definition is full text searchable. |
boolean |
isMultiple()
Reports whether this property can have multiple values. |
boolean |
isQueryOrderable()
Reports whether this property definition is query-orderable. |
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 int getRequiredType()
getRequiredType
in interface QPropertyDefinition
public QValueConstraint[] getValueConstraints()
getValueConstraints
in interface QPropertyDefinition
public QValue[] getDefaultValues()
null
if no default
values are defined.
getDefaultValues
in interface QPropertyDefinition
null
public boolean isMultiple()
isMultiple
in interface QPropertyDefinition
public String[] getAvailableQueryOperators()
getAvailableQueryOperators
in interface QPropertyDefinition
public boolean isFullTextSearchable()
isFullTextSearchable
in interface QPropertyDefinition
true
if this property definition is full text searchable.public boolean isQueryOrderable()
isQueryOrderable
in interface QPropertyDefinition
true
if this property definition is query-orderable.public boolean definesNode()
definesNode
in interface QItemDefinition
false
public boolean equals(Object obj)
true
if the given object is a property defintion and has the same attributes
as this property definition.
equals
in class QItemDefinitionImpl
obj
- the object to compare this property definition with
true
if the object is equal to this property 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 |