Interface ICombinedSchema

  • All Known Implementing Classes:
    CombinedSchema

    public interface ICombinedSchema
    Interface for anyOf, allOf, oneOf as per JSON schema specification
    • Method Detail

      • getType

        CombinedSchemaType getType()
        Returns the type of combined schema (i.e. AnyOf or AllOf or OneOf)
        Returns:
      • addSchema

        void addSchema​(IAsset schema)
                throws DermisException
        Adds the given schema to list of schemas already present in the combination
        Parameters:
        schema -
        Throws:
        DermisException
      • getSchemas

        java.util.List<IAsset> getSchemas()
        Returns the list of schemas for this combination
        Returns: