public class ArrayProperty extends AbstractProperty implements Property
Modifier and Type | Field and Description |
---|---|
protected Property |
items |
static String |
TYPE |
protected Boolean |
uniqueItems |
access, allowEmptyValue, description, example, format, name, position, readOnly, required, title, type, vendorExtensions, xml
Constructor and Description |
---|
ArrayProperty() |
ArrayProperty(Property items) |
Modifier and Type | Method and Description |
---|---|
ArrayProperty |
description(String description) |
boolean |
equals(Object o) |
ArrayProperty |
example(Object example) |
Property |
getItems() |
Integer |
getMaxItems() |
Integer |
getMinItems() |
Boolean |
getUniqueItems() |
int |
hashCode() |
static boolean |
isType(String type) |
ArrayProperty |
items(Property items) |
ArrayProperty |
readOnly() |
void |
setItems(Property items) |
void |
setMaxItems(Integer maxItems) |
void |
setMinItems(Integer minItems) |
void |
setUniqueItems(Boolean uniqueItems) |
ArrayProperty |
title(String title) |
ArrayProperty |
uniqueItems() |
ArrayProperty |
vendorExtension(String key,
Object obj) |
ArrayProperty |
xml(Xml xml) |
allowEmptyValue, getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDefault, setDescription, setExample, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setVendorExtension, setVendorExtensionMap, setVendorExtensions, setXml
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDefault, setDescription, setExample, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml
public static final String TYPE
protected Boolean uniqueItems
protected Property items
public ArrayProperty()
public ArrayProperty(Property items)
public static boolean isType(String type)
public ArrayProperty xml(Xml xml)
public ArrayProperty uniqueItems()
public ArrayProperty description(String description)
description
in interface Property
description
in class AbstractProperty
public ArrayProperty title(String title)
title
in interface Property
title
in class AbstractProperty
public ArrayProperty example(Object example)
public ArrayProperty items(Property items)
public ArrayProperty vendorExtension(String key, Object obj)
public ArrayProperty readOnly()
readOnly
in class AbstractProperty
public Property getItems()
public void setItems(Property items)
public Boolean getUniqueItems()
public void setUniqueItems(Boolean uniqueItems)
public Integer getMaxItems()
public void setMaxItems(Integer maxItems)
public Integer getMinItems()
public void setMinItems(Integer minItems)
public boolean equals(Object o)
equals
in class AbstractProperty
public int hashCode()
hashCode
in class AbstractProperty
Copyright © 2019. All Rights Reserved.