com.sptci.jdo
Class Group
java.lang.Object
com.sptci.jdo.JDOObject
com.sptci.jdo.NameDescription
com.sptci.jdo.Group
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<JDOObject>, javax.jdo.InstanceCallbacks, javax.jdo.listener.ClearCallback, javax.jdo.listener.DeleteCallback, javax.jdo.listener.LoadCallback, javax.jdo.listener.StoreCallback
public class Group
- extends NameDescription
The JavaBean that represents a group record used to implement
authorisation. Sub-classes must use an inheritance strategy of InheritanceStrategy.SUPERCLASS_TABLE since this
class maintains a Discriminator policy.
- Version:
- $Id: Group.java 4618 2009-02-10 00:49:30Z rakesh $
- Author:
- Rakesh Vidyadharan 2006-05-10
- See Also:
© Copyright 2006 Sans Pareil Technologies, Inc.
,
Serialized Form
|
Constructor Summary |
protected |
Group()
Default constructor. |
|
Group(String name)
Create a new instance of the bean with the mandatory name field |
|
Group(String name,
String description)
Create a new instance of the bean with the specified values. |
| Methods inherited from class com.sptci.jdo.JDOObject |
clone, fromXML, getObjectId, getPersistenceManager, getStartLetter, jdoPostLoad, jdoPreClear, jdoPreDelete, jdoPreStore, resetHash, toString, toXML |
Group
protected Group()
- Default constructor. Cannot be instantiated.
Group
public Group(String name)
throws IllegalArgumentException
- Create a new instance of the bean with the mandatory name field
- Parameters:
name - The NameDescription.name value to use to create the new
instance
- Throws:
IllegalArgumentException - If the name value
specified is null or empty.
Group
public Group(String name,
String description)
throws IllegalArgumentException
- Create a new instance of the bean with the specified values.
- Parameters:
name - The NameDescription.name value to use to create the new
instancedescription - The NameDescription.description value to use to create
the new instance
- Throws:
IllegalArgumentException - If the name value
specified is null or empty.