public class StringProperty 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 |
| Constructor and Description |
|---|
StringProperty() |
StringProperty(String format) |
| Modifier and Type | Method and Description |
|---|---|
StringProperty |
_default(String _default) |
StringProperty |
_enum(List<String> value) |
StringProperty |
_enum(String value) |
boolean |
equals(Object obj) |
StringProperty |
example(String example) |
String |
getDefault() |
List<String> |
getEnum() |
Integer |
getMaxLength() |
Integer |
getMinLength() |
String |
getPattern() |
int |
hashCode() |
static boolean |
isType(String type,
String format) |
StringProperty |
maxLength(Integer maxLength) |
StringProperty |
minLength(Integer minLength) |
StringProperty |
pattern(String pattern) |
void |
setDefault(String _default) |
void |
setEnum(List<String> _enum) |
void |
setMaxLength(Integer maxLength) |
void |
setMinLength(Integer minLength) |
void |
setPattern(String pattern) |
StringProperty |
xml(Xml xml) |
description, getAccess, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getXml, readOnly, setAccess, setDescription, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setXml, titleclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdescription, getAccess, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getXml, setAccess, setDescription, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml, titleprotected Integer minLength
protected Integer maxLength
protected String pattern
protected String _default
public StringProperty()
public StringProperty(String format)
public StringProperty xml(Xml xml)
public StringProperty example(String example)
public StringProperty minLength(Integer minLength)
public StringProperty maxLength(Integer maxLength)
public StringProperty pattern(String pattern)
public StringProperty _enum(String value)
public StringProperty _enum(List<String> value)
public StringProperty _default(String _default)
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 PropertysetDefault in class AbstractPropertypublic int hashCode()
hashCode in class AbstractPropertypublic boolean equals(Object obj)
equals in class AbstractPropertyCopyright © 2015. All Rights Reserved.