za.org.coefficient.authentication
Class ProjectMember

java.lang.Object
  extended by za.org.coefficient.authentication.ProjectMember
All Implemented Interfaces:
java.io.Serializable

public class ProjectMember
extends java.lang.Object
implements java.io.Serializable

Title: Project Engine Description: Memeber containing a CoefficientUser and a Role, created by projects Copyright: Copyright (c) 2003 Company: icomtek CSIR

Version:
1.0
Author:
Dylan Etkin
See Also:
Serialized Form

Field Summary
private  CoefficientUser coefficientUser
           
private  java.lang.Long id
           
private  Role projectRole
           
private  long version
           
 
Constructor Summary
ProjectMember()
           
ProjectMember(CoefficientUser user, Role projectRole)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 CoefficientUser getCoefficientUser()
          Gets the value of user
 java.lang.Long getId()
           
 Role getProjectRole()
          Gets the value of projectRole
 long getVersion()
          Gets the value of version
 void setCoefficientUser(CoefficientUser user)
          Sets the value of user
 void setId(java.lang.Long id)
           
 void setProjectRole(Role argProjectRole)
          Sets the value of projectRole
 void setVersion(long version)
          Sets the value of version
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coefficientUser

private CoefficientUser coefficientUser

id

private java.lang.Long id

projectRole

private Role projectRole

version

private long version
Constructor Detail

ProjectMember

public ProjectMember()

ProjectMember

public ProjectMember(CoefficientUser user,
                     Role projectRole)
Method Detail

setId

public void setId(java.lang.Long id)

getId

public java.lang.Long getId()

setCoefficientUser

public void setCoefficientUser(CoefficientUser user)
Sets the value of user

Parameters:
user - Value to assign to this.user

getCoefficientUser

public CoefficientUser getCoefficientUser()
Gets the value of user

Returns:
the value of user

setProjectRole

public void setProjectRole(Role argProjectRole)
Sets the value of projectRole

Parameters:
argProjectRole - Value to assign to this.projectRole

getProjectRole

public Role getProjectRole()
Gets the value of projectRole

Returns:
the value of projectRole

setVersion

public void setVersion(long version)
Sets the value of version

Parameters:
version - Value to assign to this.version

getVersion

public long getVersion()
Gets the value of version

Returns:
the value of version

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object


Copyright CSIR. All Rights Reserved.