university
Class Addmissions

java.lang.Object
  extended by university.Unit
      extended by university.Admin
          extended by university.Addmissions
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Addmissions
extends Admin

Class for addmission in the university

See Also:
Serialized Form

Constructor Summary
protected Addmissions(java.lang.String name, Address address)
          Creates a new instance of Addmissions
 
Method Summary
static Unit create(java.lang.String name, Address address)
          Singleton method to create an instance of Addmissions.
static Unit getInstance()
          Returns an instance of the Addmission Unit.
 
Methods inherited from class university.Unit
getAddress, getName, setAddress, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Addmissions

protected Addmissions(java.lang.String name,
                      Address address)
Creates a new instance of Addmissions

Parameters:
name - The name of the Addmission Unit.
address - The Address of the Addmission Unit.
Method Detail

getInstance

public static Unit getInstance()
Returns an instance of the Addmission Unit.

Returns:
Unit An instance of Unit.

create

public static Unit create(java.lang.String name,
                          Address address)
Singleton method to create an instance of Addmissions.

Parameters:
name - The name of the Addmissions Unit.
address - The address of the Addmission Unit.
Returns:
Unit Returns an Addmission Unit.