Package es.caib.seycon.ng.comu
Class Domini
- java.lang.Object
-
- es.caib.seycon.ng.comu.Domini
-
- All Implemented Interfaces:
Serializable
public class Domini extends Object implements Serializable
ValueObject Domini- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCodiExtern()
Gets value for attribute codiExternString
getDescripcio()
Gets value for attribute descripcioLong
getId()
Gets value for attribute idString
getNom()
Gets value for attribute nomvoid
setCodiExtern(String codiExtern)
Sets value for attribute codiExternvoid
setDescripcio(String descripcio)
Sets value for attribute descripciovoid
setId(Long id)
Sets value for attribute idvoid
setNom(String nom)
Sets value for attribute nomstatic Domini
toDomini(Domain vo)
Creates a Domini value object based on a Domain object.static void
toDomini(Domain source, Domini target)
Updates a Domini value object based on a Domain object.static Domini[]
toDominiArray(Domain[] source)
Creates a Domini array on a Domain array.static AsyncList<Domini>
toDominiAsyncList(AsyncList<Domain> source)
Creates a Domini asynclist on a Domain collection.static PagedResult<Domini>
toDominiList(PagedResult<Domain> source)
Creates a Domini pagedResult on a Domain collection.static List<Domini>
toDominiList(Collection<Domain> source)
Creates a Domini list on a Domain collection.String
toString()
Returns a string representation of the value object.
-
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getNom
public String getNom()
Gets value for attribute nom
-
setNom
public void setNom(String nom)
Sets value for attribute nom
-
getCodiExtern
public String getCodiExtern()
Gets value for attribute codiExtern
-
setCodiExtern
public void setCodiExtern(String codiExtern)
Sets value for attribute codiExtern
-
getDescripcio
public String getDescripcio()
Gets value for attribute descripcio
-
setDescripcio
public void setDescripcio(String descripcio)
Sets value for attribute descripcio
-
toString
public String toString()
Returns a string representation of the value object.
-
toDomini
public static Domini toDomini(Domain vo)
Creates a Domini value object based on a Domain object.
-
toDominiList
public static List<Domini> toDominiList(Collection<Domain> source)
Creates a Domini list on a Domain collection.
-
toDominiList
public static PagedResult<Domini> toDominiList(PagedResult<Domain> source)
Creates a Domini pagedResult on a Domain collection.
-
toDominiAsyncList
public static AsyncList<Domini> toDominiAsyncList(AsyncList<Domain> source)
Creates a Domini asynclist on a Domain collection.
-
toDominiArray
public static Domini[] toDominiArray(Domain[] source)
Creates a Domini array on a Domain array.
-
-