Interface EffectiveNodeType
@ProviderType
public interface EffectiveNodeType
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkMandatoryItems
(@NotNull Tree tree) void
void
checkRemoveProperty
(@NotNull PropertyState property) void
checkSetProperty
(@NotNull PropertyState property) @NotNull Iterable<NodeDefinition>
@NotNull Iterable<PropertyDefinition>
@NotNull Iterable<NodeDefinition>
@NotNull Iterable<PropertyDefinition>
@NotNull Iterable<NodeDefinition>
getNamedNodeDefinitions
(@NotNull String oakName) @NotNull Iterable<PropertyDefinition>
getNamedPropertyDefinitions
(@NotNull String oakName) @NotNull NodeDefinition
getNodeDefinition
(@NotNull String childName, @Nullable EffectiveNodeType childEffective) @NotNull Iterable<NodeDefinition>
@NotNull PropertyDefinition
getPropertyDefinition
(@NotNull String propertyName, boolean isMultiple, int type, boolean exactTypeMatch) @Nullable PropertyDefinition
getPropertyDefinition
(@NotNull String name, int type, boolean unknownMultiple) @NotNull Iterable<PropertyDefinition>
@NotNull Iterable<NodeDefinition>
@NotNull Iterable<PropertyDefinition>
boolean
includesNodeType
(@NotNull String nodeTypeName) boolean
includesNodeTypes
(@NotNull String[] nodeTypeNames) boolean
supportsMixin
(@NotNull String mixin)
-
Method Details
-
includesNodeType
-
includesNodeTypes
-
supportsMixin
-
getNodeDefinitions
-
getPropertyDefinitions
-
getAutoCreateNodeDefinitions
-
getAutoCreatePropertyDefinitions
-
getMandatoryNodeDefinitions
-
getMandatoryPropertyDefinitions
-
getNamedNodeDefinitions
@NotNull @NotNull Iterable<NodeDefinition> getNamedNodeDefinitions(@NotNull @NotNull String oakName) -
getNamedPropertyDefinitions
@NotNull @NotNull Iterable<PropertyDefinition> getNamedPropertyDefinitions(@NotNull @NotNull String oakName) -
getResidualNodeDefinitions
-
getResidualPropertyDefinitions
-
checkSetProperty
- Throws:
RepositoryException
-
checkRemoveProperty
- Throws:
RepositoryException
-
checkMandatoryItems
- Throws:
ConstraintViolationException
-
checkOrderableChildNodes
-
getPropertyDefinition
@NotNull @NotNull PropertyDefinition getPropertyDefinition(@NotNull @NotNull String propertyName, boolean isMultiple, int type, boolean exactTypeMatch) throws ConstraintViolationException - Throws:
ConstraintViolationException
-
getPropertyDefinition
@Nullable @Nullable PropertyDefinition getPropertyDefinition(@NotNull @NotNull String name, int type, boolean unknownMultiple) -
getNodeDefinition
@NotNull @NotNull NodeDefinition getNodeDefinition(@NotNull @NotNull String childName, @Nullable @Nullable EffectiveNodeType childEffective) throws ConstraintViolationException - Throws:
ConstraintViolationException
-