Class NegativeConstraint

    • Constructor Detail

      • NegativeConstraint

        public NegativeConstraint()
    • Method Detail

      • getDocumentation

        public Documentation getDocumentation()
        Returns:
        documentation meta data about this constraint
      • isOK

        protected boolean isOK​(java.math.BigDecimal bigDecimal)
      • appliesToType

        public boolean appliesToType​(graphql.schema.GraphQLInputType inputType)
        Description copied from class: AbstractDirectiveConstraint
        A derived class will be called to indicate whether this input type applies to the constraint
        Specified by:
        appliesToType in class AbstractDirectiveConstraint
        Parameters:
        inputType - the input type
        Returns:
        true if the constraint can handle that type
      • getApplicableTypes

        public java.util.List<graphql.schema.GraphQLScalarType> getApplicableTypes()