net.wimpi.pim.contact.basicimpl
Class BasicContactModelFactory

java.lang.Object
  |
  +--net.wimpi.pim.contact.basicimpl.BasicContactModelFactory
All Implemented Interfaces:
ContactModelFactory

public class BasicContactModelFactory
extends java.lang.Object
implements ContactModelFactory

Class implementing a standard ContactModelFactory, returning instances of the standard model implementations.

Version:
0.1 (22/07/2003)
Author:
Dieter Wimberger

Constructor Summary
BasicContactModelFactory()
           
 
Method Summary
 Address createAddress()
          Returns a new AddressImpl instance.
 Communications createCommunications()
          Returns a new CommunicationsImpl instance.
 Contact createContact()
          Returns a new ContactImpl instance.
 EmailAddress createEmailAddress()
          Returns a new EmailAddressImpl instance.
 Extensions createExtensions()
          Returns a new ExtensionsImpl instance.
 GeographicalInformation createGeographicalInformation()
          Returns a new GeographicalInformationImpl instance.
 Image createImage()
          Returns a new DataContainer instance.
 Key createKey()
          Returns a new DataContainer instance.
 Organization createOrganization()
          Returns a new OrganizationImpl instance.
 OrganizationalIdentity createOrganizationalIdentity()
          Returns a new OrganizationalIdentityImpl instance.
 PersonalIdentity createPersonalIdentity()
          Returns a new PersonalIdentityImpl instance.
 PhoneNumber createPhoneNumber()
          Returns a new PhoneNumberImpl instance.
 Sound createSound()
          Returns a new DataContainer instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicContactModelFactory

public BasicContactModelFactory()
Method Detail

createAddress

public Address createAddress()
Returns a new AddressImpl instance.

Specified by:
createAddress in interface ContactModelFactory
Returns:
an Address instance.

createCommunications

public Communications createCommunications()
Returns a new CommunicationsImpl instance.

Specified by:
createCommunications in interface ContactModelFactory
Returns:
a Communications instance.

createContact

public Contact createContact()
Returns a new ContactImpl instance.

Specified by:
createContact in interface ContactModelFactory
Returns:
a Contact instance.

createEmailAddress

public EmailAddress createEmailAddress()
Returns a new EmailAddressImpl instance.

Specified by:
createEmailAddress in interface ContactModelFactory
Returns:
an EmailAddress instance.

createGeographicalInformation

public GeographicalInformation createGeographicalInformation()
Returns a new GeographicalInformationImpl instance.

Specified by:
createGeographicalInformation in interface ContactModelFactory
Returns:
a GeographicalInformation instance.

createImage

public Image createImage()
Returns a new DataContainer instance.

Specified by:
createImage in interface ContactModelFactory
Returns:
an Image instance.

createKey

public Key createKey()
Returns a new DataContainer instance.

Specified by:
createKey in interface ContactModelFactory
Returns:
a Key instance.

createOrganization

public Organization createOrganization()
Returns a new OrganizationImpl instance.

Specified by:
createOrganization in interface ContactModelFactory
Returns:
an Organization instance.

createOrganizationalIdentity

public OrganizationalIdentity createOrganizationalIdentity()
Returns a new OrganizationalIdentityImpl instance.

Specified by:
createOrganizationalIdentity in interface ContactModelFactory
Returns:
an OrganizationalIdentity instance.

createPersonalIdentity

public PersonalIdentity createPersonalIdentity()
Returns a new PersonalIdentityImpl instance.

Specified by:
createPersonalIdentity in interface ContactModelFactory
Returns:
a PersonalIdentity instance.

createPhoneNumber

public PhoneNumber createPhoneNumber()
Returns a new PhoneNumberImpl instance.

Specified by:
createPhoneNumber in interface ContactModelFactory
Returns:
a PhoneNumber instance.

createSound

public Sound createSound()
Returns a new DataContainer instance.

Specified by:
createSound in interface ContactModelFactory
Returns:
a Sound instance.

createExtensions

public Extensions createExtensions()
Returns a new ExtensionsImpl instance.

Specified by:
createExtensions in interface ContactModelFactory
Returns:
an Extensions instance.


Copyright © 2001-2003 jpim team.