Package es.caib.seycon.ng.comu
Class RolGrant
- java.lang.Object
-
- es.caib.seycon.ng.comu.RolGrant
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RolGrantHierarchy
public class RolGrant extends Object implements Serializable
ValueObject RolGrant- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RolGrant()RolGrant(RolGrant otherBean)RolGrant(Long id, Long idRol, String rolName, String roleDescription, String dispatcher, String informationSystem, boolean hasDomain, String domainValue, String domainDescription, String ownerAccountName, String ownerInformationSystem, String ownerDispatcher, String ownerGroup, Long ownerRol, String ownerRolDomainValue, String ownerRolName, String ownerRolDescription, String user, Date startDate, Date endDate, boolean enabled, String holderGroup, RoleDependencyStatus status, Boolean mandatory)RolGrant(Long idRol, String rolName, String dispatcher, boolean hasDomain, boolean enabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDispatcher()Gets value for attribute dispatcherStringgetDomainDescription()Gets value for attribute domainDescriptionStringgetDomainValue()Gets value for attribute domainValueDategetEndDate()Gets value for attribute endDateStringgetHolderGroup()Gets value for attribute holderGroupLonggetId()Gets value for attribute idLonggetIdRol()Gets value for attribute idRolStringgetInformationSystem()Gets value for attribute informationSystemBooleangetMandatory()Gets value for attribute mandatoryStringgetOwnerAccountName()Gets value for attribute ownerAccountNameStringgetOwnerDispatcher()Gets value for attribute ownerDispatcherStringgetOwnerGroup()Gets value for attribute ownerGroupStringgetOwnerInformationSystem()Gets value for attribute ownerInformationSystemLonggetOwnerRol()Gets value for attribute ownerRolStringgetOwnerRolDescription()Gets value for attribute ownerRolDescriptionStringgetOwnerRolDomainValue()Gets value for attribute ownerRolDomainValueStringgetOwnerRolName()Gets value for attribute ownerRolNameStringgetRoleDescription()Gets value for attribute roleDescriptionStringgetRolName()Gets value for attribute rolNameDategetStartDate()Gets value for attribute startDateRoleDependencyStatusgetStatus()Gets value for attribute statusStringgetUser()Gets value for attribute userbooleanisEnabled()Gets value for attribute enabledbooleanisHasDomain()Gets value for attribute hasDomainvoidsetDispatcher(String dispatcher)Sets value for attribute dispatchervoidsetDomainDescription(String domainDescription)Sets value for attribute domainDescriptionvoidsetDomainValue(String domainValue)Sets value for attribute domainValuevoidsetEnabled(boolean enabled)Sets value for attribute enabledvoidsetEndDate(Date endDate)Sets value for attribute endDatevoidsetHasDomain(boolean hasDomain)Sets value for attribute hasDomainvoidsetHolderGroup(String holderGroup)Sets value for attribute holderGroupvoidsetId(Long id)Sets value for attribute idvoidsetIdRol(Long idRol)Sets value for attribute idRolvoidsetInformationSystem(String informationSystem)Sets value for attribute informationSystemvoidsetMandatory(Boolean mandatory)Sets value for attribute mandatoryvoidsetOwnerAccountName(String ownerAccountName)Sets value for attribute ownerAccountNamevoidsetOwnerDispatcher(String ownerDispatcher)Sets value for attribute ownerDispatchervoidsetOwnerGroup(String ownerGroup)Sets value for attribute ownerGroupvoidsetOwnerInformationSystem(String ownerInformationSystem)Sets value for attribute ownerInformationSystemvoidsetOwnerRol(Long ownerRol)Sets value for attribute ownerRolvoidsetOwnerRolDescription(String ownerRolDescription)Sets value for attribute ownerRolDescriptionvoidsetOwnerRolDomainValue(String ownerRolDomainValue)Sets value for attribute ownerRolDomainValuevoidsetOwnerRolName(String ownerRolName)Sets value for attribute ownerRolNamevoidsetRoleDescription(String roleDescription)Sets value for attribute roleDescriptionvoidsetRolName(String rolName)Sets value for attribute rolNamevoidsetStartDate(Date startDate)Sets value for attribute startDatevoidsetStatus(RoleDependencyStatus status)Sets value for attribute statusvoidsetUser(String user)Sets value for attribute userstatic RolGranttoRolGrant(RoleGrant vo)Creates a RolGrant value object based on a RoleGrant object.static voidtoRolGrant(RoleGrant source, RolGrant target)Updates a RolGrant value object based on a RoleGrant object.static RolGrant[]toRolGrantArray(RoleGrant[] source)Creates a RolGrant array on a RoleGrant array.static AsyncList<RolGrant>toRolGrantAsyncList(AsyncList<RoleGrant> source)Creates a RolGrant asynclist on a RoleGrant collection.static PagedResult<RolGrant>toRolGrantList(PagedResult<RoleGrant> source)Creates a RolGrant pagedResult on a RoleGrant collection.static List<RolGrant>toRolGrantList(Collection<RoleGrant> source)Creates a RolGrant list on a RoleGrant collection.StringtoString()Returns a string representation of the value object.
-
-
-
Constructor Detail
-
RolGrant
public RolGrant()
-
RolGrant
public RolGrant(Long id, Long idRol, String rolName, String roleDescription, String dispatcher, String informationSystem, boolean hasDomain, String domainValue, String domainDescription, String ownerAccountName, String ownerInformationSystem, String ownerDispatcher, String ownerGroup, Long ownerRol, String ownerRolDomainValue, String ownerRolName, String ownerRolDescription, String user, Date startDate, Date endDate, boolean enabled, String holderGroup, RoleDependencyStatus status, Boolean mandatory)
-
RolGrant
public RolGrant(Long idRol, String rolName, String dispatcher, boolean hasDomain, boolean enabled)
-
RolGrant
public RolGrant(RolGrant otherBean)
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getIdRol
public Long getIdRol()
Gets value for attribute idRol
-
setIdRol
public void setIdRol(Long idRol)
Sets value for attribute idRol
-
getRolName
public String getRolName()
Gets value for attribute rolName
-
setRolName
public void setRolName(String rolName)
Sets value for attribute rolName
-
getRoleDescription
public String getRoleDescription()
Gets value for attribute roleDescription
-
setRoleDescription
public void setRoleDescription(String roleDescription)
Sets value for attribute roleDescription
-
getDispatcher
public String getDispatcher()
Gets value for attribute dispatcher
-
setDispatcher
public void setDispatcher(String dispatcher)
Sets value for attribute dispatcher
-
getInformationSystem
public String getInformationSystem()
Gets value for attribute informationSystem
-
setInformationSystem
public void setInformationSystem(String informationSystem)
Sets value for attribute informationSystem
-
isHasDomain
public boolean isHasDomain()
Gets value for attribute hasDomain
-
setHasDomain
public void setHasDomain(boolean hasDomain)
Sets value for attribute hasDomain
-
getDomainValue
public String getDomainValue()
Gets value for attribute domainValue
-
setDomainValue
public void setDomainValue(String domainValue)
Sets value for attribute domainValue
-
getDomainDescription
public String getDomainDescription()
Gets value for attribute domainDescription
-
setDomainDescription
public void setDomainDescription(String domainDescription)
Sets value for attribute domainDescription
-
getOwnerAccountName
public String getOwnerAccountName()
Gets value for attribute ownerAccountName
-
setOwnerAccountName
public void setOwnerAccountName(String ownerAccountName)
Sets value for attribute ownerAccountName
-
getOwnerInformationSystem
public String getOwnerInformationSystem()
Gets value for attribute ownerInformationSystem
-
setOwnerInformationSystem
public void setOwnerInformationSystem(String ownerInformationSystem)
Sets value for attribute ownerInformationSystem
-
getOwnerDispatcher
public String getOwnerDispatcher()
Gets value for attribute ownerDispatcher
-
setOwnerDispatcher
public void setOwnerDispatcher(String ownerDispatcher)
Sets value for attribute ownerDispatcher
-
getOwnerGroup
public String getOwnerGroup()
Gets value for attribute ownerGroup
-
setOwnerGroup
public void setOwnerGroup(String ownerGroup)
Sets value for attribute ownerGroup
-
getOwnerRol
public Long getOwnerRol()
Gets value for attribute ownerRol
-
setOwnerRol
public void setOwnerRol(Long ownerRol)
Sets value for attribute ownerRol
-
getOwnerRolDomainValue
public String getOwnerRolDomainValue()
Gets value for attribute ownerRolDomainValue
-
setOwnerRolDomainValue
public void setOwnerRolDomainValue(String ownerRolDomainValue)
Sets value for attribute ownerRolDomainValue
-
getOwnerRolName
public String getOwnerRolName()
Gets value for attribute ownerRolName
-
setOwnerRolName
public void setOwnerRolName(String ownerRolName)
Sets value for attribute ownerRolName
-
getOwnerRolDescription
public String getOwnerRolDescription()
Gets value for attribute ownerRolDescription
-
setOwnerRolDescription
public void setOwnerRolDescription(String ownerRolDescription)
Sets value for attribute ownerRolDescription
-
getUser
public String getUser()
Gets value for attribute user
-
setUser
public void setUser(String user)
Sets value for attribute user
-
getStartDate
public Date getStartDate()
Gets value for attribute startDate
-
setStartDate
public void setStartDate(Date startDate)
Sets value for attribute startDate
-
getEndDate
public Date getEndDate()
Gets value for attribute endDate
-
setEndDate
public void setEndDate(Date endDate)
Sets value for attribute endDate
-
isEnabled
public boolean isEnabled()
Gets value for attribute enabled
-
setEnabled
public void setEnabled(boolean enabled)
Sets value for attribute enabled
-
getHolderGroup
public String getHolderGroup()
Gets value for attribute holderGroup
-
setHolderGroup
public void setHolderGroup(String holderGroup)
Sets value for attribute holderGroup
-
getStatus
public RoleDependencyStatus getStatus()
Gets value for attribute status
-
setStatus
public void setStatus(RoleDependencyStatus status)
Sets value for attribute status
-
getMandatory
public Boolean getMandatory()
Gets value for attribute mandatory
-
setMandatory
public void setMandatory(Boolean mandatory)
Sets value for attribute mandatory
-
toString
public String toString()
Returns a string representation of the value object.
-
toRolGrant
public static RolGrant toRolGrant(RoleGrant vo)
Creates a RolGrant value object based on a RoleGrant object.
-
toRolGrantList
public static List<RolGrant> toRolGrantList(Collection<RoleGrant> source)
Creates a RolGrant list on a RoleGrant collection.
-
toRolGrantList
public static PagedResult<RolGrant> toRolGrantList(PagedResult<RoleGrant> source)
Creates a RolGrant pagedResult on a RoleGrant collection.
-
toRolGrantAsyncList
public static AsyncList<RolGrant> toRolGrantAsyncList(AsyncList<RoleGrant> source)
Creates a RolGrant asynclist on a RoleGrant collection.
-
toRolGrantArray
public static RolGrant[] toRolGrantArray(RoleGrant[] source)
Creates a RolGrant array on a RoleGrant array.
-
-