Package es.caib.seycon.ng.comu
Class AbstractTipusUsuari
- java.lang.Object
-
- es.caib.seycon.ng.comu.AbstractTipusUsuari
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TipusUsuari
public abstract class AbstractTipusUsuari extends Object implements Serializable
ValueObject AbstractTipusUsuari- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractTipusUsuari()
AbstractTipusUsuari(boolean unmanaged, boolean managed)
AbstractTipusUsuari(AbstractTipusUsuari otherBean)
AbstractTipusUsuari(Long id, String codi, String descripcio, boolean unmanaged, boolean managed)
-
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
isManaged()
Gets value for attribute managedboolean
isUnmanaged()
Gets value for attribute unmanagedvoid
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
setManaged(boolean managed)
Sets value for attribute managedvoid
setUnmanaged(boolean unmanaged)
Sets value for attribute unmanagedString
toString()
Returns a string representation of the value object.static TipusUsuari
toTipusUsuari(UserType vo)
Creates a TipusUsuari value object based on a UserType object.static void
toTipusUsuari(UserType source, AbstractTipusUsuari target)
Updates a TipusUsuari value object based on a UserType object.static TipusUsuari[]
toTipusUsuariArray(UserType[] source)
Creates a TipusUsuari array on a UserType array.static AsyncList<TipusUsuari>
toTipusUsuariAsyncList(AsyncList<UserType> source)
Creates a TipusUsuari asynclist on a UserType collection.static PagedResult<TipusUsuari>
toTipusUsuariList(PagedResult<UserType> source)
Creates a TipusUsuari pagedResult on a UserType collection.static List<TipusUsuari>
toTipusUsuariList(Collection<UserType> source)
Creates a TipusUsuari list on a UserType collection.
-
-
-
Constructor Detail
-
AbstractTipusUsuari
public AbstractTipusUsuari()
-
AbstractTipusUsuari
public AbstractTipusUsuari(Long id, String codi, String descripcio, boolean unmanaged, boolean managed)
-
AbstractTipusUsuari
public AbstractTipusUsuari(boolean unmanaged, boolean managed)
-
AbstractTipusUsuari
public AbstractTipusUsuari(AbstractTipusUsuari otherBean)
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
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
-
isUnmanaged
public boolean isUnmanaged()
Gets value for attribute unmanaged
-
setUnmanaged
public void setUnmanaged(boolean unmanaged)
Sets value for attribute unmanaged
-
isManaged
public boolean isManaged()
Gets value for attribute managed
-
setManaged
public void setManaged(boolean managed)
Sets value for attribute managed
-
toString
public String toString()
Returns a string representation of the value object.
-
toTipusUsuari
public static TipusUsuari toTipusUsuari(UserType vo)
Creates a TipusUsuari value object based on a UserType object.
-
toTipusUsuariList
public static List<TipusUsuari> toTipusUsuariList(Collection<UserType> source)
Creates a TipusUsuari list on a UserType collection.
-
toTipusUsuariList
public static PagedResult<TipusUsuari> toTipusUsuariList(PagedResult<UserType> source)
Creates a TipusUsuari pagedResult on a UserType collection.
-
toTipusUsuariAsyncList
public static AsyncList<TipusUsuari> toTipusUsuariAsyncList(AsyncList<UserType> source)
Creates a TipusUsuari asynclist on a UserType collection.
-
toTipusUsuariArray
public static TipusUsuari[] toTipusUsuariArray(UserType[] source)
Creates a TipusUsuari array on a UserType array.
-
toTipusUsuari
public static void toTipusUsuari(UserType source, AbstractTipusUsuari target)
Updates a TipusUsuari value object based on a UserType object.
-
-