Package es.caib.seycon.ng.comu
Class OsType
- java.lang.Object
-
- es.caib.seycon.ng.comu.OsType
-
- All Implemented Interfaces:
Serializable
public class OsType extends Object implements Serializable
ValueObject OsType- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Gets value for attribute descriptionLong
getId()
Gets value for attribute idString
getName()
Gets 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 namestatic OsType
toOsType(OsType vo)
Creates a OsType value object based on a OsType object.static void
toOsType(OsType source, OsType target)
Updates a OsType value object based on a OsType object.static OsType[]
toOsTypeArray(OsType[] source)
Creates a OsType array on a OsType array.static AsyncList<OsType>
toOsTypeAsyncList(AsyncList<OsType> source)
Creates a OsType asynclist on a OsType collection.static PagedResult<OsType>
toOsTypeList(PagedResult<OsType> source)
Creates a OsType pagedResult on a OsType collection.static List<OsType>
toOsTypeList(Collection<OsType> source)
Creates a OsType list on a OsType 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
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(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
-
toString
public String toString()
Returns a string representation of the value object.
-
toOsType
public static OsType toOsType(OsType vo)
Creates a OsType value object based on a OsType object.
-
toOsTypeList
public static List<OsType> toOsTypeList(Collection<OsType> source)
Creates a OsType list on a OsType collection.
-
toOsTypeList
public static PagedResult<OsType> toOsTypeList(PagedResult<OsType> source)
Creates a OsType pagedResult on a OsType collection.
-
toOsTypeAsyncList
public static AsyncList<OsType> toOsTypeAsyncList(AsyncList<OsType> source)
Creates a OsType asynclist on a OsType collection.
-
toOsTypeArray
public static OsType[] toOsTypeArray(OsType[] source)
Creates a OsType array on a OsType array.
-
-