package com.egloos.realmove.dp.absfactory.framework; public abstract class AbstractAddress { private String name = null; private String email = null; private String mobile = null; public String getName() { return name; } public void setName( String name ) { this.name = name; } public String getEmail() { return email; } public void setEmail( String email ) { this.email = email; } public String getMobile() { return mobile; } public void setMobile( String mobile ) { this.mobile = mobile; } /** * This method should be implemented by sub-classes. * * @return some string to be printed */ public abstract String output(); }