public class DossierFileView extends Object implements Serializable
Java class for dossierFile complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="dossierFile">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="link" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded"/>
<element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="exists" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="readonly" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="mediaType" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="allowedMultiple" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="allowedMediaTypes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
allowedMediaTypes
Разрешенные для загрузки типы файлов
|
protected boolean |
allowedMultiple
Разрешена одновременная загрузка нескольких файлов
|
protected String |
code
Код файла
|
protected boolean |
exists
Наличие
|
protected boolean |
hidden
Скрытый
|
protected LocalDateTime |
lastModified
Время последней модификации
|
protected List<javax.ws.rs.core.Link> |
links |
protected String |
mediaType
Тип файла
|
protected String |
name
Наименование
|
protected boolean |
readonly
Только для чтения
|
protected boolean |
required
Обязательный
|
protected String |
version
Версия файла
|
| Constructor and Description |
|---|
DossierFileView() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedMediaTypes()
Gets the value of the allowedMediaTypes property.
|
String |
getCode()
Gets the value of the code property.
|
LocalDateTime |
getLastModified()
Gets the value of the lastModified property.
|
List<javax.ws.rs.core.Link> |
getLinks()
Gets the value of the links property.
|
String |
getMediaType()
Gets the value of the mediaType property.
|
String |
getName()
Gets the value of the name property.
|
String |
getVersion()
Gets the value of the version property.
|
boolean |
isAllowedMultiple()
Gets the value of the allowedMultiple property.
|
boolean |
isExists()
Gets the value of the exists property.
|
boolean |
isHidden()
Gets the value of the hidden property.
|
boolean |
isReadonly()
Gets the value of the readonly property.
|
boolean |
isRequired()
Gets the value of the required property.
|
void |
setAllowedMediaTypes(List<String> value) |
void |
setAllowedMultiple(boolean value)
Sets the value of the allowedMultiple property.
|
void |
setCode(String value)
Sets the value of the code property.
|
void |
setExists(boolean value)
Sets the value of the exists property.
|
void |
setHidden(boolean value)
Sets the value of the hidden property.
|
void |
setLastModified(LocalDateTime value)
Sets the value of the lastModified property.
|
void |
setLinks(List<javax.ws.rs.core.Link> value) |
void |
setMediaType(String value)
Sets the value of the mediaType property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setReadonly(boolean value)
Sets the value of the readonly property.
|
void |
setRequired(boolean value)
Sets the value of the required property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
DossierFileView |
withAllowedMediaTypes(Collection<String> values) |
DossierFileView |
withAllowedMediaTypes(List<String> value) |
DossierFileView |
withAllowedMediaTypes(String... values) |
DossierFileView |
withAllowedMultiple(boolean value) |
DossierFileView |
withCode(String value) |
DossierFileView |
withExists(boolean value) |
DossierFileView |
withHidden(boolean value) |
DossierFileView |
withLastModified(LocalDateTime value) |
DossierFileView |
withLinks(Collection<javax.ws.rs.core.Link> values) |
DossierFileView |
withLinks(javax.ws.rs.core.Link... values) |
DossierFileView |
withLinks(List<javax.ws.rs.core.Link> value) |
DossierFileView |
withMediaType(String value) |
DossierFileView |
withName(String value) |
DossierFileView |
withReadonly(boolean value) |
DossierFileView |
withRequired(boolean value) |
DossierFileView |
withVersion(String value) |
protected List<javax.ws.rs.core.Link> links
protected String code
protected String name
protected boolean exists
protected boolean readonly
protected boolean required
protected boolean hidden
protected String mediaType
protected boolean allowedMultiple
protected String version
protected LocalDateTime lastModified
public List<javax.ws.rs.core.Link> getLinks()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the links property.
For example, to add a new item, do as follows:
getLinks().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public String getCode()
Код файла
Stringpublic void setCode(String value)
public String getName()
Наименование
Stringpublic void setName(String value)
public boolean isExists()
Наличие
public void setExists(boolean value)
isExists()public boolean isReadonly()
Только для чтения
public void setReadonly(boolean value)
isReadonly()public boolean isRequired()
Обязательный
public void setRequired(boolean value)
isRequired()public boolean isHidden()
Скрытый
public void setHidden(boolean value)
isHidden()public String getMediaType()
Тип файла
Stringpublic void setMediaType(String value)
value - allowed object is
StringgetMediaType()public boolean isAllowedMultiple()
Разрешена одновременная загрузка нескольких файлов
public void setAllowedMultiple(boolean value)
isAllowedMultiple()public List<String> getAllowedMediaTypes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the allowedMediaTypes property.
For example, to add a new item, do as follows:
getAllowedMediaTypes().add(newItem);
Objects of the following type(s) are allowed in the list
String
Разрешенные для загрузки типы файлов
public String getVersion()
Версия файла
Stringpublic void setVersion(String value)
value - allowed object is
StringgetVersion()public LocalDateTime getLastModified()
Время последней модификации
Stringpublic void setLastModified(LocalDateTime value)
value - allowed object is
StringgetLastModified()public void setLinks(List<javax.ws.rs.core.Link> value)
public DossierFileView withLinks(javax.ws.rs.core.Link... values)
public DossierFileView withLinks(Collection<javax.ws.rs.core.Link> values)
public DossierFileView withCode(String value)
public DossierFileView withName(String value)
public DossierFileView withExists(boolean value)
public DossierFileView withReadonly(boolean value)
public DossierFileView withRequired(boolean value)
public DossierFileView withHidden(boolean value)
public DossierFileView withMediaType(String value)
public DossierFileView withAllowedMultiple(boolean value)
public DossierFileView withAllowedMediaTypes(String... values)
public DossierFileView withAllowedMediaTypes(Collection<String> values)
public DossierFileView withVersion(String value)
public DossierFileView withLastModified(LocalDateTime value)
public DossierFileView withLinks(List<javax.ws.rs.core.Link> value)
public DossierFileView withAllowedMediaTypes(List<String> value)
Copyright © 2021. All rights reserved.