Package es.caib.seycon.ng.comu
Class DominiCorreu
- java.lang.Object
-
- es.caib.seycon.ng.comu.DominiCorreu
-
- All Implemented Interfaces:
Serializable
public class DominiCorreu extends Object implements Serializable
ValueObject DominiCorreu- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DominiCorreu()
DominiCorreu(DominiCorreu otherBean)
DominiCorreu(String codi)
DominiCorreu(String codi, String descripcio, Long id, Boolean obsolet)
-
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
getDescripcio()
Gets value for attribute descripcioLong
getId()
Gets value for attribute idBoolean
getObsolet()
Gets value for attribute obsoletvoid
setCode(String codi)
Sets value for attribute codivoid
setCodi(String codi)
Sets value for attribute codivoid
setDescripcio(String descripcio)
Sets value for attribute descripciovoid
setId(Long id)
Sets value for attribute idvoid
setObsolet(Boolean obsolet)
Sets value for attribute obsoletstatic DominiCorreu
toDominiCorreu(MailDomain vo)
Creates a DominiCorreu value object based on a MailDomain object.static void
toDominiCorreu(MailDomain source, DominiCorreu target)
Updates a DominiCorreu value object based on a MailDomain object.static DominiCorreu[]
toDominiCorreuArray(MailDomain[] source)
Creates a DominiCorreu array on a MailDomain array.static AsyncList<DominiCorreu>
toDominiCorreuAsyncList(AsyncList<MailDomain> source)
Creates a DominiCorreu asynclist on a MailDomain collection.static PagedResult<DominiCorreu>
toDominiCorreuList(PagedResult<MailDomain> source)
Creates a DominiCorreu pagedResult on a MailDomain collection.static List<DominiCorreu>
toDominiCorreuList(Collection<MailDomain> source)
Creates a DominiCorreu list on a MailDomain collection.String
toString()
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
-
getCode
public String getCode()
Gets value for attribute codi
-
setCode
public void setCode(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
-
getObsolet
public Boolean getObsolet()
Gets value for attribute obsolet
-
setObsolet
public void setObsolet(Boolean obsolet)
Sets value for attribute obsolet
-
toString
public String toString()
Returns a string representation of the value object.
-
toDominiCorreu
public static DominiCorreu toDominiCorreu(MailDomain vo)
Creates a DominiCorreu value object based on a MailDomain object.
-
toDominiCorreuList
public static List<DominiCorreu> toDominiCorreuList(Collection<MailDomain> source)
Creates a DominiCorreu list on a MailDomain collection.
-
toDominiCorreuList
public static PagedResult<DominiCorreu> toDominiCorreuList(PagedResult<MailDomain> source)
Creates a DominiCorreu pagedResult on a MailDomain collection.
-
toDominiCorreuAsyncList
public static AsyncList<DominiCorreu> toDominiCorreuAsyncList(AsyncList<MailDomain> source)
Creates a DominiCorreu asynclist on a MailDomain collection.
-
toDominiCorreuArray
public static DominiCorreu[] toDominiCorreuArray(MailDomain[] source)
Creates a DominiCorreu array on a MailDomain array.
-
toDominiCorreu
public static void toDominiCorreu(MailDomain source, DominiCorreu target)
Updates a DominiCorreu value object based on a MailDomain object.
-
-