-
public final class SchemaArray extends SchemaType
A schema for lists.
-
-
Field Summary
Fields Modifier and Type Field Description private final SchemaType
items
private final Boolean
nullableItems
private final String
description
-
Method Summary
Modifier and Type Method Description final SchemaType
component1()
final Boolean
component2()
final String
component3()
final SchemaArray
copy(SchemaType items, Boolean nullableItems, String description)
final SchemaType
getItems()
final Boolean
getNullableItems()
final String
getDescription()
-
-
Method Detail
-
component1
final SchemaType component1()
-
component2
final Boolean component2()
-
component3
final String component3()
-
copy
final SchemaArray copy(SchemaType items, Boolean nullableItems, String description)
- Parameters:
items
- the schema definition for the elements of this listnullableItems
- whether or not the items may containnull
description
- the description of the type ornull
.
-
getItems
final SchemaType getItems()
-
getNullableItems
final Boolean getNullableItems()
-
getDescription
final String getDescription()
-
-
-
-