public class BinaryProperty extends AbstractProperty implements Property
Modifier and Type | Field and Description |
---|---|
protected String |
_default |
protected List<String> |
_enum |
protected Integer |
maxLength |
protected Integer |
minLength |
protected String |
pattern |
static String |
TYPE |
access, allowEmptyValue, description, example, format, name, position, readOnly, required, title, type, vendorExtensions, xml
Constructor and Description |
---|
BinaryProperty() |
Modifier and Type | Method and Description |
---|---|
BinaryProperty |
_default(String _default) |
boolean |
equals(Object obj) |
String |
getDefault() |
List<String> |
getEnum() |
Integer |
getMaxLength() |
Integer |
getMinLength() |
String |
getPattern() |
int |
hashCode() |
static boolean |
isType(String type,
String format) |
BinaryProperty |
maxLength(Integer maxLength) |
BinaryProperty |
minLength(Integer minLength) |
BinaryProperty |
pattern(String pattern) |
BinaryProperty |
readOnly() |
void |
setDefault(String _default) |
void |
setEnum(List<String> _enum) |
void |
setMaxLength(Integer maxLength) |
void |
setMinLength(Integer minLength) |
void |
setPattern(String pattern) |
BinaryProperty |
vendorExtension(String key,
Object obj) |
BinaryProperty |
xml(Xml xml) |
allowEmptyValue, description, getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDescription, setExample, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setVendorExtension, setVendorExtensionMap, setVendorExtensions, setXml, title
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
description, getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDescription, setExample, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml, title
public static final String TYPE
protected Integer minLength
protected Integer maxLength
protected String pattern
protected String _default
public BinaryProperty xml(Xml xml)
public BinaryProperty minLength(Integer minLength)
public BinaryProperty maxLength(Integer maxLength)
public BinaryProperty pattern(String pattern)
public BinaryProperty _default(String _default)
public BinaryProperty vendorExtension(String key, Object obj)
public BinaryProperty readOnly()
readOnly
in class AbstractProperty
public Integer getMinLength()
public void setMinLength(Integer minLength)
public Integer getMaxLength()
public void setMaxLength(Integer maxLength)
public String getPattern()
public void setPattern(String pattern)
public String getDefault()
public void setDefault(String _default)
setDefault
in interface Property
setDefault
in class AbstractProperty
public int hashCode()
hashCode
in class AbstractProperty
public boolean equals(Object obj)
equals
in class AbstractProperty
Copyright © 2019. All Rights Reserved.