Class RestrictionDefinitionImpl

    • Constructor Detail

      • RestrictionDefinitionImpl

        public RestrictionDefinitionImpl​(@NotNull
                                         @NotNull String name,
                                         Type<?> type,
                                         boolean isMandatory)
        Create a new instance.
        Parameters:
        name - The oak name of the restriction definition.
        type - The required type of this definition. Any valid JCR PropertyType except PropertyType.UNDEFINED is allowed.
        isMandatory - A boolean indicating if the restriction is mandatory.