Package es.caib.seycon.ng.comu
Class AbstractRol
- java.lang.Object
-
- es.caib.seycon.ng.comu.AbstractRol
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Rol
public abstract class AbstractRol extends Object implements Serializable
ValueObject AbstractRol- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractRol()
AbstractRol(AbstractRol otherBean)
AbstractRol(String nom, String descripcio, String baseDeDades, String codiAplicacio)
AbstractRol(String nom, String descripcio, String baseDeDades, String category, Boolean defecte, Boolean contrasenya, String codiAplicacio, Long id, String domini, Collection<RolGrant> ownerRoles, Collection<Grup> ownerGroups, Collection<RolGrant> granteeGroups, Collection<RolGrant> ownedRoles, Boolean gestionableWF, Date approvalStart, Date approvalEnd, Map<String,Object> attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getApprovalEnd()
Gets value for attribute approvalEndDate
getApprovalStart()
Gets value for attribute approvalStartMap<String,Object>
getAttributes()
Gets value for attribute attributesString
getBaseDeDades()
Gets value for attribute baseDeDadesBoolean
getBpmEnforced()
Gets value for attribute gestionableWFString
getCategory()
Gets value for attribute categoryString
getCodiAplicacio()
Gets value for attribute codiAplicacioBoolean
getContrasenya()
Gets value for attribute contrasenyaBoolean
getDefecte()
Gets value for attribute defecteString
getDescripcio()
Gets value for attribute descripcioString
getDomini()
Gets value for attribute dominiBoolean
getGestionableWF()
Gets value for attribute gestionableWFCollection<RolGrant>
getGranteeGroups()
Gets value for attribute granteeGroupsLong
getId()
Gets value for attribute idString
getNom()
Gets value for attribute nomCollection<RolGrant>
getOwnedRoles()
Gets value for attribute ownedRolesCollection<Grup>
getOwnerGroups()
Gets value for attribute ownerGroupsCollection<RolGrant>
getOwnerRoles()
Gets value for attribute ownerRolesvoid
setApprovalEnd(Date approvalEnd)
Sets value for attribute approvalEndvoid
setApprovalStart(Date approvalStart)
Sets value for attribute approvalStartvoid
setAttributes(Map<String,Object> attributes)
Sets value for attribute attributesvoid
setBaseDeDades(String baseDeDades)
Sets value for attribute baseDeDadesvoid
setBpmEnforced(Boolean gestionableWF)
Sets value for attribute gestionableWFvoid
setCategory(String category)
Sets value for attribute categoryvoid
setCodiAplicacio(String codiAplicacio)
Sets value for attribute codiAplicaciovoid
setContrasenya(Boolean contrasenya)
Sets value for attribute contrasenyavoid
setDefecte(Boolean defecte)
Sets value for attribute defectevoid
setDescripcio(String descripcio)
Sets value for attribute descripciovoid
setDomini(String domini)
Sets value for attribute dominivoid
setGestionableWF(Boolean gestionableWF)
Sets value for attribute gestionableWFvoid
setGranteeGroups(Collection<RolGrant> granteeGroups)
Sets value for attribute granteeGroupsvoid
setId(Long id)
Sets value for attribute idvoid
setNom(String nom)
Sets value for attribute nomvoid
setOwnedRoles(Collection<RolGrant> ownedRoles)
Sets value for attribute ownedRolesvoid
setOwnerGroups(Collection<Grup> ownerGroups)
Sets value for attribute ownerGroupsvoid
setOwnerRoles(Collection<RolGrant> ownerRoles)
Sets value for attribute ownerRolesstatic Rol
toRol(Role vo)
Creates a Rol value object based on a Role object.static void
toRol(Role source, AbstractRol target)
Updates a Rol value object based on a Role object.static Rol[]
toRolArray(Role[] source)
Creates a Rol array on a Role array.static AsyncList<Rol>
toRolAsyncList(AsyncList<Role> source)
Creates a Rol asynclist on a Role collection.static PagedResult<Rol>
toRolList(PagedResult<Role> source)
Creates a Rol pagedResult on a Role collection.static List<Rol>
toRolList(Collection<Role> source)
Creates a Rol list on a Role collection.String
toString()
Returns a string representation of the value object.
-
-
-
Constructor Detail
-
AbstractRol
public AbstractRol()
-
AbstractRol
public AbstractRol(String nom, String descripcio, String baseDeDades, String category, Boolean defecte, Boolean contrasenya, String codiAplicacio, Long id, String domini, Collection<RolGrant> ownerRoles, Collection<Grup> ownerGroups, Collection<RolGrant> granteeGroups, Collection<RolGrant> ownedRoles, Boolean gestionableWF, Date approvalStart, Date approvalEnd, Map<String,Object> attributes)
-
AbstractRol
public AbstractRol(String nom, String descripcio, String baseDeDades, String codiAplicacio)
-
AbstractRol
public AbstractRol(AbstractRol otherBean)
-
-
Method Detail
-
getNom
public String getNom()
Gets value for attribute nom
-
setNom
public void setNom(String nom)
Sets value for attribute nom
-
getDescripcio
public String getDescripcio()
Gets value for attribute descripcio
-
setDescripcio
public void setDescripcio(String descripcio)
Sets value for attribute descripcio
-
getBaseDeDades
public String getBaseDeDades()
Gets value for attribute baseDeDades
-
setBaseDeDades
public void setBaseDeDades(String baseDeDades)
Sets value for attribute baseDeDades
-
getCategory
public String getCategory()
Gets value for attribute category
-
setCategory
public void setCategory(String category)
Sets value for attribute category
-
getDefecte
public Boolean getDefecte()
Gets value for attribute defecte
-
setDefecte
public void setDefecte(Boolean defecte)
Sets value for attribute defecte
-
getContrasenya
public Boolean getContrasenya()
Gets value for attribute contrasenya
-
setContrasenya
public void setContrasenya(Boolean contrasenya)
Sets value for attribute contrasenya
-
getCodiAplicacio
public String getCodiAplicacio()
Gets value for attribute codiAplicacio
-
setCodiAplicacio
public void setCodiAplicacio(String codiAplicacio)
Sets value for attribute codiAplicacio
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getDomini
public String getDomini()
Gets value for attribute domini
-
setDomini
public void setDomini(String domini)
Sets value for attribute domini
-
getOwnerRoles
public Collection<RolGrant> getOwnerRoles()
Gets value for attribute ownerRoles
-
setOwnerRoles
public void setOwnerRoles(Collection<RolGrant> ownerRoles)
Sets value for attribute ownerRoles
-
getOwnerGroups
public Collection<Grup> getOwnerGroups()
Gets value for attribute ownerGroups
-
setOwnerGroups
public void setOwnerGroups(Collection<Grup> ownerGroups)
Sets value for attribute ownerGroups
-
getGranteeGroups
public Collection<RolGrant> getGranteeGroups()
Gets value for attribute granteeGroups
-
setGranteeGroups
public void setGranteeGroups(Collection<RolGrant> granteeGroups)
Sets value for attribute granteeGroups
-
getOwnedRoles
public Collection<RolGrant> getOwnedRoles()
Gets value for attribute ownedRoles
-
setOwnedRoles
public void setOwnedRoles(Collection<RolGrant> ownedRoles)
Sets value for attribute ownedRoles
-
getGestionableWF
public Boolean getGestionableWF()
Gets value for attribute gestionableWF
-
setGestionableWF
public void setGestionableWF(Boolean gestionableWF)
Sets value for attribute gestionableWF
-
getBpmEnforced
public Boolean getBpmEnforced()
Gets value for attribute gestionableWF
-
setBpmEnforced
public void setBpmEnforced(Boolean gestionableWF)
Sets value for attribute gestionableWF
-
getApprovalStart
public Date getApprovalStart()
Gets value for attribute approvalStart
-
setApprovalStart
public void setApprovalStart(Date approvalStart)
Sets value for attribute approvalStart
-
getApprovalEnd
public Date getApprovalEnd()
Gets value for attribute approvalEnd
-
setApprovalEnd
public void setApprovalEnd(Date approvalEnd)
Sets value for attribute approvalEnd
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Sets value for attribute attributes
-
toString
public String toString()
Returns a string representation of the value object.
-
toRolList
public static List<Rol> toRolList(Collection<Role> source)
Creates a Rol list on a Role collection.
-
toRolList
public static PagedResult<Rol> toRolList(PagedResult<Role> source)
Creates a Rol pagedResult on a Role collection.
-
toRolAsyncList
public static AsyncList<Rol> toRolAsyncList(AsyncList<Role> source)
Creates a Rol asynclist on a Role collection.
-
toRol
public static void toRol(Role source, AbstractRol target)
Updates a Rol value object based on a Role object.
-
-