com.openexchange.admin.soap.dataobjects
Class Group

java.lang.Object
  extended by com.openexchange.admin.soap.dataobjects.Group

public class Group
extends java.lang.Object

This class represents a group.


Constructor Summary
Group()
          Initiates an empty group object
Group(com.openexchange.admin.rmi.dataobjects.Group grp)
           
Group(java.lang.Integer id)
          Initiates a group object with the given id set
Group(java.lang.Integer id, java.lang.String name, java.lang.String displayname)
          Initiates a group object with the given id, name and display name set
 
Method Summary
 java.lang.String getDisplayname()
          Returns the displayname of this group
 java.lang.Integer getId()
           
 java.lang.Integer[] getMembers()
          Returns the members of this group
 java.lang.String getName()
           
 void setDisplayname(java.lang.String displayname)
          Sets the displayname for this group
 void setId(java.lang.Integer val)
           
 void setMembers(java.lang.Integer[] members)
          Sets the the members for this group
 void setName(java.lang.String val)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

public Group()
Initiates an empty group object


Group

public Group(java.lang.Integer id)
Initiates a group object with the given id set

Parameters:
id - An Integer containing the id

Group

public Group(java.lang.Integer id,
             java.lang.String name,
             java.lang.String displayname)
Initiates a group object with the given id, name and display name set

Parameters:
id - An Integer containing the id
name - A String containing the name
displayname - A String containing the display name

Group

public Group(com.openexchange.admin.rmi.dataobjects.Group grp)
Method Detail

getId

public final java.lang.Integer getId()

setId

public final void setId(java.lang.Integer val)

getName

public final java.lang.String getName()

setName

public final void setName(java.lang.String val)

getDisplayname

public final java.lang.String getDisplayname()
Returns the displayname of this group

Returns:
A String containing the displayname

setDisplayname

public final void setDisplayname(java.lang.String displayname)
Sets the displayname for this group

Parameters:
displayname - The displayname as string

getMembers

public final java.lang.Integer[] getMembers()
Returns the members of this group

Returns:
An Integer array containing the member ids

setMembers

public final void setMembers(java.lang.Integer[] members)
Sets the the members for this group

Parameters:
members - An Integer array containing the member ids