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 String
getCode()
Gets value for attribute codeString
getDescription()
Gets value for attribute descriptionLong
getId()
Gets value for attribute idvoid
setCode(String code)
Sets value for attribute codevoid
setDescription(String description)
Sets value for attribute descriptionvoid
setId(Long id)
Sets value for attribute idstatic Service
toService(Servei vo)
Creates a Service value object based on a Servei object.static void
toService(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.String
toString()
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.
-
-