public class ObjectProperty extends AbstractProperty implements Property
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) |
ObjectProperty |
example(String example) |
Map<String,Property> |
getProperties() |
List<String> |
getRequiredProperties() |
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(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) |
equals, getAccess, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, hashCode, readOnly, setAccess, setDefault, setDescription, setExample, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setVendorExtension, setVendorExtensionMap, setXml
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAccess, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, setAccess, 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 xml(Xml xml)
public ObjectProperty example(String example)
Copyright © 2019. All rights reserved.