Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

au.edu.educationau.belts.mock.school
Class MockSchoolEntity  view MockSchoolEntity download MockSchoolEntity.java

java.lang.Object
  extended byau.edu.educationau.belts.mock.school.MockSchoolEntity
All Implemented Interfaces:
au.edu.educationau.belts.model.Mutable, au.edu.educationau.belts.model.school.School, au.edu.educationau.belts.model.school.SchoolEntity

public class MockSchoolEntity
extends java.lang.Object
implements au.edu.educationau.belts.model.school.SchoolEntity

This class...

Version:
$Revision: 1.8 $ - $Date: 2003/02/28 06:43:05 $

Field Summary
 boolean _active
           
 au.edu.educationau.belts.mock.user.MockUserEntity _administrator
           
 java.util.Collection _administrators
           
 java.util.Collection _classes
           
 MockCountryEntity _country
           
 java.lang.String _id
           
 java.lang.String _name
           
 java.lang.String _phoneNumber
           
 java.lang.String _postcode
           
 MockSchoolClassEntity _schoolClass
           
 MockSectorEntity _sector
           
 MockSizeEntity _size
           
 MockStateEntity _state
           
 java.lang.String _street
           
 java.lang.String _suburb
           
 MockTypeEntity _type
           
 
Fields inherited from interface au.edu.educationau.belts.model.school.School
ACTIVE, CLASS, CLASSES, COUNTRY, ID, NAME, NAMESPACE, PHONE_NUMBER, POSTCODE, SCHOOL, SECTOR, SIZE, STATE, STREET, SUBURB, TYPE
 
Constructor Summary
MockSchoolEntity()
           
 
Method Summary
 void addAdministrator(au.edu.educationau.belts.model.user.User administrator)
           
 void addClass(au.edu.educationau.belts.model.school.SchoolClass schoolClass)
           
 boolean getActive()
           
 java.util.Collection getAdministrators()
           
 java.util.Collection getClasses()
           
 au.edu.educationau.belts.model.school.Country getCountry()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getPhoneNumber()
           
 java.lang.String getPostcode()
           
 au.edu.educationau.belts.model.school.Sector getSector()
           
 au.edu.educationau.belts.model.school.Size getSize()
           
 au.edu.educationau.belts.model.school.State getState()
           
 java.lang.String getStreet()
           
 java.lang.String getSuburb()
           
 au.edu.educationau.belts.model.school.Type getType()
           
 void removeAdministrator(au.edu.educationau.belts.model.user.User administrator)
           
 void removeClass(au.edu.educationau.belts.model.school.SchoolClass schoolClass)
           
 void setActive(boolean active)
           
 void setCountry(au.edu.educationau.belts.model.school.Country country)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 void setPhoneNumber(java.lang.String phoneNumber)
           
 void setPostcode(java.lang.String postcode)
           
 void setSector(au.edu.educationau.belts.model.school.Sector sector)
           
 void setSize(au.edu.educationau.belts.model.school.Size size)
           
 void setState(au.edu.educationau.belts.model.school.State state)
           
 void setStreet(java.lang.String street)
           
 void setSuburb(java.lang.String suburb)
           
 void setType(au.edu.educationau.belts.model.school.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_id

public java.lang.String _id

_name

public java.lang.String _name

_street

public java.lang.String _street

_suburb

public java.lang.String _suburb

_state

public MockStateEntity _state

_country

public MockCountryEntity _country

_postcode

public java.lang.String _postcode

_phoneNumber

public java.lang.String _phoneNumber

_sector

public MockSectorEntity _sector

_size

public MockSizeEntity _size

_type

public MockTypeEntity _type

_administrator

public au.edu.educationau.belts.mock.user.MockUserEntity _administrator

_administrators

public java.util.Collection _administrators

_schoolClass

public MockSchoolClassEntity _schoolClass

_classes

public java.util.Collection _classes

_active

public boolean _active
Constructor Detail

MockSchoolEntity

public MockSchoolEntity()
Method Detail

setId

public void setId(java.lang.String id)
Specified by:
setId in interface au.edu.educationau.belts.model.school.SchoolEntity

setName

public void setName(java.lang.String name)
Specified by:
setName in interface au.edu.educationau.belts.model.school.SchoolEntity

setStreet

public void setStreet(java.lang.String street)
Specified by:
setStreet in interface au.edu.educationau.belts.model.school.SchoolEntity

setSuburb

public void setSuburb(java.lang.String suburb)
Specified by:
setSuburb in interface au.edu.educationau.belts.model.school.SchoolEntity

setState

public void setState(au.edu.educationau.belts.model.school.State state)
Specified by:
setState in interface au.edu.educationau.belts.model.school.SchoolEntity

setCountry

public void setCountry(au.edu.educationau.belts.model.school.Country country)
Specified by:
setCountry in interface au.edu.educationau.belts.model.school.SchoolEntity

setPostcode

public void setPostcode(java.lang.String postcode)
Specified by:
setPostcode in interface au.edu.educationau.belts.model.school.SchoolEntity

setPhoneNumber

public void setPhoneNumber(java.lang.String phoneNumber)
Specified by:
setPhoneNumber in interface au.edu.educationau.belts.model.school.SchoolEntity

setSector

public void setSector(au.edu.educationau.belts.model.school.Sector sector)
Specified by:
setSector in interface au.edu.educationau.belts.model.school.SchoolEntity

setSize

public void setSize(au.edu.educationau.belts.model.school.Size size)
Specified by:
setSize in interface au.edu.educationau.belts.model.school.SchoolEntity

setType

public void setType(au.edu.educationau.belts.model.school.Type type)
Specified by:
setType in interface au.edu.educationau.belts.model.school.SchoolEntity

addClass

public void addClass(au.edu.educationau.belts.model.school.SchoolClass schoolClass)
Specified by:
addClass in interface au.edu.educationau.belts.model.school.SchoolEntity

removeClass

public void removeClass(au.edu.educationau.belts.model.school.SchoolClass schoolClass)
Specified by:
removeClass in interface au.edu.educationau.belts.model.school.SchoolEntity

getId

public java.lang.String getId()
Specified by:
getId in interface au.edu.educationau.belts.model.school.School

getName

public java.lang.String getName()
Specified by:
getName in interface au.edu.educationau.belts.model.school.School

getStreet

public java.lang.String getStreet()
Specified by:
getStreet in interface au.edu.educationau.belts.model.school.School

getSuburb

public java.lang.String getSuburb()
Specified by:
getSuburb in interface au.edu.educationau.belts.model.school.School

getState

public au.edu.educationau.belts.model.school.State getState()
Specified by:
getState in interface au.edu.educationau.belts.model.school.School

getCountry

public au.edu.educationau.belts.model.school.Country getCountry()
Specified by:
getCountry in interface au.edu.educationau.belts.model.school.School

getPostcode

public java.lang.String getPostcode()
Specified by:
getPostcode in interface au.edu.educationau.belts.model.school.School

getPhoneNumber

public java.lang.String getPhoneNumber()
Specified by:
getPhoneNumber in interface au.edu.educationau.belts.model.school.School

getSector

public au.edu.educationau.belts.model.school.Sector getSector()
Specified by:
getSector in interface au.edu.educationau.belts.model.school.School

getSize

public au.edu.educationau.belts.model.school.Size getSize()
Specified by:
getSize in interface au.edu.educationau.belts.model.school.School

getType

public au.edu.educationau.belts.model.school.Type getType()
Specified by:
getType in interface au.edu.educationau.belts.model.school.School

getAdministrators

public java.util.Collection getAdministrators()

getClasses

public java.util.Collection getClasses()
Specified by:
getClasses in interface au.edu.educationau.belts.model.school.School

setActive

public void setActive(boolean active)
Specified by:
setActive in interface au.edu.educationau.belts.model.school.SchoolEntity

getActive

public boolean getActive()
Specified by:
getActive in interface au.edu.educationau.belts.model.school.School

addAdministrator

public void addAdministrator(au.edu.educationau.belts.model.user.User administrator)

removeAdministrator

public void removeAdministrator(au.edu.educationau.belts.model.user.User administrator)