public class ObjectProperty extends AbstractProperty implements Property
Modifier and Type | Field and Description |
---|---|
static String |
TYPE |
access, allowEmptyValue, description, example, format, name, position, readOnly, required, title, type, vendorExtensions, xml
Constructor and Description |
---|
ObjectProperty() |
ObjectProperty(Map<String,Property> properties) |
Modifier and Type | Method and Description |
---|---|
ObjectProperty |
_default(String _default) |
ObjectProperty |
access(String access) |
ObjectProperty |
description(String description) |
boolean |
equals(Object o) |
ObjectProperty |
example(Object example) |
Map<String,Property> |
getProperties() |
List<String> |
getRequiredProperties() |
int |
hashCode() |
static boolean |
isType(String type) |
static boolean |
isType(String type,
String format) |
ObjectProperty |
name(String name) |
ObjectProperty |
properties(Map<String,Property> properties) |
ObjectProperty |
property(String name,
Property property) |
ObjectProperty |
readOnly() |
ObjectProperty |
readOnly(boolean readOnly) |
ObjectProperty |
required(boolean required) |
void |
setProperties(Map<String,Property> properties) |
void |
setRequiredProperties(List<String> required) |
ObjectProperty |
title(String title) |
ObjectProperty |
vendorExtension(String key,
Object obj) |
ObjectProperty |
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
public ObjectProperty vendorExtension(String key, Object obj)
public static boolean isType(String type)
public ObjectProperty properties(Map<String,Property> properties)
public ObjectProperty property(String name, Property property)
public ObjectProperty access(String access)
public ObjectProperty description(String description)
description
in interface Property
description
in class AbstractProperty
public ObjectProperty name(String name)
public ObjectProperty title(String title)
title
in interface Property
title
in class AbstractProperty
public ObjectProperty _default(String _default)
public ObjectProperty readOnly(boolean readOnly)
public ObjectProperty required(boolean required)
public ObjectProperty readOnly()
readOnly
in class AbstractProperty
public ObjectProperty xml(Xml xml)
public ObjectProperty example(Object example)
public boolean equals(Object o)
equals
in class AbstractProperty
public int hashCode()
hashCode
in class AbstractProperty
Copyright © 2019. All Rights Reserved.