All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.fhir.model.builder.AbstractBuilder Maven / Gradle / Ivy

/*
 * (C) Copyright IBM Corp. 2019, 2021
 *
 * SPDX-License-Identifier: Apache-2.0
 */

package com.ibm.fhir.model.builder;

public abstract class AbstractBuilder implements Builder {
    protected boolean validating = true;

    /**
     * Set the validating builder indicator for this builder
     *
     * 

A validating builder may perform basic validation during object construction (e.g. cardinality checking, type checking, etc.) * * @param validating * the validating builder indicator */ public void setValidating(boolean validating) { this.validating = validating; } /** * Indicates whether this builder is a validating builder * * @return * true if this builder is a validating builder, false otherwise */ public boolean isValidating() { return validating; } @Override public abstract T build(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy