public abstract class AbstractProperty extends Object implements Property, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected String |
access |
protected Boolean |
allowEmptyValue |
protected String |
description |
protected Object |
example |
protected String |
format |
protected String |
name |
protected Integer |
position |
protected Boolean |
readOnly |
protected boolean |
required |
protected String |
title |
protected String |
type |
protected Map<String,Object> |
vendorExtensions |
protected Xml |
xml |
| Constructor and Description |
|---|
AbstractProperty() |
protected String name
protected String type
protected String format
protected Object example
protected Xml xml
protected boolean required
protected Integer position
protected String description
protected String title
protected Boolean readOnly
protected Boolean allowEmptyValue
protected String access
public Property rename(String newName)
Propertypublic Property description(String description)
description in interface Propertypublic Property readOnly()
public Object getExample()
getExample in interface Propertypublic void setExample(Object example)
setExample in interface Propertypublic void setExample(String example)
setExample in interface Propertypublic Integer getPosition()
getPosition in interface Propertypublic void setPosition(Integer position)
setPosition in interface Propertypublic void setType(String type)
public void setFormat(String format)
public boolean getRequired()
getRequired in interface Propertypublic void setRequired(boolean required)
setRequired in interface Propertypublic String getDescription()
getDescription in interface Propertypublic void setDescription(String description)
setDescription in interface Propertypublic Boolean getReadOnly()
getReadOnly in interface Propertypublic void setReadOnly(Boolean readOnly)
setReadOnly in interface Propertypublic void setDefault(String _default)
setDefault in interface Propertypublic Boolean getAllowEmptyValue()
getAllowEmptyValue in interface Propertypublic void setAllowEmptyValue(Boolean allowEmptyValue)
setAllowEmptyValue in interface Propertypublic Map<String,Object> getVendorExtensions()
getVendorExtensions in interface PropertyCopyright © 2019. All Rights Reserved.