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 String
VALUE_AUFSICHT
static String
VALUE_GEWERBE
static String
VALUE_HANDELSREGISTER
static String
VALUE_USTID
static String
VALUE_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 String
getAufsichtsBehoerde()
String
getGewerbeErlaubnis()
String
getHandelsRegister()
String
getUstId()
String
getVertretung()
static ImmoToolAgent
loadAgent(Connection c, DbExtension dbExtension)
static boolean
loadLogo(Connection c, DbExtension dbExtension, File outputFile)
static ImmoToolAgent
parseImmoToolAgent(org.dom4j.Document doc)
static void
saveAgent(Connection c, DbExtension dbExtension, ImmoToolAgent agent)
static void
saveLogo(Connection c, DbExtension dbExtension, File logo)
void
setAufsichtsBehoerde(String val)
void
setGewerbeErlaubnis(String val)
void
setHandelsRegister(String val)
void
setUstId(String val)
void
setVertretung(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:
SQLException
IOException
-
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)
-
-