com.novell.zos.jdl
Class GroupInfo

java.lang.Object
  extended by com.novell.zos.jdl.GridObjectInfo
      extended by com.novell.zos.jdl.GroupInfo

public class GroupInfo
extends GridObjectInfo

The GroupInfo class is a representation of Group grid objects. Operations include retrieving the group member lists and adding/removing from the group member lists, and retrieving and setting facts on the group.


Method Summary
 void addMember(GridObjectInfo member)
          Add a member to this group
 void addMember(java.lang.String member)
          Add a member to this group.
 org.python.core.PyList getMembers()
          Retrieve list of grid object members of this group.
 void removeMember(GridObjectInfo member)
          Remove a member from this group by grid object
 void removeMember(java.lang.String member)
          Remove a member from this group by name
 
Methods inherited from class com.novell.zos.jdl.GridObjectInfo
deleteFact, factExists, getFact, getFactLastModified, getFactNames, refresh, setArrayFact, setBooleanArrayFact, setDateArrayFact, setDateFact, setFact, setIntegerArrayFact, setRealArrayFact, setStringArrayFact, setTimeArrayFact, setTimeFact
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMembers

public org.python.core.PyList getMembers()
Retrieve list of grid object members of this group.

Returns:
List of group grid object members

addMember

public void addMember(java.lang.String member)
Add a member to this group.

Parameters:
member - Name of grid object to add

addMember

public void addMember(GridObjectInfo member)
Add a member to this group

Parameters:
member - Grid Object to add. No effect if already in group

removeMember

public void removeMember(java.lang.String member)
Remove a member from this group by name

Parameters:
member - Grid object name to remove from group

removeMember

public void removeMember(GridObjectInfo member)
Remove a member from this group by grid object

Parameters:
member - Grid object to remove from group


Copyright (c) 2008 Novell, Inc. All rights reserved.