Package es.caib.seycon.ng.comu
Class Impressora
- java.lang.Object
-
- es.caib.seycon.ng.comu.Impressora
-
- All Implemented Interfaces:
Serializable
public class Impressora extends Object implements Serializable
ValueObject Impressora- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Impressora()
Impressora(Impressora otherBean)
Impressora(String codi, String description)
Impressora(String model, String codi, String description, String nomMaquina, Boolean local, Long id, List<String> users, List<String> groups)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Gets value for attribute codiString
getCodi()
Gets value for attribute codiString
getDescription()
Gets value for attribute descriptionList<String>
getGroups()
Gets value for attribute groupsLong
getId()
Gets value for attribute idBoolean
getLocal()
Gets value for attribute localString
getModel()
Gets value for attribute modelString
getNomMaquina()
Gets value for attribute nomMaquinaList<String>
getUsers()
Gets value for attribute usersvoid
setCode(String codi)
Sets value for attribute codivoid
setCodi(String codi)
Sets value for attribute codivoid
setDescription(String description)
Sets value for attribute descriptionvoid
setGroups(List<String> groups)
Sets value for attribute groupsvoid
setId(Long id)
Sets value for attribute idvoid
setLocal(Boolean local)
Sets value for attribute localvoid
setModel(String model)
Sets value for attribute modelvoid
setNomMaquina(String nomMaquina)
Sets value for attribute nomMaquinavoid
setUsers(List<String> users)
Sets value for attribute usersstatic Impressora
toImpressora(Printer vo)
Creates a Impressora value object based on a Printer object.static void
toImpressora(Printer source, Impressora target)
Updates a Impressora value object based on a Printer object.static Impressora[]
toImpressoraArray(Printer[] source)
Creates a Impressora array on a Printer array.static AsyncList<Impressora>
toImpressoraAsyncList(AsyncList<Printer> source)
Creates a Impressora asynclist on a Printer collection.static PagedResult<Impressora>
toImpressoraList(PagedResult<Printer> source)
Creates a Impressora pagedResult on a Printer collection.static List<Impressora>
toImpressoraList(Collection<Printer> source)
Creates a Impressora list on a Printer collection.String
toString()
Returns a string representation of the value object.
-
-
-
Method Detail
-
getModel
public String getModel()
Gets value for attribute model
-
setModel
public void setModel(String model)
Sets value for attribute model
-
getCodi
public String getCodi()
Gets value for attribute codi
-
setCodi
public void setCodi(String codi)
Sets value for attribute codi
-
getCode
public String getCode()
Gets value for attribute codi
-
setCode
public void setCode(String codi)
Sets value for attribute codi
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getNomMaquina
public String getNomMaquina()
Gets value for attribute nomMaquina
-
setNomMaquina
public void setNomMaquina(String nomMaquina)
Sets value for attribute nomMaquina
-
getLocal
public Boolean getLocal()
Gets value for attribute local
-
setLocal
public void setLocal(Boolean local)
Sets value for attribute local
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
toString
public String toString()
Returns a string representation of the value object.
-
toImpressora
public static Impressora toImpressora(Printer vo)
Creates a Impressora value object based on a Printer object.
-
toImpressoraList
public static List<Impressora> toImpressoraList(Collection<Printer> source)
Creates a Impressora list on a Printer collection.
-
toImpressoraList
public static PagedResult<Impressora> toImpressoraList(PagedResult<Printer> source)
Creates a Impressora pagedResult on a Printer collection.
-
toImpressoraAsyncList
public static AsyncList<Impressora> toImpressoraAsyncList(AsyncList<Printer> source)
Creates a Impressora asynclist on a Printer collection.
-
toImpressoraArray
public static Impressora[] toImpressoraArray(Printer[] source)
Creates a Impressora array on a Printer array.
-
toImpressora
public static void toImpressora(Printer source, Impressora target)
Updates a Impressora value object based on a Printer object.
-
-