public class BinaryProperty extends AbstractProperty implements Property
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
_default |
protected java.util.List<java.lang.String> |
_enum |
protected java.lang.Integer |
maxLength |
protected java.lang.Integer |
minLength |
protected java.lang.String |
pattern |
static java.lang.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(java.lang.String _default) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefault() |
java.util.List<java.lang.String> |
getEnum() |
java.lang.Integer |
getMaxLength() |
java.lang.Integer |
getMinLength() |
java.lang.String |
getPattern() |
int |
hashCode() |
static boolean |
isType(java.lang.String type,
java.lang.String format) |
BinaryProperty |
maxLength(java.lang.Integer maxLength) |
BinaryProperty |
minLength(java.lang.Integer minLength) |
BinaryProperty |
pattern(java.lang.String pattern) |
BinaryProperty |
readOnly() |
void |
setDefault(java.lang.String _default) |
void |
setEnum(java.util.List<java.lang.String> _enum) |
void |
setMaxLength(java.lang.Integer maxLength) |
void |
setMinLength(java.lang.Integer minLength) |
void |
setPattern(java.lang.String pattern) |
BinaryProperty |
vendorExtension(java.lang.String key,
java.lang.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, titleclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdescription, 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, titlepublic static final java.lang.String TYPE
protected java.util.List<java.lang.String> _enum
protected java.lang.Integer minLength
protected java.lang.Integer maxLength
protected java.lang.String pattern
protected java.lang.String _default
public static boolean isType(java.lang.String type,
java.lang.String format)
public BinaryProperty xml(Xml xml)
public BinaryProperty minLength(java.lang.Integer minLength)
public BinaryProperty maxLength(java.lang.Integer maxLength)
public BinaryProperty pattern(java.lang.String pattern)
public BinaryProperty _default(java.lang.String _default)
public BinaryProperty vendorExtension(java.lang.String key, java.lang.Object obj)
public BinaryProperty readOnly()
readOnly in class AbstractPropertypublic java.lang.Integer getMinLength()
public void setMinLength(java.lang.Integer minLength)
public java.lang.Integer getMaxLength()
public void setMaxLength(java.lang.Integer maxLength)
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
public java.lang.String getDefault()
public void setDefault(java.lang.String _default)
setDefault in interface PropertysetDefault in class AbstractPropertypublic java.util.List<java.lang.String> getEnum()
public void setEnum(java.util.List<java.lang.String> _enum)
public int hashCode()
hashCode in class AbstractPropertypublic boolean equals(java.lang.Object obj)
equals in class AbstractPropertyCopyright © 2021. All Rights Reserved.