Class DecimalMaxConstraint

    • Constructor Detail

      • DecimalMaxConstraint

        public DecimalMaxConstraint()
    • Method Detail

      • getDocumentation

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

        protected boolean isOK​(boolean inclusive,
                               int comparisonResult)
      • getApplicableTypes

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

        protected 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