public class Membership extends java.lang.Object implements Identifiable
Modifier and Type | Field and Description |
---|---|
static Property<java.lang.Integer> |
DATABASE_ID
database numeric ID.
|
static Property<java.lang.Integer> |
GROUP_ID |
static Property<Project> |
PROJECT |
static Property<java.util.Set<Role>> |
ROLES |
static Property<java.lang.Integer> |
USER_ID
User.
|
Modifier and Type | Method and Description |
---|---|
void |
addRoles(java.util.Collection<Role> roles) |
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getGroupId() |
java.lang.Integer |
getId() |
Project |
getProject() |
java.util.Collection<Role> |
getRoles() |
PropertyStorage |
getStorage() |
java.lang.Integer |
getUserId() |
int |
hashCode() |
void |
setGroupId(java.lang.Integer id) |
void |
setProject(Project project) |
void |
setUserId(java.lang.Integer id) |
java.lang.String |
toString() |
public static final Property<java.lang.Integer> DATABASE_ID
public static final Property<java.lang.Integer> USER_ID
public static final Property<java.lang.Integer> GROUP_ID
public java.lang.Integer getId()
getId
in interface Identifiable
public Project getProject()
public void setProject(Project project)
public java.lang.Integer getUserId()
public void setUserId(java.lang.Integer id)
public java.lang.Integer getGroupId()
public void setGroupId(java.lang.Integer id)
public java.util.Collection<Role> getRoles()
public void addRoles(java.util.Collection<Role> roles)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public PropertyStorage getStorage()