public class ArrayProperty extends AbstractProperty implements Property
Modifier and Type | Field and Description |
---|---|
protected Property |
items |
static java.lang.String |
TYPE |
protected java.lang.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(java.lang.String description) |
boolean |
equals(java.lang.Object o) |
ArrayProperty |
example(java.lang.Object example) |
Property |
getItems() |
java.lang.Integer |
getMaxItems() |
java.lang.Integer |
getMinItems() |
java.lang.Boolean |
getUniqueItems() |
int |
hashCode() |
static boolean |
isType(java.lang.String type) |
ArrayProperty |
items(Property items) |
ArrayProperty |
readOnly() |
void |
setItems(Property items) |
void |
setMaxItems(java.lang.Integer maxItems) |
void |
setMinItems(java.lang.Integer minItems) |
void |
setUniqueItems(java.lang.Boolean uniqueItems) |
ArrayProperty |
title(java.lang.String title) |
ArrayProperty |
uniqueItems() |
ArrayProperty |
vendorExtension(java.lang.String key,
java.lang.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 java.lang.String TYPE
protected java.lang.Boolean uniqueItems
protected Property items
public ArrayProperty()
public ArrayProperty(Property items)
public static boolean isType(java.lang.String type)
public ArrayProperty xml(Xml xml)
public ArrayProperty uniqueItems()
public ArrayProperty description(java.lang.String description)
description
in interface Property
description
in class AbstractProperty
public ArrayProperty title(java.lang.String title)
title
in interface Property
title
in class AbstractProperty
public ArrayProperty example(java.lang.Object example)
public ArrayProperty items(Property items)
public ArrayProperty vendorExtension(java.lang.String key, java.lang.Object obj)
public ArrayProperty readOnly()
readOnly
in class AbstractProperty
public Property getItems()
public void setItems(Property items)
public java.lang.Boolean getUniqueItems()
public void setUniqueItems(java.lang.Boolean uniqueItems)
public java.lang.Integer getMaxItems()
public void setMaxItems(java.lang.Integer maxItems)
public java.lang.Integer getMinItems()
public void setMinItems(java.lang.Integer minItems)
public boolean equals(java.lang.Object o)
equals
in class AbstractProperty
public int hashCode()
hashCode
in class AbstractProperty
Copyright © 2020 JBoss by Red Hat. All Rights Reserved.