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 StringgetCode()Gets value for attribute codiStringgetCodi()Gets value for attribute codiStringgetDescription()Gets value for attribute descriptionList<String>getGroups()Gets value for attribute groupsLonggetId()Gets value for attribute idBooleangetLocal()Gets value for attribute localStringgetModel()Gets value for attribute modelStringgetNomMaquina()Gets value for attribute nomMaquinaList<String>getUsers()Gets value for attribute usersvoidsetCode(String codi)Sets value for attribute codivoidsetCodi(String codi)Sets value for attribute codivoidsetDescription(String description)Sets value for attribute descriptionvoidsetGroups(List<String> groups)Sets value for attribute groupsvoidsetId(Long id)Sets value for attribute idvoidsetLocal(Boolean local)Sets value for attribute localvoidsetModel(String model)Sets value for attribute modelvoidsetNomMaquina(String nomMaquina)Sets value for attribute nomMaquinavoidsetUsers(List<String> users)Sets value for attribute usersstatic ImpressoratoImpressora(Printer vo)Creates a Impressora value object based on a Printer object.static voidtoImpressora(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.StringtoString()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.
-
-