Package com.soffid.iam.api
Class MailDomain
- java.lang.Object
-
- com.soffid.iam.api.MailDomain
-
- All Implemented Interfaces:
Serializable
public class MailDomain extends Object implements Serializable
ValueObject MailDomain- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MailDomain()
MailDomain(MailDomain otherBean)
MailDomain(String name)
MailDomain(String name, String description, Long id, Boolean obsolete)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Gets value for attribute nameString
getDescription()
Gets value for attribute descriptionLong
getId()
Gets value for attribute idString
getName()
Gets value for attribute nameBoolean
getObsolete()
Gets value for attribute obsoletevoid
setCode(String name)
Sets value for attribute namevoid
setDescription(String description)
Sets value for attribute descriptionvoid
setId(Long id)
Sets value for attribute idvoid
setName(String name)
Sets value for attribute namevoid
setObsolete(Boolean obsolete)
Sets value for attribute obsoletestatic MailDomain
toMailDomain(DominiCorreu vo)
Creates a MailDomain value object based on a DominiCorreu object.static void
toMailDomain(DominiCorreu source, MailDomain target)
Updates a MailDomain value object based on a DominiCorreu object.static MailDomain[]
toMailDomainArray(DominiCorreu[] source)
Creates a MailDomain array on a DominiCorreu array.static AsyncList<MailDomain>
toMailDomainAsyncList(AsyncList<DominiCorreu> source)
Creates a MailDomain asynclist on a DominiCorreu collection.static PagedResult<MailDomain>
toMailDomainList(PagedResult<DominiCorreu> source)
Creates a MailDomain pagedResult on a DominiCorreu collection.static List<MailDomain>
toMailDomainList(Collection<DominiCorreu> source)
Creates a MailDomain list on a DominiCorreu collection.String
toString()
Returns a string representation of the value object.
-
-
-
Method Detail
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getCode
public String getCode()
Gets value for attribute name
-
setCode
public void setCode(String name)
Sets value for attribute name
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getObsolete
public Boolean getObsolete()
Gets value for attribute obsolete
-
setObsolete
public void setObsolete(Boolean obsolete)
Sets value for attribute obsolete
-
toString
public String toString()
Returns a string representation of the value object.
-
toMailDomain
public static MailDomain toMailDomain(DominiCorreu vo)
Creates a MailDomain value object based on a DominiCorreu object.
-
toMailDomainList
public static List<MailDomain> toMailDomainList(Collection<DominiCorreu> source)
Creates a MailDomain list on a DominiCorreu collection.
-
toMailDomainList
public static PagedResult<MailDomain> toMailDomainList(PagedResult<DominiCorreu> source)
Creates a MailDomain pagedResult on a DominiCorreu collection.
-
toMailDomainAsyncList
public static AsyncList<MailDomain> toMailDomainAsyncList(AsyncList<DominiCorreu> source)
Creates a MailDomain asynclist on a DominiCorreu collection.
-
toMailDomainArray
public static MailDomain[] toMailDomainArray(DominiCorreu[] source)
Creates a MailDomain array on a DominiCorreu array.
-
toMailDomain
public static void toMailDomain(DominiCorreu source, MailDomain target)
Updates a MailDomain value object based on a DominiCorreu object.
-
-