Class BooleanUnionValueImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.union.UnionValueImpl<T>
-
- io.apicurio.datamodels.models.union.PrimitiveUnionValueImpl<Boolean>
-
- io.apicurio.datamodels.models.union.BooleanUnionValueImpl
-
- All Implemented Interfaces:
BooleanSchemaUnion,BooleanUnionValue,PrimitiveUnionValue<Boolean>,Union,UnionValue<Boolean>,Visitable
public class BooleanUnionValueImpl extends PrimitiveUnionValueImpl<Boolean> implements BooleanUnionValue
-
-
Constructor Summary
Constructors Constructor Description BooleanUnionValueImpl(Boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanasBoolean()SchemaasSchema()booleanisBoolean()booleanisSchema()-
Methods inherited from class io.apicurio.datamodels.models.union.UnionValueImpl
accept, getValue, isEntity, isEntityList, isEntityMap, isList, isMap, setValue, unionValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.datamodels.models.union.Union
isEntity, isEntityList, isEntityMap, unionValue
-
Methods inherited from interface io.apicurio.datamodels.models.union.UnionValue
getValue, isList, isMap, setValue
-
-
-
-
Constructor Detail
-
BooleanUnionValueImpl
public BooleanUnionValueImpl(Boolean value)
-
-
Method Detail
-
isBoolean
public boolean isBoolean()
- Specified by:
isBooleanin interfaceBooleanSchemaUnion
-
asBoolean
public Boolean asBoolean()
- Specified by:
asBooleanin interfaceBooleanSchemaUnion
-
isSchema
public boolean isSchema()
- Specified by:
isSchemain interfaceBooleanSchemaUnion
-
asSchema
public Schema asSchema()
- Specified by:
asSchemain interfaceBooleanSchemaUnion
-
-