Package pl.metaprogramming.model.data
Class ArrayType
-
-
Field Summary
Fields Modifier and Type Field Description private DataSchemaitemsSchemaprivate IntegerminItemsprivate IntegermaxItemsprivate BooleanuniqueItemsprivate final BooleanisEnumprivate final BooleanisEnumOrItemEnumprivate final BooleanisObjectprivate final BooleanisBinaryprivate final BooleanisArrayprivate final BooleanisMapprivate final ArrayTypearrayTypeprivate final MapTypemapTypeprivate final ObjectTypeobjectTypeprivate final EnumTypeenumTypeprivate final DataTypeCodetypeCode
-
Constructor Summary
Constructors Constructor Description ArrayType(DataSchema itemsSchema, Integer minItems, Integer maxItems, Boolean uniqueItems)
-
Method Summary
Modifier and Type Method Description final DataSchemagetItemsSchema()final UnitsetItemsSchema(DataSchema itemsSchema)final IntegergetMinItems()final UnitsetMinItems(Integer minItems)final IntegergetMaxItems()final UnitsetMaxItems(Integer maxItems)final BooleangetUniqueItems()final UnitsetUniqueItems(Boolean uniqueItems)StringtoString()-
Methods inherited from class pl.metaprogramming.model.data.DataType
asArray, asArray, asSchema, asSchema, getArrayType, getEnumType, getMapType, getObjectType, getTypeCode, is, isArray, isBinary, isComplex, isEnum, isEnumOrItemEnum, isMap, isNumber, isNumberOrBoolean, isObject, isTypeOrItemType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ArrayType
ArrayType(DataSchema itemsSchema, Integer minItems, Integer maxItems, Boolean uniqueItems)
-
-
Method Detail
-
getItemsSchema
final DataSchema getItemsSchema()
-
setItemsSchema
final Unit setItemsSchema(DataSchema itemsSchema)
-
getMinItems
final Integer getMinItems()
-
setMinItems
final Unit setMinItems(Integer minItems)
-
getMaxItems
final Integer getMaxItems()
-
setMaxItems
final Unit setMaxItems(Integer maxItems)
-
getUniqueItems
final Boolean getUniqueItems()
-
setUniqueItems
final Unit setUniqueItems(Boolean uniqueItems)
-
-
-
-