Package com.ibm.fhir.model.builder
Class AbstractBuilder<T>
- java.lang.Object
-
- com.ibm.fhir.model.builder.AbstractBuilder<T>
-
- All Implemented Interfaces:
Builder<T>
- Direct Known Subclasses:
Element.Builder
,Resource.Builder
public abstract class AbstractBuilder<T> extends java.lang.Object implements Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
validating
-
Constructor Summary
Constructors Constructor Description AbstractBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract T
build()
boolean
isValidating()
Indicates whether this builder is a validating buildervoid
setValidating(boolean validating)
Set the validating builder indicator for this builder
-
-
-
Method Detail
-
setValidating
public void setValidating(boolean validating)
Set the validating builder indicator for this builderA validating builder may perform basic validation during object construction (e.g. cardinality checking, type checking, etc.)
- Parameters:
validating
- the validating builder indicator
-
isValidating
public boolean isValidating()
Indicates whether this builder is a validating builder- Returns:
- true if this builder is a validating builder, false otherwise
-
-