Package com.openindex.openestate.tool
Class ImmoToolAgent
- java.lang.Object
-
- com.openindex.openestate.impl.AbstractImplItem
-
- com.openindex.openestate.impl.AgentImpl
-
- com.openindex.openestate.tool.ImmoToolAgent
-
- All Implemented Interfaces:
SerializableXmlElement,SerializableXmlType,Serializable
public class ImmoToolAgent extends AgentImpl
Anbieter-Objekt, basierend aufAgentImpl.- Author:
- Andreas Rudolph
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringVALUE_AUFSICHTstatic StringVALUE_GEWERBEstatic StringVALUE_HANDELSREGISTERstatic StringVALUE_USTIDstatic StringVALUE_VERTRETUNG-
Fields inherited from class com.openindex.openestate.impl.AgentImpl
XML_ELEMENT, XML_ELEMENT_VALUES
-
-
Constructor Summary
Constructors Constructor Description ImmoToolAgent()Erzeugt eine Instanz der Klasse 'AgencyAgent'ImmoToolAgent(AgentImpl agent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAufsichtsBehoerde()StringgetGewerbeErlaubnis()StringgetHandelsRegister()StringgetUstId()StringgetVertretung()static ImmoToolAgentloadAgent(Connection c, DbExtension dbExtension)static booleanloadLogo(Connection c, DbExtension dbExtension, File outputFile)static ImmoToolAgentparseImmoToolAgent(org.dom4j.Document doc)static voidsaveAgent(Connection c, DbExtension dbExtension, ImmoToolAgent agent)static voidsaveLogo(Connection c, DbExtension dbExtension, File logo)voidsetAufsichtsBehoerde(String val)voidsetGewerbeErlaubnis(String val)voidsetHandelsRegister(String val)voidsetUstId(String val)voidsetVertretung(String val)-
Methods inherited from class com.openindex.openestate.impl.AgentImpl
getCompany, getCustomValues, getId, getTerms, getTerms, getTerms, merge, parseAgent, readFromMap, readFromXml, readFromXml, serializeToMap, serializeToXml, serializeToXml, setCompany, setCustomValues, setId, setTerms, setTerms, setTerms
-
Methods inherited from class com.openindex.openestate.impl.AbstractImplItem
getValue, getValue, getValues, putValue, selectAttribute, selectAttribute, selectAttributeAsBigDecimal, selectAttributeAsBigDecimal, selectAttributeAsBigInteger, selectAttributeAsBigInteger, selectAttributeAsBoolean, selectAttributeAsBoolean, selectAttributeAsCurrency, selectAttributeAsCurrency, selectAttributeAsDate, selectAttributeAsDate, selectAttributeAsDateTime, selectAttributeAsDateTime, selectAttributeAsDouble, selectAttributeAsDouble, selectAttributeAsFloat, selectAttributeAsFloat, selectAttributeAsURI, selectAttributeAsURI, selectChildElements
-
-
-
-
Field Detail
-
VALUE_AUFSICHT
public static final String VALUE_AUFSICHT
- See Also:
- Constant Field Values
-
VALUE_GEWERBE
public static final String VALUE_GEWERBE
- See Also:
- Constant Field Values
-
VALUE_HANDELSREGISTER
public static final String VALUE_HANDELSREGISTER
- See Also:
- Constant Field Values
-
VALUE_USTID
public static final String VALUE_USTID
- See Also:
- Constant Field Values
-
VALUE_VERTRETUNG
public static final String VALUE_VERTRETUNG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ImmoToolAgent
public ImmoToolAgent()
Erzeugt eine Instanz der Klasse 'AgencyAgent'
-
ImmoToolAgent
public ImmoToolAgent(AgentImpl agent)
-
-
Method Detail
-
getAufsichtsBehoerde
public String getAufsichtsBehoerde()
-
getGewerbeErlaubnis
public String getGewerbeErlaubnis()
-
getHandelsRegister
public String getHandelsRegister()
-
getUstId
public String getUstId()
-
getVertretung
public String getVertretung()
-
loadAgent
public static ImmoToolAgent loadAgent(Connection c, DbExtension dbExtension) throws SQLException
- Throws:
SQLException
-
loadLogo
public static boolean loadLogo(Connection c, DbExtension dbExtension, File outputFile)
-
parseImmoToolAgent
public static ImmoToolAgent parseImmoToolAgent(org.dom4j.Document doc) throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
-
saveAgent
public static void saveAgent(Connection c, DbExtension dbExtension, ImmoToolAgent agent) throws SQLException
- Throws:
SQLException
-
saveLogo
public static void saveLogo(Connection c, DbExtension dbExtension, File logo) throws SQLException, IOException
- Throws:
SQLExceptionIOException
-
setAufsichtsBehoerde
public void setAufsichtsBehoerde(String val)
-
setGewerbeErlaubnis
public void setGewerbeErlaubnis(String val)
-
setHandelsRegister
public void setHandelsRegister(String val)
-
setUstId
public void setUstId(String val)
-
setVertretung
public void setVertretung(String val)
-
-