com.antelmann.crm
Class PersonImpl<T extends Keyword>
java.lang.Object
com.antelmann.db.AbstractDBEntry
com.antelmann.db.PropertyEntryImpl
com.antelmann.crm.ContactImpl<T>
com.antelmann.crm.PersonImpl<T>
- All Implemented Interfaces:
- Addressable, Contact, Person, DBEntry, PropertyEntry, Taggable<T>, Imageable, DetailedString, Enabled, LifeCycleObject, Serializable, Comparable<Contact>
- Direct Known Subclasses:
- GPerson
public abstract class PersonImpl<T extends Keyword>
- extends ContactImpl<T>
- implements Person
a basic implementation for a Person
- Since:
- 20.11.2008, 00:49:39
- Author:
- Holger Antelmann
- See Also:
- Serialized Form
| Fields inherited from interface com.antelmann.util.Enabled |
FILTER |
| Methods inherited from class com.antelmann.crm.ContactImpl |
add, add, add, addTag, compareTo, createTag, getAddress, getBeginTime, getBusinessCardString, getContactName, getContactNotes, getDisplayImage, getEndTime, getIconHolder, getImageHolder, getKeywords, getMoreAddresses, getTags, getTagType, hasKeyword, isEnabled, isTagged, remove, removeAddress, removeKeyword, setBeginTime, setContactName, setContactNotes, setDisplayImage, setDisplayImage, setDisplayImage, setDisplayImage, setEnabled, setEndTime |
| Methods inherited from class com.antelmann.db.PropertyEntryImpl |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, asProperties, canRedo, canUndo, checkPropertyChange, clearProperties, containsPropertyText, containsValuePattern, equalWithProperties, equalWithProperties, getBoolean, getNumber, getProperties, getProperty, getProperty, getPropertyChangeListeners, getPropertyComparator, getPropertyExtractor, getPropertyExtractor, getPropertyKeys, getStringExtractor, getVetoableChangeListeners, isCaseInsensitive, isChangeListenerSupportEnabled, isKeyIn, isUndoSupport, isVetoableChangeSupportEnabled, putAll, redo, removeProperty, removePropertyChangeListener, removeVetoableChangeListener, setAllFrom, setCaseInsensitive, setChangeListenerSupport, setProperty, setUndoSupported, setVetoableChangeSupport, undo, verifyProperties |
| Methods inherited from interface com.antelmann.db.DBEntry |
getID |
PersonImpl
public PersonImpl(Object id)
getBirthday
public Date getBirthday()
- Specified by:
getBirthday in interface Person
setBirthday
public void setBirthday(Date birthday)
setPersonTitle
public void setPersonTitle(String title)
setFirstName
public void setFirstName(String firstName)
setFamilyName
public void setFamilyName(String familyName)
setMiddleName
public void setMiddleName(String middleName)
setNickname
public void setNickname(String nickname)
setGender
public void setGender(Person.Gender gender)
getFamilyName
public String getFamilyName()
- Specified by:
getFamilyName in interface Person
getFirstName
public String getFirstName()
- Specified by:
getFirstName in interface Person
getMiddleName
public String getMiddleName()
- Specified by:
getMiddleName in interface Person
getNickname
public String getNickname()
- Specified by:
getNickname in interface Person
getGender
public Person.Gender getGender()
- Specified by:
getGender in interface Person
getPersonTitle
public String getPersonTitle()
- Specified by:
getPersonTitle in interface Person
toString
public String toString()
- Overrides:
toString in class ContactImpl<T extends Keyword>
toDetailedString
public String toDetailedString()
- Description copied from interface:
DetailedString
- provides full details of this instance in a String.
In case the String contains multiple lines, it is recommended to use
'\n' rather than the platform specific line-break for better compatibility.
- Specified by:
toDetailedString in interface DetailedString- Overrides:
toDetailedString in class ContactImpl<T extends Keyword>
- Returns:
- a (potentially multi-line) String providing full details on this
object instance
getDisplayIcon
public Image getDisplayIcon()
throws IOException
- Description copied from interface:
Imageable
- returns an image that is suitable for use as an icon for this instance.
The method may return null;
- Specified by:
getDisplayIcon in interface Imageable- Overrides:
getDisplayIcon in class ContactImpl<T extends Keyword>
- Throws:
IOException- See Also:
ContactImpl.getIconHolder()
getStandardDisplayIcon
public static Image getStandardDisplayIcon()
throws IOException
- Throws:
IOException
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads