@Entity @DelegationCheck public class JPADelegation extends AbstractGeneratedKeyEntity implements Delegation
Modifier and Type | Field and Description |
---|---|
static String |
TABLE |
LOG
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
Constructor and Description |
---|
JPADelegation() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Role role) |
User |
getDelegated() |
User |
getDelegating() |
Date |
getEnd() |
Set<? extends Role> |
getRoles() |
Date |
getStart() |
void |
setDelegated(User delegated) |
void |
setDelegating(User delegating) |
void |
setEnd(Date end) |
void |
setStart(Date start) |
getKey, setKey
checkImplementationType, checkType, equals, hashCode, toString
public static final String TABLE
public User getDelegating()
getDelegating
in interface Delegation
public void setDelegating(User delegating)
setDelegating
in interface Delegation
public User getDelegated()
getDelegated
in interface Delegation
public void setDelegated(User delegated)
setDelegated
in interface Delegation
public Date getStart()
getStart
in interface Delegation
public void setStart(Date start)
setStart
in interface Delegation
public Date getEnd()
getEnd
in interface Delegation
public void setEnd(Date end)
setEnd
in interface Delegation
public boolean add(Role role)
add
in interface Delegation
public Set<? extends Role> getRoles()
getRoles
in interface Delegation
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.