Package com.soffid.iam.api
Class AbstractUserType
- java.lang.Object
-
- com.soffid.iam.api.AbstractUserType
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UserType
public abstract class AbstractUserType extends Object implements Serializable
ValueObject AbstractUserType- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractUserType()
AbstractUserType(boolean unmanaged, boolean managed)
AbstractUserType(AbstractUserType otherBean)
AbstractUserType(Long id, String name, String description, 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 nameString
getDescription()
Gets value for attribute descriptionLong
getId()
Gets value for attribute idString
getName()
Gets value for attribute nameboolean
isManaged()
Gets value for attribute managedboolean
isUnmanaged()
Gets value for attribute unmanagedvoid
setCode(String name)
Sets value for attribute namevoid
setDescription(String description)
Sets value for attribute descriptionvoid
setId(Long id)
Sets value for attribute idvoid
setManaged(boolean managed)
Sets value for attribute managedvoid
setName(String name)
Sets value for attribute namevoid
setUnmanaged(boolean unmanaged)
Sets value for attribute unmanagedString
toString()
Returns a string representation of the value object.static UserType
toUserType(TipusUsuari vo)
Creates a UserType value object based on a TipusUsuari object.static void
toUserType(TipusUsuari source, AbstractUserType target)
Updates a UserType value object based on a TipusUsuari object.static UserType[]
toUserTypeArray(TipusUsuari[] source)
Creates a UserType array on a TipusUsuari array.static AsyncList<UserType>
toUserTypeAsyncList(AsyncList<TipusUsuari> source)
Creates a UserType asynclist on a TipusUsuari collection.static PagedResult<UserType>
toUserTypeList(PagedResult<TipusUsuari> source)
Creates a UserType pagedResult on a TipusUsuari collection.static List<UserType>
toUserTypeList(Collection<TipusUsuari> source)
Creates a UserType list on a TipusUsuari collection.
-
-
-
Constructor Detail
-
AbstractUserType
public AbstractUserType()
-
AbstractUserType
public AbstractUserType(Long id, String name, String description, boolean unmanaged, boolean managed)
-
AbstractUserType
public AbstractUserType(boolean unmanaged, boolean managed)
-
AbstractUserType
public AbstractUserType(AbstractUserType otherBean)
-
-
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
-
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
-
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.
-
toUserType
public static UserType toUserType(TipusUsuari vo)
Creates a UserType value object based on a TipusUsuari object.
-
toUserTypeList
public static List<UserType> toUserTypeList(Collection<TipusUsuari> source)
Creates a UserType list on a TipusUsuari collection.
-
toUserTypeList
public static PagedResult<UserType> toUserTypeList(PagedResult<TipusUsuari> source)
Creates a UserType pagedResult on a TipusUsuari collection.
-
toUserTypeAsyncList
public static AsyncList<UserType> toUserTypeAsyncList(AsyncList<TipusUsuari> source)
Creates a UserType asynclist on a TipusUsuari collection.
-
toUserTypeArray
public static UserType[] toUserTypeArray(TipusUsuari[] source)
Creates a UserType array on a TipusUsuari array.
-
toUserType
public static void toUserType(TipusUsuari source, AbstractUserType target)
Updates a UserType value object based on a TipusUsuari object.
-
-