com.openindex.openestate.impl.csv.is24
Class IS24CSVSchema

java.lang.Object
  extended by com.openindex.openestate.impl.csv.CSVSchema
      extended by com.openindex.openestate.impl.csv.is24.IS24CSVSchema
Direct Known Subclasses:
IS24CSVSchemaAnlage, IS24CSVSchemaGewerbeBueroPraxen, IS24CSVSchemaGewerbeEinzelhandel, IS24CSVSchemaGewerbeGastronomieHotel, IS24CSVSchemaGewerbeHalleProduktion, IS24CSVSchemaGewerbeSonstiges, IS24CSVSchemaGrundstueckGewerbe, IS24CSVSchemaGrundstueckWohnen, IS24CSVSchemaHausKauf, IS24CSVSchemaHausMiete, IS24CSVSchemaStellplatzKauf, IS24CSVSchemaStellplatzMiete, IS24CSVSchemaWohnenAufZeit, IS24CSVSchemaWohnungKauf, IS24CSVSchemaWohnungMiete

public abstract class IS24CSVSchema
extends CSVSchema

allgemeines IS24-CSV-Schema.
$Id: IS24CSVSchema.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Field Summary
static String ATTACH_SUFFIX_AVI
           
static String ATTACH_SUFFIX_BMP
           
static String ATTACH_SUFFIX_GIF
           
static String ATTACH_SUFFIX_JPG
           
static String ATTACH_SUFFIX_MOV
           
static String ATTACH_SUFFIX_MP4
           
static String ATTACH_SUFFIX_MPE
           
static String ATTACH_SUFFIX_MPEG
           
static String ATTACH_SUFFIX_MPG
           
static String ATTACH_SUFFIX_PDF
           
static String ATTACH_SUFFIX_PNG
           
static String ATTACH_SUFFIX_QT
           
static String ATTACH_SUFFIX_QTL
           
static String ATTACH_SUFFIX_RM
           
static String ATTACH_SUFFIX_RV
           
static String ATTACH_SUFFIX_WMV
           
static String ATTACH_TYPE_AUDIO
           
static String ATTACH_TYPE_GRUNDRISS_IMAGE
           
static String ATTACH_TYPE_GRUNDRISS_PDF
           
static String ATTACH_TYPE_IMAGE
           
static String ATTACH_TYPE_LINK
           
static String ATTACH_TYPE_VIDEO
           
static String CSV_ENCODING
           
static int CSV_FIELD_COUNT
           
static String CSV_FIELD_SEPARATOR
           
static String CSV_LINE_SEPARATOR
           
static String CSV_VERSION
           
static char EMPTY
           
static char ESTATE_ADRESS_PUBLISHED_NO
           
static char ESTATE_ADRESS_PUBLISHED_YES
           
static String ESTATE_CURRENCY_DEM
           
static String ESTATE_CURRENCY_EUR
           
static char ESTATE_PROVISION_REQUIRED_NO
           
static char ESTATE_PROVISION_REQUIRED_YES
           
static int ESTATE_TYPE_ANLAGE
           
static int ESTATE_TYPE_GEWERBE_BUERO_PRAXEN
           
static int ESTATE_TYPE_GEWERBE_EINZELHANDEL
           
static int ESTATE_TYPE_GEWERBE_GASTRONOMIE_HOTEL
           
static int ESTATE_TYPE_GEWERBE_HALLE_PRODUKTION
           
static int ESTATE_TYPE_GEWERBE_SONSTIGES
           
static int ESTATE_TYPE_GRUNDSTUECKE
           
static int ESTATE_TYPE_HAUS_KAUF
           
static int ESTATE_TYPE_HAUS_MIETE
           
static int ESTATE_TYPE_STELLPLATZ_KAUF
           
static int ESTATE_TYPE_STELLPLATZ_MIETE
           
static int ESTATE_TYPE_WOHNEN_AUF_ZEIT
           
static int ESTATE_TYPE_WOHNUNG_KAUF
           
static int ESTATE_TYPE_WOHNUNG_MIETE
           
static int FIELD_CONTACT_ADDRESS
          Kontaktperson Anrede, Text 20
static int FIELD_CONTACT_CITY
          Kontaktperson Ort, Text 50
static int FIELD_CONTACT_COUNTRY
          Länderkennzeichen, Text 3 (Dreistellige ISO-Norm)
static int FIELD_CONTACT_EMAIL
          Email, Text 150
static int FIELD_CONTACT_FAX
          Telefax, Text 40
static int FIELD_CONTACT_FIRSTNAME
          Kontaktperson Vorname, Text 30
static int FIELD_CONTACT_LASTNAME
          Kontaktperson Nachname, Text 50
static int FIELD_CONTACT_MOBILE
          Mobiltelefon, Text 40
static int FIELD_CONTACT_PHONE
          Telefon, Text 40
static int FIELD_CONTACT_POSTAL
          Kontaktperson Postleitzahl, Text 20
static int FIELD_CONTACT_STREET
          Kontaktperson Straße, Text 100
static int FIELD_CONTACT_STREETNR
          Kontaktperson Hausnummer, Text 30
static int FIELD_CONTACT_WEBSITE
          Homepage, Text 300
static int FIELD_ESTATE_ADRESS_CITY
          Ort, Text 50
static int FIELD_ESTATE_ADRESS_COUNTRY
          Länderkennzeichen, Text 3 (Dreistellige ISO- Angabe)
static int FIELD_ESTATE_ADRESS_COUNTRY_AREA
          Internationale Region, Text 100 (nur für Objekte im Ausland)
static int FIELD_ESTATE_ADRESS_POSTAL
          Postleitzahl, Text 20
static int FIELD_ESTATE_ADRESS_PUBLISHED
          Adreßdruck, Text 1
static int FIELD_ESTATE_ADRESS_STREET
          Straße, Text 100
static int FIELD_ESTATE_ADRESS_STREETNR
          Hausnummer, Text 30
static int FIELD_ESTATE_ATTACH0_DURATION
          Abspieldauer 1 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH0_NAME
          Dateiname 1, Text 255
static int FIELD_ESTATE_ATTACH0_SUFFIX
          Dateityp 1, Text 4
static int FIELD_ESTATE_ATTACH0_TEXT
          Text 1, Text 30
static int FIELD_ESTATE_ATTACH0_TYPE
          Dateityp 1, Text 4
static int FIELD_ESTATE_ATTACH1_DURATION
          Abspieldauer 2 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH1_NAME
          Dateiname 2, Text 255
static int FIELD_ESTATE_ATTACH1_SUFFIX
          Dateityp 2, Text 4
static int FIELD_ESTATE_ATTACH1_TEXT
          Text 2, Text 30
static int FIELD_ESTATE_ATTACH1_TYPE
          Dateityp 2, Text 4
static int FIELD_ESTATE_ATTACH2_DURATION
          Abspieldauer 3 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH2_NAME
          Dateiname 3, Text 255
static int FIELD_ESTATE_ATTACH2_SUFFIX
          Dateityp 3, Text 4
static int FIELD_ESTATE_ATTACH2_TEXT
          Text 3, Text 30
static int FIELD_ESTATE_ATTACH2_TYPE
          Dateityp 3, Text 4
static int FIELD_ESTATE_ATTACH3_DURATION
          Abspieldauer 4 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH3_NAME
          Dateiname 4, Text 255
static int FIELD_ESTATE_ATTACH3_SUFFIX
          Dateityp 4, Text 4
static int FIELD_ESTATE_ATTACH3_TEXT
          Text 4, Text 30
static int FIELD_ESTATE_ATTACH3_TYPE
          Dateityp 4, Text 4
static int FIELD_ESTATE_ATTACH4_DURATION
          Abspieldauer 5 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH4_NAME
          Dateiname 5, Text 255
static int FIELD_ESTATE_ATTACH4_SUFFIX
          Dateityp 5, Text 4
static int FIELD_ESTATE_ATTACH4_TEXT
          Text 5, Text 30
static int FIELD_ESTATE_ATTACH4_TYPE
          Dateityp 5, Text 4
static int FIELD_ESTATE_ATTACH5_DURATION
          Abspieldauer 6 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH5_NAME
          Dateiname 6, Text 255
static int FIELD_ESTATE_ATTACH5_SUFFIX
          Dateityp 6, Text 4
static int FIELD_ESTATE_ATTACH5_TEXT
          Text 6, Text 30
static int FIELD_ESTATE_ATTACH5_TYPE
          Dateityp 6, Text 4
static int FIELD_ESTATE_ATTACH6_DURATION
          Abspieldauer 7 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH6_NAME
          Dateiname 7, Text 255
static int FIELD_ESTATE_ATTACH6_SUFFIX
          Dateityp 7, Text 4
static int FIELD_ESTATE_ATTACH6_TEXT
          Text 7, Text 30
static int FIELD_ESTATE_ATTACH6_TYPE
          Dateityp 7, Text 4
static int FIELD_ESTATE_ATTACH7_DURATION
          Abspieldauer 8 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH7_NAME
          Dateiname 8, Text 255
static int FIELD_ESTATE_ATTACH7_SUFFIX
          Dateityp 8, Text 4
static int FIELD_ESTATE_ATTACH7_TEXT
          Text 8, Text 30
static int FIELD_ESTATE_ATTACH7_TYPE
          Dateityp 8, Text 4
static int FIELD_ESTATE_ATTACH8_DURATION
          Abspieldauer 9 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH8_NAME
          Dateiname 9, Text 255
static int FIELD_ESTATE_ATTACH8_SUFFIX
          Dateityp 9, Text 4
static int FIELD_ESTATE_ATTACH8_TEXT
          Text 9, Text 30
static int FIELD_ESTATE_ATTACH8_TYPE
          Dateityp 9, Text 4
static int FIELD_ESTATE_ATTACH9_DURATION
          Abspieldauer 10 in Sekunden, Zahl 5 (Für Video/Audio)
static int FIELD_ESTATE_ATTACH9_NAME
          Dateiname 10, Text 255
static int FIELD_ESTATE_ATTACH9_SUFFIX
          Dateityp 10, Text 4
static int FIELD_ESTATE_ATTACH9_TEXT
          Text 10, Text 30
static int FIELD_ESTATE_ATTACH9_TYPE
          Dateityp 10, Text 4
static int FIELD_ESTATE_CURRENCY
          Währung, Text 3
static int FIELD_ESTATE_GROUP_ID
          Gruppierungs-ID, Zahl MAX_INT
static int FIELD_ESTATE_ID
          Anbieter Objekt-Identifikation, Text 50
static int FIELD_ESTATE_PROVISION
          Provision, Text 50
static int FIELD_ESTATE_PROVISION_REQUIRED
          Provisionspflichtig, Text 1
static int FIELD_ESTATE_PROVISION_TEXT
          Provisionshinweis, Text 200
static int FIELD_ESTATE_TEXT_AUSSTATTUNG
          Ausstattung, Text 2000 (Nicht für die Immobilienart Grundstücke (5))
static int FIELD_ESTATE_TEXT_BESCHREIBUNG
          Objektbeschreibung, Text 2000
static int FIELD_ESTATE_TEXT_LAGE
          Lage, Text 2000
static int FIELD_ESTATE_TEXT_SONSTIGES
          Sonstige Angaben zum Objekt, Text 2000
static int FIELD_ESTATE_TITLE
          Überschrift, Text 100
static int FIELD_ESTATE_TYPE
          Immobilienart, Zahl 2
static int FIELD_MODE
          Importmodus, Text 1
static int FIELD_SCOUT_AGENT_ID
          Scout-Kunden-ID, Text 15
static int FIELD_SCOUT_API_SEARCH1
          API-Suchfeld 1, Text 10
static int FIELD_SCOUT_API_SEARCH2
          API-Suchfeld 2, Text 10
static int FIELD_SCOUT_API_SEARCH3
          API-Suchfeld 3, Text 10
static int FIELD_SCOUT_ID
          Scout Objekt ID, Text 20
static int FIELD_SCOUT_PUBLISH_AT
          Mehrstufige Objektdarstellung, Zahl 2
static int FIELD_SCOUT_PUBLISH_GROUPS
          Gruppen-ID’s (Semikolon-Separierte Liste von Gruppen-, Verbands- & Börsen-ID’s.)
static int FIELD_STATUS
          Status, Zahl 1
static char MODE_DELETE
           
static char MODE_IGNORE
           
static char MODE_IMPORT
           
static char MODE_UPDATE
           
static char NO
           
static int SCOUT_PUBLISH_AT_HP_ALLEGRUPPEN
           
static int SCOUT_PUBLISH_AT_HP_WAHLGRUPPEN
           
static int SCOUT_PUBLISH_AT_IS24
           
static int SCOUT_PUBLISH_AT_IS24_HP_ALLEGRUPPEN
           
static int SCOUT_PUBLISH_AT_IS24_HP_WAHLGRUPPEN
           
static int SCOUT_PUBLISH_AT_IS24_VBM_ALLEGRUPPEN
           
static int SCOUT_PUBLISH_AT_IS24_VBM_HP_ALLEGRUPPEN
           
static int SCOUT_PUBLISH_AT_IS24_WAHLGRUPPEN
           
static int SCOUT_PUBLISH_AT_VBM_ALLEGRUPPEN
           
static int SCOUT_PUBLISH_AT_VBM_HP_ALLEGRUPPEN
           
static int SCOUT_PUBLISH_AT_WAHLGRUPPEN
           
static char STATUS_ACTIVE
           
static char STATUS_INACTIVE
           
static char VEREINBARUNG
           
static char YES
           
 
Constructor Summary
IS24CSVSchema()
           
 
Method Summary
static DateFormat getCsvDateFormat()
           
 String getEncoding()
           
protected  Double getFahrtwegDistanz(Long time)
          Umrechnung einer Zeit (in min) in die zurückgelegte Distanz (in km), auf Grundlage der Ortsgeschwindigkeit von 50 km/h.
protected  String getFahrtwegZeit(Double distance, long max)
          Umrechnung einer Distanz (in km) in die benötigte Zeit (in min), auf Grundlage der Ortsgeschwindigkeit von 50 km/h.
 int getFieldCount()
           
 String getFieldSeparator()
           
protected  Double getFusswegDistanz(Long time)
          Umrechnung einer Zeit (in min) in die zurückgelegte Distanz (in km), auf Grundlage der Schrittgeschwindigkeit von 1 m/s (bzw. 3,6 km/h).
protected  String getFusswegZeit(Double distance, long max)
          Umrechnung einer Distanz (in km) in die benötigte Zeit (in min), auf Grundlage der Schrittgeschwindigkeit von 1 m/s (bzw. 3,6 km/h).
abstract  int getIS24TypeId()
           
 String getLineSeparator()
           
 String getVersion()
           
static IS24CSVSchema loadSchema(EstateImpl estate)
           
static IS24CSVSchema loadSchema(OpenEstateType type, String action, List<String> nutzungen)
           
static IS24CSVSchema loadSchema(String line, String[] values)
           
 void readAgent(IS24CSVReader reader, String[] values, AgentImpl agent)
           
 void readAgentContact(IS24CSVReader reader, String[] values, AgentContactImpl contact)
           
 void readEstate(IS24CSVReader reader, String[] values, EstateImpl estate)
           
protected  boolean supportsEstateAction(String estateAction)
           
protected  boolean supportsEstateType(String estateType)
           
protected  String[] writeValues(IS24CSVWriter writer, EstateImpl estate, AgentImpl agent, AgentContactImpl contact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CSV_ENCODING

public static final String CSV_ENCODING
See Also:
Constant Field Values

CSV_VERSION

public static final String CSV_VERSION
See Also:
Constant Field Values

CSV_LINE_SEPARATOR

public static final String CSV_LINE_SEPARATOR
See Also:
Constant Field Values

CSV_FIELD_SEPARATOR

public static final String CSV_FIELD_SEPARATOR
See Also:
Constant Field Values

CSV_FIELD_COUNT

public static final int CSV_FIELD_COUNT
See Also:
Constant Field Values

YES

public static final char YES
See Also:
Constant Field Values

NO

public static final char NO
See Also:
Constant Field Values

VEREINBARUNG

public static final char VEREINBARUNG
See Also:
Constant Field Values

EMPTY

public static final char EMPTY
See Also:
Constant Field Values

ATTACH_SUFFIX_BMP

public static final String ATTACH_SUFFIX_BMP
See Also:
Constant Field Values

ATTACH_SUFFIX_GIF

public static final String ATTACH_SUFFIX_GIF
See Also:
Constant Field Values

ATTACH_SUFFIX_PNG

public static final String ATTACH_SUFFIX_PNG
See Also:
Constant Field Values

ATTACH_SUFFIX_JPG

public static final String ATTACH_SUFFIX_JPG
See Also:
Constant Field Values

ATTACH_SUFFIX_MOV

public static final String ATTACH_SUFFIX_MOV
See Also:
Constant Field Values

ATTACH_SUFFIX_QT

public static final String ATTACH_SUFFIX_QT
See Also:
Constant Field Values

ATTACH_SUFFIX_QTL

public static final String ATTACH_SUFFIX_QTL
See Also:
Constant Field Values

ATTACH_SUFFIX_RM

public static final String ATTACH_SUFFIX_RM
See Also:
Constant Field Values

ATTACH_SUFFIX_RV

public static final String ATTACH_SUFFIX_RV
See Also:
Constant Field Values

ATTACH_SUFFIX_MPE

public static final String ATTACH_SUFFIX_MPE
See Also:
Constant Field Values

ATTACH_SUFFIX_MPG

public static final String ATTACH_SUFFIX_MPG
See Also:
Constant Field Values

ATTACH_SUFFIX_MPEG

public static final String ATTACH_SUFFIX_MPEG
See Also:
Constant Field Values

ATTACH_SUFFIX_MP4

public static final String ATTACH_SUFFIX_MP4
See Also:
Constant Field Values

ATTACH_SUFFIX_WMV

public static final String ATTACH_SUFFIX_WMV
See Also:
Constant Field Values

ATTACH_SUFFIX_AVI

public static final String ATTACH_SUFFIX_AVI
See Also:
Constant Field Values

ATTACH_SUFFIX_PDF

public static final String ATTACH_SUFFIX_PDF
See Also:
Constant Field Values

ATTACH_TYPE_IMAGE

public static final String ATTACH_TYPE_IMAGE
See Also:
Constant Field Values

ATTACH_TYPE_VIDEO

public static final String ATTACH_TYPE_VIDEO
See Also:
Constant Field Values

ATTACH_TYPE_AUDIO

public static final String ATTACH_TYPE_AUDIO
See Also:
Constant Field Values

ATTACH_TYPE_LINK

public static final String ATTACH_TYPE_LINK
See Also:
Constant Field Values

ATTACH_TYPE_GRUNDRISS_IMAGE

public static final String ATTACH_TYPE_GRUNDRISS_IMAGE
See Also:
Constant Field Values

ATTACH_TYPE_GRUNDRISS_PDF

public static final String ATTACH_TYPE_GRUNDRISS_PDF
See Also:
Constant Field Values

FIELD_MODE

public static final int FIELD_MODE
Importmodus, Text 1

See Also:
Constant Field Values

MODE_IMPORT

public static final char MODE_IMPORT
See Also:
Constant Field Values

MODE_UPDATE

public static final char MODE_UPDATE
See Also:
Constant Field Values

MODE_DELETE

public static final char MODE_DELETE
See Also:
Constant Field Values

MODE_IGNORE

public static final char MODE_IGNORE
See Also:
Constant Field Values

FIELD_STATUS

public static final int FIELD_STATUS
Status, Zahl 1

See Also:
Constant Field Values

STATUS_INACTIVE

public static final char STATUS_INACTIVE
See Also:
Constant Field Values

STATUS_ACTIVE

public static final char STATUS_ACTIVE
See Also:
Constant Field Values

FIELD_ESTATE_TYPE

public static final int FIELD_ESTATE_TYPE
Immobilienart, Zahl 2

See Also:
Constant Field Values

ESTATE_TYPE_WOHNUNG_MIETE

public static final int ESTATE_TYPE_WOHNUNG_MIETE
See Also:
Constant Field Values

ESTATE_TYPE_HAUS_MIETE

public static final int ESTATE_TYPE_HAUS_MIETE
See Also:
Constant Field Values

ESTATE_TYPE_WOHNUNG_KAUF

public static final int ESTATE_TYPE_WOHNUNG_KAUF
See Also:
Constant Field Values

ESTATE_TYPE_HAUS_KAUF

public static final int ESTATE_TYPE_HAUS_KAUF
See Also:
Constant Field Values

ESTATE_TYPE_WOHNEN_AUF_ZEIT

public static final int ESTATE_TYPE_WOHNEN_AUF_ZEIT
See Also:
Constant Field Values

ESTATE_TYPE_GRUNDSTUECKE

public static final int ESTATE_TYPE_GRUNDSTUECKE
See Also:
Constant Field Values

ESTATE_TYPE_GEWERBE_BUERO_PRAXEN

public static final int ESTATE_TYPE_GEWERBE_BUERO_PRAXEN
See Also:
Constant Field Values

ESTATE_TYPE_GEWERBE_EINZELHANDEL

public static final int ESTATE_TYPE_GEWERBE_EINZELHANDEL
See Also:
Constant Field Values

ESTATE_TYPE_GEWERBE_GASTRONOMIE_HOTEL

public static final int ESTATE_TYPE_GEWERBE_GASTRONOMIE_HOTEL
See Also:
Constant Field Values

ESTATE_TYPE_GEWERBE_HALLE_PRODUKTION

public static final int ESTATE_TYPE_GEWERBE_HALLE_PRODUKTION
See Also:
Constant Field Values

ESTATE_TYPE_GEWERBE_SONSTIGES

public static final int ESTATE_TYPE_GEWERBE_SONSTIGES
See Also:
Constant Field Values

ESTATE_TYPE_ANLAGE

public static final int ESTATE_TYPE_ANLAGE
See Also:
Constant Field Values

ESTATE_TYPE_STELLPLATZ_KAUF

public static final int ESTATE_TYPE_STELLPLATZ_KAUF
See Also:
Constant Field Values

ESTATE_TYPE_STELLPLATZ_MIETE

public static final int ESTATE_TYPE_STELLPLATZ_MIETE
See Also:
Constant Field Values

FIELD_SCOUT_ID

public static final int FIELD_SCOUT_ID
Scout Objekt ID, Text 20

See Also:
Constant Field Values

FIELD_ESTATE_ID

public static final int FIELD_ESTATE_ID
Anbieter Objekt-Identifikation, Text 50

See Also:
Constant Field Values

FIELD_ESTATE_GROUP_ID

public static final int FIELD_ESTATE_GROUP_ID
Gruppierungs-ID, Zahl MAX_INT

See Also:
Constant Field Values

FIELD_SCOUT_PUBLISH_AT

public static final int FIELD_SCOUT_PUBLISH_AT
Mehrstufige Objektdarstellung, Zahl 2

See Also:
Constant Field Values

SCOUT_PUBLISH_AT_IS24_HP_ALLEGRUPPEN

public static final int SCOUT_PUBLISH_AT_IS24_HP_ALLEGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_VBM_ALLEGRUPPEN

public static final int SCOUT_PUBLISH_AT_VBM_ALLEGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_IS24_VBM_HP_ALLEGRUPPEN

public static final int SCOUT_PUBLISH_AT_IS24_VBM_HP_ALLEGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_HP_ALLEGRUPPEN

public static final int SCOUT_PUBLISH_AT_HP_ALLEGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_IS24

public static final int SCOUT_PUBLISH_AT_IS24
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_VBM_HP_ALLEGRUPPEN

public static final int SCOUT_PUBLISH_AT_VBM_HP_ALLEGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_IS24_VBM_ALLEGRUPPEN

public static final int SCOUT_PUBLISH_AT_IS24_VBM_ALLEGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_IS24_WAHLGRUPPEN

public static final int SCOUT_PUBLISH_AT_IS24_WAHLGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_HP_WAHLGRUPPEN

public static final int SCOUT_PUBLISH_AT_HP_WAHLGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_IS24_HP_WAHLGRUPPEN

public static final int SCOUT_PUBLISH_AT_IS24_HP_WAHLGRUPPEN
See Also:
Constant Field Values

SCOUT_PUBLISH_AT_WAHLGRUPPEN

public static final int SCOUT_PUBLISH_AT_WAHLGRUPPEN
See Also:
Constant Field Values

FIELD_SCOUT_PUBLISH_GROUPS

public static final int FIELD_SCOUT_PUBLISH_GROUPS
Gruppen-ID’s (Semikolon-Separierte Liste von Gruppen-, Verbands- & Börsen-ID’s.)

See Also:
Constant Field Values

FIELD_SCOUT_API_SEARCH1

public static final int FIELD_SCOUT_API_SEARCH1
API-Suchfeld 1, Text 10

See Also:
Constant Field Values

FIELD_SCOUT_API_SEARCH2

public static final int FIELD_SCOUT_API_SEARCH2
API-Suchfeld 2, Text 10

See Also:
Constant Field Values

FIELD_SCOUT_API_SEARCH3

public static final int FIELD_SCOUT_API_SEARCH3
API-Suchfeld 3, Text 10

See Also:
Constant Field Values

FIELD_SCOUT_AGENT_ID

public static final int FIELD_SCOUT_AGENT_ID
Scout-Kunden-ID, Text 15

See Also:
Constant Field Values

FIELD_CONTACT_ADDRESS

public static final int FIELD_CONTACT_ADDRESS
Kontaktperson Anrede, Text 20

See Also:
Constant Field Values

FIELD_CONTACT_FIRSTNAME

public static final int FIELD_CONTACT_FIRSTNAME
Kontaktperson Vorname, Text 30

See Also:
Constant Field Values

FIELD_CONTACT_LASTNAME

public static final int FIELD_CONTACT_LASTNAME
Kontaktperson Nachname, Text 50

See Also:
Constant Field Values

FIELD_CONTACT_STREET

public static final int FIELD_CONTACT_STREET
Kontaktperson Straße, Text 100

See Also:
Constant Field Values

FIELD_CONTACT_STREETNR

public static final int FIELD_CONTACT_STREETNR
Kontaktperson Hausnummer, Text 30

See Also:
Constant Field Values

FIELD_CONTACT_POSTAL

public static final int FIELD_CONTACT_POSTAL
Kontaktperson Postleitzahl, Text 20

See Also:
Constant Field Values

FIELD_CONTACT_CITY

public static final int FIELD_CONTACT_CITY
Kontaktperson Ort, Text 50

See Also:
Constant Field Values

FIELD_CONTACT_COUNTRY

public static final int FIELD_CONTACT_COUNTRY
Länderkennzeichen, Text 3 (Dreistellige ISO-Norm)

See Also:
Constant Field Values

FIELD_CONTACT_PHONE

public static final int FIELD_CONTACT_PHONE
Telefon, Text 40

See Also:
Constant Field Values

FIELD_CONTACT_MOBILE

public static final int FIELD_CONTACT_MOBILE
Mobiltelefon, Text 40

See Also:
Constant Field Values

FIELD_CONTACT_FAX

public static final int FIELD_CONTACT_FAX
Telefax, Text 40

See Also:
Constant Field Values

FIELD_CONTACT_EMAIL

public static final int FIELD_CONTACT_EMAIL
Email, Text 150

See Also:
Constant Field Values

FIELD_CONTACT_WEBSITE

public static final int FIELD_CONTACT_WEBSITE
Homepage, Text 300

See Also:
Constant Field Values

FIELD_ESTATE_ADRESS_PUBLISHED

public static final int FIELD_ESTATE_ADRESS_PUBLISHED
Adreßdruck, Text 1

See Also:
Constant Field Values

ESTATE_ADRESS_PUBLISHED_YES

public static final char ESTATE_ADRESS_PUBLISHED_YES
See Also:
Constant Field Values

ESTATE_ADRESS_PUBLISHED_NO

public static final char ESTATE_ADRESS_PUBLISHED_NO
See Also:
Constant Field Values

FIELD_ESTATE_TITLE

public static final int FIELD_ESTATE_TITLE
Überschrift, Text 100

See Also:
Constant Field Values

FIELD_ESTATE_PROVISION

public static final int FIELD_ESTATE_PROVISION
Provision, Text 50

See Also:
Constant Field Values

FIELD_ESTATE_CURRENCY

public static final int FIELD_ESTATE_CURRENCY
Währung, Text 3

See Also:
Constant Field Values

ESTATE_CURRENCY_DEM

public static final String ESTATE_CURRENCY_DEM
See Also:
Constant Field Values

ESTATE_CURRENCY_EUR

public static final String ESTATE_CURRENCY_EUR
See Also:
Constant Field Values

FIELD_ESTATE_PROVISION_REQUIRED

public static final int FIELD_ESTATE_PROVISION_REQUIRED
Provisionspflichtig, Text 1

See Also:
Constant Field Values

ESTATE_PROVISION_REQUIRED_YES

public static final char ESTATE_PROVISION_REQUIRED_YES
See Also:
Constant Field Values

ESTATE_PROVISION_REQUIRED_NO

public static final char ESTATE_PROVISION_REQUIRED_NO
See Also:
Constant Field Values

FIELD_ESTATE_PROVISION_TEXT

public static final int FIELD_ESTATE_PROVISION_TEXT
Provisionshinweis, Text 200

See Also:
Constant Field Values

FIELD_ESTATE_ADRESS_STREET

public static final int FIELD_ESTATE_ADRESS_STREET
Straße, Text 100

See Also:
Constant Field Values

FIELD_ESTATE_ADRESS_STREETNR

public static final int FIELD_ESTATE_ADRESS_STREETNR
Hausnummer, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ADRESS_POSTAL

public static final int FIELD_ESTATE_ADRESS_POSTAL
Postleitzahl, Text 20

See Also:
Constant Field Values

FIELD_ESTATE_ADRESS_CITY

public static final int FIELD_ESTATE_ADRESS_CITY
Ort, Text 50

See Also:
Constant Field Values

FIELD_ESTATE_ADRESS_COUNTRY

public static final int FIELD_ESTATE_ADRESS_COUNTRY
Länderkennzeichen, Text 3 (Dreistellige ISO- Angabe)

See Also:
Constant Field Values

FIELD_ESTATE_ADRESS_COUNTRY_AREA

public static final int FIELD_ESTATE_ADRESS_COUNTRY_AREA
Internationale Region, Text 100 (nur für Objekte im Ausland)

See Also:
Constant Field Values

FIELD_ESTATE_TEXT_LAGE

public static final int FIELD_ESTATE_TEXT_LAGE
Lage, Text 2000

See Also:
Constant Field Values

FIELD_ESTATE_TEXT_AUSSTATTUNG

public static final int FIELD_ESTATE_TEXT_AUSSTATTUNG
Ausstattung, Text 2000 (Nicht für die Immobilienart Grundstücke (5))

See Also:
Constant Field Values

FIELD_ESTATE_TEXT_BESCHREIBUNG

public static final int FIELD_ESTATE_TEXT_BESCHREIBUNG
Objektbeschreibung, Text 2000

See Also:
Constant Field Values

FIELD_ESTATE_TEXT_SONSTIGES

public static final int FIELD_ESTATE_TEXT_SONSTIGES
Sonstige Angaben zum Objekt, Text 2000

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH0_NAME

public static final int FIELD_ESTATE_ATTACH0_NAME
Dateiname 1, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH0_SUFFIX

public static final int FIELD_ESTATE_ATTACH0_SUFFIX
Dateityp 1, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH0_TYPE

public static final int FIELD_ESTATE_ATTACH0_TYPE
Dateityp 1, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH0_DURATION

public static final int FIELD_ESTATE_ATTACH0_DURATION
Abspieldauer 1 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH0_TEXT

public static final int FIELD_ESTATE_ATTACH0_TEXT
Text 1, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH1_NAME

public static final int FIELD_ESTATE_ATTACH1_NAME
Dateiname 2, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH1_SUFFIX

public static final int FIELD_ESTATE_ATTACH1_SUFFIX
Dateityp 2, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH1_TYPE

public static final int FIELD_ESTATE_ATTACH1_TYPE
Dateityp 2, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH1_DURATION

public static final int FIELD_ESTATE_ATTACH1_DURATION
Abspieldauer 2 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH1_TEXT

public static final int FIELD_ESTATE_ATTACH1_TEXT
Text 2, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH2_NAME

public static final int FIELD_ESTATE_ATTACH2_NAME
Dateiname 3, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH2_SUFFIX

public static final int FIELD_ESTATE_ATTACH2_SUFFIX
Dateityp 3, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH2_TYPE

public static final int FIELD_ESTATE_ATTACH2_TYPE
Dateityp 3, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH2_DURATION

public static final int FIELD_ESTATE_ATTACH2_DURATION
Abspieldauer 3 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH2_TEXT

public static final int FIELD_ESTATE_ATTACH2_TEXT
Text 3, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH3_NAME

public static final int FIELD_ESTATE_ATTACH3_NAME
Dateiname 4, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH3_SUFFIX

public static final int FIELD_ESTATE_ATTACH3_SUFFIX
Dateityp 4, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH3_TYPE

public static final int FIELD_ESTATE_ATTACH3_TYPE
Dateityp 4, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH3_DURATION

public static final int FIELD_ESTATE_ATTACH3_DURATION
Abspieldauer 4 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH3_TEXT

public static final int FIELD_ESTATE_ATTACH3_TEXT
Text 4, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH4_NAME

public static final int FIELD_ESTATE_ATTACH4_NAME
Dateiname 5, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH4_SUFFIX

public static final int FIELD_ESTATE_ATTACH4_SUFFIX
Dateityp 5, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH4_TYPE

public static final int FIELD_ESTATE_ATTACH4_TYPE
Dateityp 5, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH4_DURATION

public static final int FIELD_ESTATE_ATTACH4_DURATION
Abspieldauer 5 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH4_TEXT

public static final int FIELD_ESTATE_ATTACH4_TEXT
Text 5, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH5_NAME

public static final int FIELD_ESTATE_ATTACH5_NAME
Dateiname 6, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH5_SUFFIX

public static final int FIELD_ESTATE_ATTACH5_SUFFIX
Dateityp 6, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH5_TYPE

public static final int FIELD_ESTATE_ATTACH5_TYPE
Dateityp 6, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH5_DURATION

public static final int FIELD_ESTATE_ATTACH5_DURATION
Abspieldauer 6 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH5_TEXT

public static final int FIELD_ESTATE_ATTACH5_TEXT
Text 6, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH6_NAME

public static final int FIELD_ESTATE_ATTACH6_NAME
Dateiname 7, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH6_SUFFIX

public static final int FIELD_ESTATE_ATTACH6_SUFFIX
Dateityp 7, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH6_TYPE

public static final int FIELD_ESTATE_ATTACH6_TYPE
Dateityp 7, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH6_DURATION

public static final int FIELD_ESTATE_ATTACH6_DURATION
Abspieldauer 7 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH6_TEXT

public static final int FIELD_ESTATE_ATTACH6_TEXT
Text 7, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH7_NAME

public static final int FIELD_ESTATE_ATTACH7_NAME
Dateiname 8, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH7_SUFFIX

public static final int FIELD_ESTATE_ATTACH7_SUFFIX
Dateityp 8, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH7_TYPE

public static final int FIELD_ESTATE_ATTACH7_TYPE
Dateityp 8, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH7_DURATION

public static final int FIELD_ESTATE_ATTACH7_DURATION
Abspieldauer 8 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH7_TEXT

public static final int FIELD_ESTATE_ATTACH7_TEXT
Text 8, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH8_NAME

public static final int FIELD_ESTATE_ATTACH8_NAME
Dateiname 9, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH8_SUFFIX

public static final int FIELD_ESTATE_ATTACH8_SUFFIX
Dateityp 9, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH8_TYPE

public static final int FIELD_ESTATE_ATTACH8_TYPE
Dateityp 9, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH8_DURATION

public static final int FIELD_ESTATE_ATTACH8_DURATION
Abspieldauer 9 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH8_TEXT

public static final int FIELD_ESTATE_ATTACH8_TEXT
Text 9, Text 30

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH9_NAME

public static final int FIELD_ESTATE_ATTACH9_NAME
Dateiname 10, Text 255

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH9_SUFFIX

public static final int FIELD_ESTATE_ATTACH9_SUFFIX
Dateityp 10, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH9_TYPE

public static final int FIELD_ESTATE_ATTACH9_TYPE
Dateityp 10, Text 4

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH9_DURATION

public static final int FIELD_ESTATE_ATTACH9_DURATION
Abspieldauer 10 in Sekunden, Zahl 5 (Für Video/Audio)

See Also:
Constant Field Values

FIELD_ESTATE_ATTACH9_TEXT

public static final int FIELD_ESTATE_ATTACH9_TEXT
Text 10, Text 30

See Also:
Constant Field Values
Constructor Detail

IS24CSVSchema

public IS24CSVSchema()
Method Detail

getCsvDateFormat

public static DateFormat getCsvDateFormat()

getEncoding

public String getEncoding()
Specified by:
getEncoding in class CSVSchema

getFahrtwegDistanz

protected Double getFahrtwegDistanz(Long time)
Umrechnung einer Zeit (in min) in die zurückgelegte Distanz (in km), auf Grundlage der Ortsgeschwindigkeit von 50 km/h.


getFahrtwegZeit

protected String getFahrtwegZeit(Double distance,
                                 long max)
Umrechnung einer Distanz (in km) in die benötigte Zeit (in min), auf Grundlage der Ortsgeschwindigkeit von 50 km/h.


getFieldCount

public int getFieldCount()
Specified by:
getFieldCount in class CSVSchema

getFieldSeparator

public String getFieldSeparator()
Specified by:
getFieldSeparator in class CSVSchema

getFusswegDistanz

protected Double getFusswegDistanz(Long time)
Umrechnung einer Zeit (in min) in die zurückgelegte Distanz (in km), auf Grundlage der Schrittgeschwindigkeit von 1 m/s (bzw. 3,6 km/h).


getFusswegZeit

protected String getFusswegZeit(Double distance,
                                long max)
Umrechnung einer Distanz (in km) in die benötigte Zeit (in min), auf Grundlage der Schrittgeschwindigkeit von 1 m/s (bzw. 3,6 km/h).


getIS24TypeId

public abstract int getIS24TypeId()

getLineSeparator

public String getLineSeparator()
Specified by:
getLineSeparator in class CSVSchema

getVersion

public String getVersion()
Specified by:
getVersion in class CSVSchema

loadSchema

public static IS24CSVSchema loadSchema(String line,
                                       String[] values)

loadSchema

public static IS24CSVSchema loadSchema(EstateImpl estate)
                                throws IOException,
                                       OpenEstateException
Throws:
IOException
OpenEstateException

loadSchema

public static IS24CSVSchema loadSchema(OpenEstateType type,
                                       String action,
                                       List<String> nutzungen)
                                throws IOException,
                                       OpenEstateException
Throws:
IOException
OpenEstateException

readAgent

public void readAgent(IS24CSVReader reader,
                      String[] values,
                      AgentImpl agent)

readAgentContact

public void readAgentContact(IS24CSVReader reader,
                             String[] values,
                             AgentContactImpl contact)

readEstate

public void readEstate(IS24CSVReader reader,
                       String[] values,
                       EstateImpl estate)

supportsEstateAction

protected boolean supportsEstateAction(String estateAction)

supportsEstateType

protected boolean supportsEstateType(String estateType)

writeValues

protected String[] writeValues(IS24CSVWriter writer,
                               EstateImpl estate,
                               AgentImpl agent,
                               AgentContactImpl contact)


Copyright © 2012 OpenEstate. All Rights Reserved.