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)
Property
public Property description(String description)
description
in interface Property
public Property readOnly()
public Object getExample()
getExample
in interface Property
public void setExample(Object example)
setExample
in interface Property
public void setExample(String example)
setExample
in interface Property
public Integer getPosition()
getPosition
in interface Property
public void setPosition(Integer position)
setPosition
in interface Property
public void setType(String type)
public void setFormat(String format)
public boolean getRequired()
getRequired
in interface Property
public void setRequired(boolean required)
setRequired
in interface Property
public String getDescription()
getDescription
in interface Property
public void setDescription(String description)
setDescription
in interface Property
public Boolean getReadOnly()
getReadOnly
in interface Property
public void setReadOnly(Boolean readOnly)
setReadOnly
in interface Property
public void setDefault(String _default)
setDefault
in interface Property
public Boolean getAllowEmptyValue()
getAllowEmptyValue
in interface Property
public void setAllowEmptyValue(Boolean allowEmptyValue)
setAllowEmptyValue
in interface Property
public Map<String,Object> getVendorExtensions()
getVendorExtensions
in interface Property
Copyright © 2019. All Rights Reserved.