JSCAPE MFT Server

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.

Author:
Alex Usun

Nested Class Summary
static class Group.Delegate
          A group persisntence delegate.
static class Group.GroupName
           
 
Constructor Summary
Group()
          Used in serialization sub-system.
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 setName(java.lang.String value)
          Sets group name.
 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

Group

public Group()
Used in serialization sub-system.

Method Detail

getName

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

Returns:
Return the group name

setName

public void setName(java.lang.String value)
Sets group name.

Parameters:
value - 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

hashCode

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

toString

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

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2013. All Rights Reserved