|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.form.dataset.dto.FormDTO
public class FormDTO
FormDTO class to store Form definition
Constructor Summary | |
---|---|
FormDTO()
Constructor |
Method Summary | |
---|---|
static Form |
dtoToForm(FormDTO dto)
Transform a DTO to a form |
static java.util.List<Zone> |
dtoToZones(java.util.List<ZoneDTO> dtos)
dtoToZones |
static FormDTO |
formToDTO(Form form)
Transform a form to a DTO |
java.lang.String |
getAuthorized()
Gets the authorized value |
java.lang.String |
getCss()
Get the CSS of a form |
java.lang.String |
getDescription()
Gets the description value |
int |
getHeight()
Returns the height of the form |
java.lang.String |
getId()
Gets the id value |
java.lang.String |
getName()
Gets the name value |
java.util.List<ParameterDTO> |
getParameters()
Gets the parametersDTO value |
java.lang.String |
getParent()
Gets the parent value |
java.lang.String |
getParentUrl()
Gets the parentUrl value |
int |
getWidth()
Get the width of the form |
java.util.List<ZoneDTO> |
getZones()
Gets the zones value |
void |
setAuthorized(java.lang.String authorized)
Sets the value of authorized |
void |
setCss(java.lang.String css)
Set the CSS of a form |
void |
setDescription(java.lang.String description)
Sets the value of description |
void |
setHeight(int height)
Set the height of the form |
void |
setId(java.lang.String id)
Sets the value of id |
void |
setName(java.lang.String name)
Sets the value of name |
void |
setParameters(java.util.List<ParameterDTO> parameters)
Sets the value of parametersDTO |
void |
setParent(java.lang.String parent)
Sets the value of parent |
void |
setParentUrl(java.lang.String parentUrl)
Sets the value of parentUrl |
void |
setWidth(int width)
Set the width |
void |
setZones(java.util.List<ZoneDTO> zones)
Sets the value of zones |
static java.util.List<ZoneDTO> |
zonesToDTO(java.util.List<Zone> zones)
Convert a list of Zone to a ZoneDTO |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormDTO()
Method Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- the id to setpublic java.lang.String getParent()
public void setParent(java.lang.String parent)
parent
- the parent to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to setpublic java.util.List<ParameterDTO> getParameters()
public int getWidth()
public void setWidth(int width)
width
- the width to setpublic int getHeight()
public void setHeight(int height)
height
- the height to setpublic void setParameters(java.util.List<ParameterDTO> parameters)
parameters
- the parametersDTO to setpublic java.lang.String getCss()
public void setCss(java.lang.String css)
css
- the CSS to setpublic static FormDTO formToDTO(Form form)
form
- the form to transform
public static Form dtoToForm(FormDTO dto)
dto
- the DTO to transform
public void setAuthorized(java.lang.String authorized)
authorized
- the authorized to setpublic java.lang.String getAuthorized()
public void setParentUrl(java.lang.String parentUrl)
parentUrl
- the parentUrl to setpublic java.lang.String getParentUrl()
public java.util.List<ZoneDTO> getZones()
public void setZones(java.util.List<ZoneDTO> zones)
zones
- the zones to setpublic static java.util.List<ZoneDTO> zonesToDTO(java.util.List<Zone> zones)
zones
- a list of zones
ZoneDTO
public static java.util.List<Zone> dtoToZones(java.util.List<ZoneDTO> dtos)
dtos
- the list of ZoneDTO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |