function NewsFlash(id, headercontent, bodycontent) {
	this.id = id;
	this.headercontent = headercontent;
	this.bodycontent = bodycontent;
}
NewsFlash.prototype.setId = function(id) {
	this.id = id;
}

NewsFlash.prototype.getId = function(){
	return this.id;
}

NewsFlash.prototype.setHeadercontent = function(headercontent) {
	this.headercontent = headercontent;
}

NewsFlash.prototype.getHeadercontent = function(){
	return this.headercontent;
}

NewsFlash.prototype.setBodycontent = function(bodycontent) {
	this.bodycontent = bodycontent;
}

NewsFlash.prototype.getBodycontent = function(){
	return this.bodycontent;
}

NewsFlash.prototype.toString = function(){
	return 'Id: ' + (this.id != null ? this.id : 'null') + ', Header: ' + (this.headercontent != null ? this.headercontent : 'null') + ', Body: ' + (this.bodycontent != null ? this.bodycontent : 'null');	
}

function ShortNews(locale, title, releaseDate, type) 
{
	this.locale = locale;
	this.title = title;
	this.releaseDate = releaseDate;
	this.type = type;
}
ShortNews.prototype.setLocale = function(locale) {
	this.locale = locale;
}
ShortNews.prototype.getLocale = function(){
	return this.locale;
}
ShortNews.prototype.setTitle = function(title) {
	this.title = title;
}
ShortNews.prototype.getTitle = function(){
	return this.title;
}
ShortNews.prototype.setReleaseDate = function(releaseDate) {
	this.releaseDate = releaseDate;
}
ShortNews.prototype.getReleaseDate = function(){
	return this.releaseDate;
}
ShortNews.prototype.setType = function(type) {
	this.type = type;
}
ShortNews.prototype.getType = function(){
	return this.type;
}
ShortNews.prototype.toString = function(){
	return 'ShortNews: ' + (this.locale != null ? this.locale : 'null') + ', Title: ' + (this.title!= null ? this.title : 'null') + ', Release: ' + (this.releaseDate!= null ? this.releaseDate : 'null');	
}


function LinkItem(url, description) {
	this.url = url;
	this.description = description;
}
LinkItem.prototype.setDescription = function(description) {
	this.description = description;
}

LinkItem.prototype.getDescription = function(){
	return this.description;
}

LinkItem.prototype.setUrl = function(url) {
	this.url = url;
}

LinkItem.prototype.getUrl = function(){
	return this.url;
}

LinkItem.prototype.toString = function(){
	return 'LinkItem: url' + (this.url != null ? this.url : "null") + ', Description: ' + (this.description != null ? this.description : "null") + '.';	
}


function Office(name, street, areaCode, areaName, country, phone, fax) 
{
	this.name = name;
	this.street = street;
	this.areaCode = areaCode;
	this.areaName = areaName;
	this.country = country;
	this.phone = phone;
	this.fax = fax;
}

Office.prototype.setName = function(name) {
	this.name = name;
}

Office.prototype.getName = function(){
	return this.name;
}

Office.prototype.setStreet = function(street) {
	this.street = street;
}

Office.prototype.getStreet = function(){
	return this.street;
}

Office.prototype.setAreaCode = function(areaCode) {
	this.areaCode = areaCode;
}

Office.prototype.getAreaCode = function(){
	return this.areaCode;
}

Office.prototype.setAreaName = function(areaName) {
	this.areaName = areaName;
}

Office.prototype.getAreaName = function(){
	return this.areaName;
}

Office.prototype.setCountry = function(country) {
	this.country = country;
}

Office.prototype.getCountry = function(){
	return this.country;
}

Office.prototype.setPhone = function(phone) {
	this.phone = phone;
}

Office.prototype.getPhone = function(){
	return this.phone;
}

Office.prototype.setFax = function(fax) {
	this.fax = fax;
}

Office.prototype.getFax = function(){
	return this.fax;
}

Office.prototype.toString = function(){
	return 'Office (Name: ' + (this.name != null ? this.name : 'null') + ', Street: ' + (this.street != null ? this.street : 'null') + ', AreaCode: ' + (this.areaCode != null ? this.areaCode : 'null') + ', AreaName: ' + (this.areaName != null ? this.areaName : "null") + ', Country: ' + (this.country != null ? this.country : "null") + ', Phone: ' + (this.phone != null ? this.phone : "null") + ', Fax: ' + (this.fax != null ? this.fax : "null") + ')';	
}

function Contact(id, name, role, address) 
{
	this.id = id;
	this.name = name;
	this.role = role;
	this.address = address;
}

Contact.prototype.setId = function(id) {
	this.id = id;
}

Contact.prototype.getId = function(){
	return this.id;
}

Contact.prototype.setName = function(name) {
	this.name = name;
}

Contact.prototype.getName = function(){
	return this.name;
}

Contact.prototype.setRole = function(role) {
	this.name = role;
}

Contact.prototype.getRole = function(){
	return this.role;
}

Contact.prototype.setAddress = function(address) {
	this.address = address;
}

Contact.prototype.getAddress = function(){
	return this.address;
}

Contact.prototype.toString = function(){
	return 'Contact (Id: ' + (this.id != null ? this.id : 'null') + ', Name: ' + (this.name != null ? this.name : 'null') + ', Role: ' + (this.role != null ? this.role : 'null') + ', Address: ' + (this.address != null ? this.address : 'null') + ')';	
}

