ch.marlovits.plz
Class Name_GeoNamesEintrag
java.lang.Object
ch.elexis.data.PersistentObject
ch.marlovits.plz.Name_GeoNamesEintrag
- All Implemented Interfaces:
- IPersistentObject, ISelectable
public class Name_GeoNamesEintrag
- extends PersistentObject
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 |
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 |
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
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 GeoNamesnameId
- : alternateNameId aus GeoNameslanguage
- : iso 639 languagename
- : Name in der Sprache isPreferredName
- : '1', if this alternate name is an official/preferred nameisShortName
- : '1', if this is a short name like 'California' for 'State of California'
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 GeoNameslanguage
- : iso 639 languagename
- : Name in der Sprache isPreferredName
- : '1', if this alternate name is an official/preferred nameisShortName
- : '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
Copyright 2005-2011 by Gerry Weirich, Elexis