public abstract class QTestBaseModel<T extends QTestBaseModel<T>> extends PropertyContainer
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
QTestBaseModel() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
getBinaryFromInputStream(java.io.InputStream content,
boolean markedSupport) |
java.util.List<Link> |
getLinks() |
java.lang.String |
getWebUrl() |
T |
setLinks(java.util.List<Link> links)
Sets the list of links relation.
|
T |
setWebUrl(java.lang.String webUrl)
Sets the object's web URL.
|
protected java.io.InputStream |
validateInputStream(java.io.InputStream content,
boolean markSupported) |
QTestBaseModel<T> |
withLinks(java.util.List<Link> links)
Sets the list of links relation.
|
QTestBaseModel<T> |
withWebUrl(java.lang.String webUrl)
Sets the object's web URL and return itself.
|
appendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, clone, elementName, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, jsonElementName, removeProperty, setPropertiesFrom, setProperty, toJson, toStringpublic java.util.List<Link> getLinks()
public T setLinks(java.util.List<Link> links)
links - the given list of relation's links to set.public QTestBaseModel<T> withLinks(java.util.List<Link> links)
links - the given list of relation's links to set.public java.lang.String getWebUrl()
public T setWebUrl(java.lang.String webUrl)
webUrl - the given URL to access object via web browser.public QTestBaseModel<T> withWebUrl(java.lang.String webUrl)
webUrl - the given URL to access object via web browser.protected byte[] getBinaryFromInputStream(java.io.InputStream content,
boolean markedSupport)
throws java.io.IOException
content - contentmarkedSupport - markedSupportcontent as InputStream input stream.java.io.IOException - IOExceptionprotected java.io.InputStream validateInputStream(java.io.InputStream content,
boolean markSupported)
throws java.io.IOException
content - contentmarkSupported - markSupportedjava.io.IOException - IOException