Interface EffectiveNodeTypeItem
-
- All Known Subinterfaces:
EffectiveNodeTypeChild
,EffectiveNodeTypeProperty
public interface EffectiveNodeTypeItem
Represents the common characteristics shared between theEffectiveNodeTypeChild
andEffectiveNodeTypeProperty
sub types.- See Also:
ItemDefinition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDefiningType()
String
getName()
String
getType()
boolean
isAutoCreated()
boolean
isMandatory()
boolean
isMultiple()
boolean
isProtected()
boolean
isResidual()
-
-
-
Method Detail
-
getName
String getName()
- Returns:
- A qualified JCR Item definition name or "*" when this Item represents a residual definition
- See Also:
ItemDefinition.getName()
-
getDefiningType
String getDefiningType()
- Returns:
- The NodeType name which defines this item, which not necessarily is the same as the containing (aggregated or effective) NodeType.
- See Also:
ItemDefinition.getDeclaringNodeType()
-
getType
String getType()
- Returns:
- The type of this item, corresponding to a Property item requiredType or the list of required primary type names as [
,...] for a Child item
-
isResidual
boolean isResidual()
- Returns:
- True if this item represents a residual child or property definition (when name == "*")
-
isMultiple
boolean isMultiple()
- Returns:
- True for a multi-valued Property or same-name-sibling allowing Child definition
- See Also:
PropertyDefinition.isMultiple()
,NodeDefinition.allowsSameNameSiblings()
-
isMandatory
boolean isMandatory()
- Returns:
- True if this item is required
- See Also:
ItemDefinition.isMandatory()
-
isAutoCreated
boolean isAutoCreated()
- Returns:
- True if this item is autoCreated
- See Also:
ItemDefinition.isAutoCreated()
-
isProtected
boolean isProtected()
- Returns:
- True if this item is protected
- See Also:
ItemDefinition.isProtected()
-
-