Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.marlovits.plz
Class Name_GeoNamesEintrag

java.lang.Object
  extended by ch.elexis.data.PersistentObject
      extended by ch.marlovits.plz.Name_GeoNamesEintrag
All Implemented Interfaces:
IPersistentObject, ISelectable

public class Name_GeoNamesEintrag
extends PersistentObject


Nested Class Summary
 
Nested classes/interfaces inherited from class ch.elexis.data.PersistentObject
PersistentObject.FieldType
 
Field Summary
static java.lang.String VERSION
           
 
Fields inherited from class ch.elexis.data.PersistentObject
CACHE_DEFAULT_LIFETIME, CACHE_MIN_LIFETIME, CFG_CONNECTSTRING, CFG_DRIVER, CFG_PWD, CFG_TYPE, CFG_USER, DELETED, EXISTS, INEXISTENT, INVALID_ID, MATCH_AUTO, MATCH_CONTAINS, MATCH_EXACT, MATCH_REGEXP, MATCH_START
 
Fields inherited from interface ch.elexis.core.data.IPersistentObject
FLD_DATE, FLD_DELETED, FLD_EXTINFO, FLD_ID, FLD_LASTUPDATE, STATE_EXISTING, STATE_INEXISTENT, STATE_INVALID_ID
 
Constructor Summary
Name_GeoNamesEintrag(java.lang.String id, java.lang.String nameId, java.lang.String language, java.lang.String name, java.lang.String isPreferredName, java.lang.String isShortName)
          Erstellen eines neuen Eintrages in der Datenbank
 
Method Summary
 java.lang.String getLabel()
          Einen menschenlesbaren Identifikationsstring für dieses Objet liefern
 java.lang.String toString()
           
 void updateEntry(java.lang.String nameId, java.lang.String language, java.lang.String name, java.lang.String isPreferredName, java.lang.String isShortName)
          Aktualisierung des aktuellen Eintrages in der Datenbank
 
Methods inherited from class ch.elexis.data.PersistentObject
addChangeListener, addSticker, addToList, addXid, begin, checkNull, checkZero, checkZeroDouble, clearCache, connect, connect, delete, deleteList, disconnect, equals, executeSQLScript, exists, exportData, fireChangeEvent, flatten, fold, get, get, getCacheTime, getConnection, getDefaultCacheLifetime, getFieldType, getId, getInt, getLastUpdate, getList, getList, getMap, getSticker, getStickers, getWrappedId, getXid, getXid, getXids, hashCode, isAvailable, isDeleted, isDragOK, isMatching, isMatching, isMatching, isMatching, isShowDeleted, isValid, lock, map, relock, removeChangeListener, removeFromList, removeFromList, removeSticker, resetCache, set, set, setDefaultCacheLifetime, setInt, setMap, setShowDeleted, setTrace, state, storeToString, tableExists, ts, undelete, unlock
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values
Constructor Detail

Name_GeoNamesEintrag

public Name_GeoNamesEintrag(java.lang.String id,
                            java.lang.String nameId,
                            java.lang.String language,
                            java.lang.String name,
                            java.lang.String isPreferredName,
                            java.lang.String isShortName)
Erstellen eines neuen Eintrages in der Datenbank

Parameters:
id - : aus GeoNames
nameId - : alternateNameId aus GeoNames
language - : iso 639 language
name - : Name in der Sprache
isPreferredName - : '1', if this alternate name is an official/preferred name
isShortName - : '1', if this is a short name like 'California' for 'State of California'
Method Detail

updateEntry

public void updateEntry(java.lang.String nameId,
                        java.lang.String language,
                        java.lang.String name,
                        java.lang.String isPreferredName,
                        java.lang.String isShortName)
Aktualisierung des aktuellen Eintrages in der Datenbank

Parameters:
nameId - : alternateNameId aus GeoNames
language - : iso 639 language
name - : Name in der Sprache
isPreferredName - : '1', if this alternate name is an official/preferred name
isShortName - : '1', if this is a short name like 'California' for 'State of California'

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getLabel

public java.lang.String getLabel()
Description copied from class: PersistentObject
Einen menschenlesbaren Identifikationsstring für dieses Objet liefern

Specified by:
getLabel in interface IPersistentObject
Specified by:
getLabel in class PersistentObject

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis