com.jscape.inet.vfs
Class Group

java.lang.Object
  extended by com.jscape.inet.vfs.Group

public final class Group
extends java.lang.Object

Users group abstraction. Represents named resources set available for all users in group.

Version:
1.0
Author:
Alex Usun

Nested Class Summary
static class Group.Delegate
           
 
Constructor Summary
Group(Group that)
          Copy constructor.
Group(java.lang.String name, VirtualFileDescriptor[] paths)
          Creates a new user instance.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
          Returns the group name.
 VirtualFileDescriptor[] getResources()
          Returns the group virtual paths.
 int hashCode()
           
 void setResources(VirtualFileDescriptor[] resources)
          Sets the group virtual path array.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Group

public Group(java.lang.String name,
             VirtualFileDescriptor[] paths)
Creates a new user instance.

Parameters:
name - the group name
paths - the virtual paths associated with this new group

Group

public Group(Group that)
Copy constructor.

Parameters:
that - Group instance will be copied
Method Detail

getName

public java.lang.String getName()
Returns the group name.

Returns:
Return the group name

getResources

public VirtualFileDescriptor[] getResources()
Returns the group virtual paths.

Returns:
the group virtual paths

setResources

public void setResources(VirtualFileDescriptor[] resources)
Sets the group virtual path array.

Parameters:
resources - The new group virtual paths array

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2007 JSCAPE Corp. All Rights Reserved.