Package es.caib.seycon.ng.comu
Class Servei
- java.lang.Object
-
- es.caib.seycon.ng.comu.Servei
-
- All Implemented Interfaces:
Serializable
public class Servei extends Object implements Serializable
ValueObject Servei- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCodi()Gets value for attribute codiStringgetDescripcio()Gets value for attribute descripcioLonggetId()Gets value for attribute idvoidsetCodi(String codi)Sets value for attribute codivoidsetDescripcio(String descripcio)Sets value for attribute descripciovoidsetId(Long id)Sets value for attribute idstatic ServeitoServei(Service vo)Creates a Servei value object based on a Service object.static voidtoServei(Service source, Servei target)Updates a Servei value object based on a Service object.static Servei[]toServeiArray(Service[] source)Creates a Servei array on a Service array.static AsyncList<Servei>toServeiAsyncList(AsyncList<Service> source)Creates a Servei asynclist on a Service collection.static PagedResult<Servei>toServeiList(PagedResult<Service> source)Creates a Servei pagedResult on a Service collection.static List<Servei>toServeiList(Collection<Service> source)Creates a Servei list on a Service collection.StringtoString()Returns a string representation of the value object.
-
-
-
Method Detail
-
getCodi
public String getCodi()
Gets value for attribute codi
-
setCodi
public void setCodi(String codi)
Sets value for attribute codi
-
getDescripcio
public String getDescripcio()
Gets value for attribute descripcio
-
setDescripcio
public void setDescripcio(String descripcio)
Sets value for attribute descripcio
-
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.
-
toServei
public static Servei toServei(Service vo)
Creates a Servei value object based on a Service object.
-
toServeiList
public static List<Servei> toServeiList(Collection<Service> source)
Creates a Servei list on a Service collection.
-
toServeiList
public static PagedResult<Servei> toServeiList(PagedResult<Service> source)
Creates a Servei pagedResult on a Service collection.
-
toServeiAsyncList
public static AsyncList<Servei> toServeiAsyncList(AsyncList<Service> source)
Creates a Servei asynclist on a Service collection.
-
toServeiArray
public static Servei[] toServeiArray(Service[] source)
Creates a Servei array on a Service array.
-
-