com.openindex.openestate.impl
Class AgentContactImpl

java.lang.Object
  extended by com.openindex.openestate.impl.AbstractImplItem
      extended by com.openindex.openestate.impl.SimpleAdressImpl
          extended by com.openindex.openestate.impl.PersonAdressImpl
              extended by com.openindex.openestate.impl.AgentContactImpl
All Implemented Interfaces:
SerializableXmlElement, SerializableXmlType
Direct Known Subclasses:
AgencyContact

public class AgentContactImpl
extends PersonAdressImpl
implements SerializableXmlElement

Implementierung eines Ansprechpartners / Mitarbeiters.
$Id: AgentContactImpl.java 1818 2012-10-08 17:18:43Z andy $

Author:
Andreas Rudolph

Field Summary
static String AGENTCONTACT_XML_ELEMENT
          XML-Elements
static String XML_ATTRIB_ID
          XML-Attributes
 
Fields inherited from class com.openindex.openestate.impl.PersonAdressImpl
GENDER_FEMALE, GENDER_MALE, PERSONADRESS_XML_ELEMENT, XML_ATTRIB_PERSON_FAX, XML_ATTRIB_PERSON_FIRST_NAME, XML_ATTRIB_PERSON_GENDER, XML_ATTRIB_PERSON_LAST_NAME, XML_ATTRIB_PERSON_MAIL, XML_ATTRIB_PERSON_MIDDLE_NAME, XML_ATTRIB_PERSON_MOBILE_PHONE, XML_ATTRIB_PERSON_PHONE, XML_ATTRIB_PERSON_TITLE
 
Fields inherited from class com.openindex.openestate.impl.SimpleAdressImpl
SIMPLEADRESS_XML_ELEMENT, XML_ATTRIB_CITY, XML_ATTRIB_CITY_PART, XML_ATTRIB_COUNTRY, XML_ATTRIB_LATITUDE, XML_ATTRIB_LONGITUDE, XML_ATTRIB_POSTAL_CODE, XML_ATTRIB_REGION, XML_ATTRIB_STREET, XML_ATTRIB_STREET_2, XML_ATTRIB_STREET_NR
 
Constructor Summary
AgentContactImpl()
          Erzeugt eine Instanz der Klasse 'AgentContactImpl'
AgentContactImpl(org.dom4j.Document doc)
           
 
Method Summary
 long calculateHash()
           
 String getId()
           
 void readFromXml(org.dom4j.Document doc)
           
 void readFromXml(org.dom4j.Element node)
           
 void serializeToXml(org.dom4j.Document doc)
           
 void serializeToXml(org.dom4j.Element node)
           
 void setId(String val)
           
 
Methods inherited from class com.openindex.openestate.impl.PersonAdressImpl
getPersonFax, getPersonFirstName, getPersonGender, getPersonLastName, getPersonMail, getPersonMiddleName, getPersonMobilePhone, getPersonPhone, getPersonTitle, isFemale, isMale, setPersonFax, setPersonFirstName, setPersonGender, setPersonLastName, setPersonMail, setPersonMiddleName, setPersonMobilePhone, setPersonPhone, setPersonTitle, writePersonFullName
 
Methods inherited from class com.openindex.openestate.impl.SimpleAdressImpl
getCity, getCityPart, getCountry, getCustomValues, getLatitude, getLongitude, getPostalCode, getRegion, getStreet, getStreet2, getStreetNr, merge, setCity, setCityPart, setCountry, setCustomValues, setLatitude, setLongitude, setPostalCode, setRegion, setStreet, setStreet2, setStreetNr, writeCountry, writeCountry, writeCountry, writeCountry, writeFullAdress, writeFullAdress, writeFullAdress, writeFullAdress, writePostal, writeStreet
 
Methods inherited from class com.openindex.openestate.impl.AbstractImplItem
getValue, getValue, getValues, putValue, selectAttribute, selectAttribute, selectAttributeAsBoolean, selectAttributeAsBoolean, selectAttributeAsCurrency, selectAttributeAsCurrency, selectAttributeAsDate, selectAttributeAsDate, selectAttributeAsDateTime, selectAttributeAsDateTime, selectAttributeAsDouble, selectAttributeAsDouble, selectAttributeAsFloat, selectAttributeAsFloat, selectAttributeAsURL, selectAttributeAsURL, selectChildElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_ATTRIB_ID

public static final String XML_ATTRIB_ID
XML-Attributes

See Also:
Constant Field Values

AGENTCONTACT_XML_ELEMENT

public static final String AGENTCONTACT_XML_ELEMENT
XML-Elements

See Also:
Constant Field Values
Constructor Detail

AgentContactImpl

public AgentContactImpl()
Erzeugt eine Instanz der Klasse 'AgentContactImpl'


AgentContactImpl

public AgentContactImpl(org.dom4j.Document doc)
                 throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException
Method Detail

calculateHash

public long calculateHash()

getId

public String getId()

readFromXml

public void readFromXml(org.dom4j.Document doc)
                 throws org.dom4j.DocumentException
Specified by:
readFromXml in interface SerializableXmlElement
Overrides:
readFromXml in class PersonAdressImpl
Throws:
org.dom4j.DocumentException

readFromXml

public void readFromXml(org.dom4j.Element node)
                 throws org.dom4j.DocumentException
Specified by:
readFromXml in interface SerializableXmlType
Overrides:
readFromXml in class PersonAdressImpl
Throws:
org.dom4j.DocumentException

serializeToXml

public void serializeToXml(org.dom4j.Document doc)
                    throws org.dom4j.DocumentException
Specified by:
serializeToXml in interface SerializableXmlElement
Overrides:
serializeToXml in class PersonAdressImpl
Throws:
org.dom4j.DocumentException

serializeToXml

public void serializeToXml(org.dom4j.Element node)
                    throws org.dom4j.DocumentException
Specified by:
serializeToXml in interface SerializableXmlType
Overrides:
serializeToXml in class PersonAdressImpl
Throws:
org.dom4j.DocumentException

setId

public void setId(String val)


Copyright © 2012 OpenEstate. All Rights Reserved.