Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.workflow.organisation.impl
Class MembershipImpl  view MembershipImpl download MembershipImpl.java

java.lang.Object
  extended byorg.jbpm.workflow.organisation.impl.MembershipImpl
All Implemented Interfaces:
org.jbpm.workflow.organisation.Membership, java.io.Serializable

public class MembershipImpl
extends java.lang.Object
implements org.jbpm.workflow.organisation.Membership


Field Summary
private  org.jbpm.workflow.organisation.Group group
           
private  java.lang.Long id
           
private  java.lang.String role
           
private  java.lang.String type
           
private  org.jbpm.workflow.organisation.User user
           
 
Constructor Summary
MembershipImpl()
           
 
Method Summary
 org.jbpm.workflow.organisation.Group getGroup()
          the related org.jbpm.workflow.organisation.Group.
 java.lang.Long getId()
           
 java.lang.String getRole()
          the role that the org.jbpm.workflow.organisation.User performs for the org.jbpm.workflow.organisation.Group (optional)
 java.lang.String getType()
          the type of Membership allows distinction between 'hierarchical' and 'supportive' Memberships.
 org.jbpm.workflow.organisation.User getUser()
          the related org.jbpm.workflow.organisation.User.
 void setGroup(org.jbpm.workflow.organisation.Group group)
           
 void setId(java.lang.Long id)
           
 void setRole(java.lang.String role)
           
 void setType(java.lang.String type)
           
 void setUser(org.jbpm.workflow.organisation.User user)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private java.lang.Long id

role

private java.lang.String role

type

private java.lang.String type

group

private org.jbpm.workflow.organisation.Group group

user

private org.jbpm.workflow.organisation.User user
Constructor Detail

MembershipImpl

public MembershipImpl()
Method Detail

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getRole

public java.lang.String getRole()
Description copied from interface: org.jbpm.workflow.organisation.Membership
the role that the org.jbpm.workflow.organisation.User performs for the org.jbpm.workflow.organisation.Group (optional)

Specified by:
getRole in interface org.jbpm.workflow.organisation.Membership

setRole

public void setRole(java.lang.String role)

getType

public java.lang.String getType()
Description copied from interface: org.jbpm.workflow.organisation.Membership
the type of Membership allows distinction between 'hierarchical' and 'supportive' Memberships.

Specified by:
getType in interface org.jbpm.workflow.organisation.Membership

setType

public void setType(java.lang.String type)

getGroup

public org.jbpm.workflow.organisation.Group getGroup()
Description copied from interface: org.jbpm.workflow.organisation.Membership
the related org.jbpm.workflow.organisation.Group.

Specified by:
getGroup in interface org.jbpm.workflow.organisation.Membership

setGroup

public void setGroup(org.jbpm.workflow.organisation.Group group)

getUser

public org.jbpm.workflow.organisation.User getUser()
Description copied from interface: org.jbpm.workflow.organisation.Membership
the related org.jbpm.workflow.organisation.User.

Specified by:
getUser in interface org.jbpm.workflow.organisation.Membership

setUser

public void setUser(org.jbpm.workflow.organisation.User user)

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).