Package com.soffid.iam.api
Class Service
- java.lang.Object
-
- com.soffid.iam.api.Service
-
- All Implemented Interfaces:
Serializable
public class Service extends Object implements Serializable
ValueObject Service- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Gets value for attribute codeStringgetDescription()Gets value for attribute descriptionLonggetId()Gets value for attribute idvoidsetCode(String code)Sets value for attribute codevoidsetDescription(String description)Sets value for attribute descriptionvoidsetId(Long id)Sets value for attribute idstatic ServicetoService(Servei vo)Creates a Service value object based on a Servei object.static voidtoService(Servei source, Service target)Updates a Service value object based on a Servei object.static Service[]toServiceArray(Servei[] source)Creates a Service array on a Servei array.static AsyncList<Service>toServiceAsyncList(AsyncList<Servei> source)Creates a Service asynclist on a Servei collection.static PagedResult<Service>toServiceList(PagedResult<Servei> source)Creates a Service pagedResult on a Servei collection.static List<Service>toServiceList(Collection<Servei> source)Creates a Service list on a Servei collection.StringtoString()Returns a string representation of the value object.
-
-
-
Method Detail
-
getCode
public String getCode()
Gets value for attribute code
-
setCode
public void setCode(String code)
Sets value for attribute code
-
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
-
toString
public String toString()
Returns a string representation of the value object.
-
toService
public static Service toService(Servei vo)
Creates a Service value object based on a Servei object.
-
toServiceList
public static List<Service> toServiceList(Collection<Servei> source)
Creates a Service list on a Servei collection.
-
toServiceList
public static PagedResult<Service> toServiceList(PagedResult<Servei> source)
Creates a Service pagedResult on a Servei collection.
-
toServiceAsyncList
public static AsyncList<Service> toServiceAsyncList(AsyncList<Servei> source)
Creates a Service asynclist on a Servei collection.
-
toServiceArray
public static Service[] toServiceArray(Servei[] source)
Creates a Service array on a Servei array.
-
-