org.opengroupware.jogi.connect.xmlrpc
Class XmlRpcAddress
java.lang.Object
java.util.Observable
org.opengroupware.jogi.connect.xmlrpc.XmlRpcBaseDocument
org.opengroupware.jogi.connect.xmlrpc.XmlRpcAddress
- All Implemented Interfaces:
- Address
- public class XmlRpcAddress
- extends XmlRpcBaseDocument
- implements Address
The Address holds, like its name, address data and makes modification
of the data available.
- Author:
- Andreas Rath (teddius) E-mail: arath@htu.tugraz.at
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADDRESS_CITY
public static final java.lang.String ADDRESS_CITY
- See Also:
- Constant Field Values
ADDRESS_COUNTRY
public static final java.lang.String ADDRESS_COUNTRY
- See Also:
- Constant Field Values
ADDRESS_ID
public static final java.lang.String ADDRESS_ID
- See Also:
- Constant Field Values
ADDRESS_NAME1
public static final java.lang.String ADDRESS_NAME1
- See Also:
- Constant Field Values
ADDRESS_NAME2
public static final java.lang.String ADDRESS_NAME2
- See Also:
- Constant Field Values
ADDRESS_NAME3
public static final java.lang.String ADDRESS_NAME3
- See Also:
- Constant Field Values
ADDRESS_STATE
public static final java.lang.String ADDRESS_STATE
- See Also:
- Constant Field Values
ADDRESS_STREET
public static final java.lang.String ADDRESS_STREET
- See Also:
- Constant Field Values
ADDRESS_TYPE
public static final java.lang.String ADDRESS_TYPE
- See Also:
- Constant Field Values
ADDRESS_ZIP
public static final java.lang.String ADDRESS_ZIP
- See Also:
- Constant Field Values
XmlRpcAddress
protected XmlRpcAddress()
XmlRpcAddress
protected XmlRpcAddress(java.util.Map contents)
getCity
public java.lang.String getCity()
throws OgoException,
ConnectionException
- Specified by:
getCity
in interface Address
- Throws:
OgoException
ConnectionException
getCountry
public java.lang.String getCountry()
throws OgoException,
ConnectionException
- Specified by:
getCountry
in interface Address
- Throws:
OgoException
ConnectionException
getId
public java.lang.String getId()
throws OgoException,
ConnectionException
- Specified by:
getId
in interface Address
- Overrides:
getId
in class XmlRpcBaseDocument
- Throws:
OgoException
ConnectionException
getName1
public java.lang.String getName1()
throws OgoException,
ConnectionException
- Specified by:
getName1
in interface Address
- Throws:
OgoException
ConnectionException
getName2
public java.lang.String getName2()
throws OgoException,
ConnectionException
- Specified by:
getName2
in interface Address
- Throws:
OgoException
ConnectionException
getName3
public java.lang.String getName3()
throws OgoException,
ConnectionException
- Specified by:
getName3
in interface Address
- Throws:
OgoException
ConnectionException
getState
public java.lang.String getState()
throws OgoException,
ConnectionException
- Specified by:
getState
in interface Address
- Throws:
OgoException
ConnectionException
getStreet
public java.lang.String getStreet()
throws OgoException,
ConnectionException
- Specified by:
getStreet
in interface Address
- Throws:
OgoException
ConnectionException
getType
public java.lang.String getType()
throws OgoException,
ConnectionException
- Specified by:
getType
in interface Address
- Throws:
OgoException
ConnectionException
getZip
public java.lang.String getZip()
throws OgoException,
ConnectionException
- Specified by:
getZip
in interface Address
- Throws:
OgoException
ConnectionException
setCity
public void setCity(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setCity
in interface Address
- Throws:
OgoException
ConnectionException
setCountry
public void setCountry(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setCountry
in interface Address
- Throws:
OgoException
ConnectionException
setName1
public void setName1(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setName1
in interface Address
- Throws:
OgoException
ConnectionException
setName2
public void setName2(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setName2
in interface Address
- Throws:
OgoException
ConnectionException
setName3
public void setName3(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setName3
in interface Address
- Throws:
OgoException
ConnectionException
setState
public void setState(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setState
in interface Address
- Throws:
OgoException
ConnectionException
setStreet
public void setStreet(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setStreet
in interface Address
- Throws:
OgoException
ConnectionException
setType
public void setType(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setType
in interface Address
- Throws:
OgoException
ConnectionException
setZip
public void setZip(java.lang.String string)
throws OgoException,
ConnectionException
- Specified by:
setZip
in interface Address
- Throws:
OgoException
ConnectionException
checkNewContent
protected boolean checkNewContent(java.util.Map new_content_map)
- check here, that the minimun required data is in the new_content Map;
- Specified by:
checkNewContent
in class XmlRpcBaseDocument
- Parameters:
new_content_map
-
- Returns:
true
if the content meets all requirements,
otherwise false
.
Copyright © 2003 ogojogi Project, All Rights Reserved.