package com.growthbeat.model;

import java.util.Date;

public class Connection extends Model {

	private Date created;
	private Application application;
	private Service service;
	private Account account;
	private Account childAccount;
	private Credential credential;

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Application getApplication() {
		return application;
	}

	public void setApplication(Application application) {
		this.application = application;
	}

	public Service getService() {
		return service;
	}

	public void setService(Service service) {
		this.service = service;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public Account getChildAccount() {
		return childAccount;
	}

	public void setChildAccount(Account childAccount) {
		this.childAccount = childAccount;
	}

	public Credential getCredential() {
		return credential;
	}

	public void setCredential(Credential credential) {
		this.credential = credential;
	}

}

@@ -89,16 +89,36 @@
 odel %7B%0A%0A
+%09private String id;%0A
 %09private
@@ -142,38 +142,30 @@
 rivate A
-pplication application
+ccount account
 ;%0A%09priva
@@ -188,34 +188,8 @@
 ce;%0A
-%09private Account account;%0A
 %09pri
@@ -248,16 +248,110 @@
 ntial;%0A%0A
+%09public String getId() %7B%0A%09%09return id;%0A%09%7D%0A%0A%09public void setId(String id) %7B%0A%09%09this.id = id;%0A%09%7D%0A%0A
 %09public 
@@ -475,33 +475,25 @@
 ic A
-pplication getApplication
+ccount getAccount
 () %7B
@@ -503,26 +503,22 @@
 return a
-pplication
+ccount
 ;%0A%09%7D%0A%0A%09p
@@ -536,78 +536,58 @@
 setA
-pplication(Application application) %7B%0A%09%09this.application = application
+ccount(Account account) %7B%0A%09%09this.account = account
 ;%0A%09%7D
@@ -718,134 +718,8 @@
 %09%7D%0A%0A
-%09public Account getAccount() %7B%0A%09%09return account;%0A%09%7D%0A%0A%09public void setAccount(Account account) %7B%0A%09%09this.account = account;%0A%09%7D%0A%0A
 %09pub

Modify Connection definition