Class DefaultKeyField

    • Constructor Detail

      • DefaultKeyField

        public DefaultKeyField​(@NonNull
                               MetapathExpression target,
                               @Nullable
                               Pattern pattern,
                               @Nullable
                               MarkupMultiline remarks)
        Construct a new key field based on the provided target. An optional pattern can be used to extract a portion of the resulting key value.
        Parameters:
        target - a Metapath expression identifying the target of the key field
        pattern - an optional used to extract a portion of the resulting key value
        remarks - optional remarks describing the intent of the constraint