de.crowdcode.kissmda.testapp.Address Maven / Gradle / Ivy
/**
* Generated by KissMDA - Simple Java Cartridge - kissmda-cartridges-simple-java.
* KissMDA: http://kissmda.org
*
* DO NOT EDIT this file manually! All changes will be overwritten by next generation!
*
* Generation date: Tue May 20 17:15:11 CEST 2014.
*/
package de.crowdcode.kissmda.testapp;
import java.util.Collection;
import java.util.SortedSet;
/**
* This is the Address entity. We save each Address in the database.
*
* @author Lofi Dewanto
* @version 1.0.0
* @since 1.0.0
*/
public interface Address {
/**
* Get the old address of the current person.
*/
Address getOldAddress();
Collection getOldAddresses();
Collection getNewAddresses();
/**
* The street of this address.
*/
String getStreet();
/**
* The street of this address.
*/
void setStreet(String street);
Person getPerson();
void setPerson(Person person);
AddressType getAddressType();
void setAddressType(AddressType addressType);
SortedSet getNewPersons();
void addNewPerson(Person newPerson);
boolean isOld();
void setOld(boolean old);
AddressSimpleType getAddressSimpleType();
void setAddressSimpleType(AddressSimpleType addressSimpleType);
AddressComplexType getAddressComplexType();
void setAddressComplexType(AddressComplexType addressComplexType);
}