Rakesh API

org.rakeshv.xml.addressbook
Class Group

java.lang.Object
  extended by org.rakeshv.xml.addressbook.Group

public class Group
extends java.lang.Object

A bean that represents a email group entry in the address book XML file.

Copyright 2003 Rakesh Vidyadharan

Version:
$Id: Group.java,v 1.3 2004/05/26 11:42:40 rakesh Exp $
Author:
Rakesh Vidyadharan 2003 February 12

Field Summary
private  java.lang.String description
          A description of the group.
private  java.util.List members
          The list of Member beans that together constitute the email group.
private  java.lang.String nickname
          The name of the email group.
 
Constructor Summary
Group()
          Default constructor.
Group(java.lang.String nickname)
          Create a new instance of the class with the specified nickname.
Group(java.lang.String nickname, java.util.List members)
          Create a new instance of the class with the specified nickname and the specified list of members.
Group(java.lang.String nickname, java.lang.String description, java.util.List members)
          Create a new instance of the class with the specified nickname, description and the specified list of members.
 
Method Summary
 java.lang.String getDescription()
          Return the value/reference of the description.
 java.util.List getMembers()
          Return the value/reference of the members.
 java.lang.String getNickname()
          Return the value/reference of the nickname.
 void setDescription(java.lang.String description)
          Set the value of description.
 void setMembers(java.util.List members)
          Set the value of members.
 void setNickname(java.lang.String nickname)
          Set the value of nickname.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nickname

private java.lang.String nickname
The name of the email group.


description

private java.lang.String description
A description of the group.


members

private java.util.List members
The list of Member beans that together constitute the email group.

Constructor Detail

Group

public Group()
Default constructor. Simply serves to obtain an instance of the class, which can then be populated by invoking the class mutator methods.


Group

public Group(java.lang.String nickname)
Create a new instance of the class with the specified nickname.

Parameters:
nickname - - The nickname value to set.

Group

public Group(java.lang.String nickname,
             java.util.List members)
Create a new instance of the class with the specified nickname and the specified list of members.

Parameters:
nickname - - The nickname value to set.
members - - The members value to set.

Group

public Group(java.lang.String nickname,
             java.lang.String description,
             java.util.List members)
Create a new instance of the class with the specified nickname, description and the specified list of members.

Parameters:
nickname - - The nickname value to set.
description - - The description value to set.
members - - The members value to set.
Method Detail

getNickname

public final java.lang.String getNickname()
Return the value/reference of the nickname.

Returns:
String - The value/reference of nickname.

setNickname

public final void setNickname(java.lang.String nickname)
Set the value of nickname.

Parameters:
nickname - - The value to set.

getMembers

public final java.util.List getMembers()
Return the value/reference of the members.

Returns:
List - The value/reference of members.

setMembers

public final void setMembers(java.util.List members)
Set the value of members.

Parameters:
members - - The value to set.

getDescription

public final java.lang.String getDescription()
Return the value/reference of the description.

Returns:
String - The value/reference of description.

setDescription

public final void setDescription(java.lang.String description)
Set the value of description.

Parameters:
description - - The value to set.

Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan