Class StringListUnionValueImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.union.UnionValueImpl<List<T>>
-
- io.apicurio.datamodels.models.union.ListUnionValueImpl<String>
-
- io.apicurio.datamodels.models.union.StringListUnionValueImpl
-
- All Implemented Interfaces:
ListUnionValue<String>,StringListUnionValue,StringStringListUnion,Union,UnionValue<List<String>>,Visitable
public class StringListUnionValueImpl extends ListUnionValueImpl<String> implements StringListUnionValue
-
-
Constructor Summary
Constructors Constructor Description StringListUnionValueImpl()StringListUnionValueImpl(List<String> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasString()List<String>asStringList()booleanisString()booleanisStringList()-
Methods inherited from class io.apicurio.datamodels.models.union.ListUnionValueImpl
isList
-
Methods inherited from class io.apicurio.datamodels.models.union.UnionValueImpl
accept, getValue, isEntity, isEntityList, isEntityMap, 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
-
-
-
-
Method Detail
-
isString
public boolean isString()
- Specified by:
isStringin interfaceStringStringListUnion
-
asString
public String asString()
- Specified by:
asStringin interfaceStringStringListUnion
-
isStringList
public boolean isStringList()
- Specified by:
isStringListin interfaceStringStringListUnion
-
asStringList
public List<String> asStringList()
- Specified by:
asStringListin interfaceStringStringListUnion
-
-