de.inovat.kex.bast.common.objectwrapper
Class Strasse

java.lang.Object
  extended by de.inovat.kex.bast.common.objectwrapper.ConfigurationObjectWrapper
      extended by de.inovat.kex.bast.common.objectwrapper.Strasse

public class Strasse
extends ConfigurationObjectWrapper

kapselt den DatenModellTyp straße

Version:
$Id: Strasse.java 442 2008-11-10 06:59:32Z Schawaller $
Author:
LOGOS GmbH Rostock (www.logos-ib.de), Ralf Trier

Field Summary
private static de.bsvrz.dav.daf.main.config.AttributeGroup __AtgStrasse
           
private static java.util.WeakHashMap<java.lang.String,Strasse> __Cache
           
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType __ConfigurationObjectType
           
private  long _Nummer
           
private  java.lang.String _Typ
           
private  java.lang.String _Zusatz
           
private static de.bsvrz.sys.funclib.debug.Debug debug
          DebugLogger fuer Debug-Ausgaben.
 
Fields inherited from class de.inovat.kex.bast.common.objectwrapper.ConfigurationObjectWrapper
__ATG_ANSCHLUSSPUNKT_KOMMUNIKATIONSPARTNER, __TYP_ANSCHLUSSPUNKT, __TYP_ANSCHLUSSPUNKT_KOMMUNIKATIONSPARTNER, _ConfigurationObject
 
Constructor Summary
private Strasse(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
           
private Strasse(java.lang.String pid)
           
 
Method Summary
static Strasse[] getAll()
          gibt die DatenModellObjekte vom typ straße zurück
static Strasse getInstance(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
          gibt die Instance der Strasse mit der PID zurück.
static Strasse getInstance(java.lang.String pid)
           
private static Strasse getInstanceIntern(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
           
 long getNummer()
           
 java.lang.String getTreeString()
          gibt einen String zum Anzeigen in einem Tree zurück.
 java.lang.String getTyp()
           
(package private)  de.bsvrz.dav.daf.main.config.ConfigurationObjectType getType()
          Implementationen müssen den ConfigurationObjectType zurückgeben, den die gewrappten ConfigurationObjecte haben.
 java.lang.String getZusatz()
           
private static void init()
           
protected  void initData(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
          Implemtationen sollen hier die konfigurierenden AttributGruppen und die zugehörigen Mengen lesen.
 java.lang.String toString()
          gibt einen String "ObjectType - ObjectName" zurück.
 
Methods inherited from class de.inovat.kex.bast.common.objectwrapper.ConfigurationObjectWrapper
getConfigurationObject, getKommunikationPartner, getKommunikationPartner, getName, getPID, getToolTipText, sortByName, sortByPid, sortByTreeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

debug

private static de.bsvrz.sys.funclib.debug.Debug debug
DebugLogger fuer Debug-Ausgaben.


__Cache

private static java.util.WeakHashMap<java.lang.String,Strasse> __Cache

__ConfigurationObjectType

private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType __ConfigurationObjectType

_Typ

private java.lang.String _Typ

_Nummer

private long _Nummer

_Zusatz

private java.lang.String _Zusatz

__AtgStrasse

private static de.bsvrz.dav.daf.main.config.AttributeGroup __AtgStrasse
Constructor Detail

Strasse

private Strasse(java.lang.String pid)
         throws DataModellObjectNotFoundException,
                DataModellMismatchException
Throws:
DataModellObjectNotFoundException
DataModellMismatchException

Strasse

private Strasse(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
         throws DataModellMismatchException
Throws:
DataModellMismatchException
Method Detail

getTyp

public java.lang.String getTyp()

getNummer

public long getNummer()

getZusatz

public java.lang.String getZusatz()

initData

protected void initData(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
                 throws DataModellMismatchException
Description copied from class: ConfigurationObjectWrapper
Implemtationen sollen hier die konfigurierenden AttributGruppen und die zugehörigen Mengen lesen.

Specified by:
initData in class ConfigurationObjectWrapper
Parameters:
confObj - ConfigurationObject
Throws:
DataModellMismatchException

getInstance

public static Strasse getInstance(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
                           throws DataModellMismatchException
gibt die Instance der Strasse mit der PID zurück. Es wird eine DataModellObjectNotFoundException geworfen, wenn die PID nicht vorhanden ist oder das zur PID gehörende Objekt nicht vom typ straße ist.

Parameters:
confObj - ConfigurationObject
Returns:
Strasse
Throws:
DataModellMismatchException

getInstance

public static Strasse getInstance(java.lang.String pid)
                           throws DataModellMismatchException
Throws:
DataModellMismatchException

getInstanceIntern

private static Strasse getInstanceIntern(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
                                  throws DataModellMismatchException
Throws:
DataModellMismatchException

getAll

public static Strasse[] getAll()
                        throws DataModellMismatchException
gibt die DatenModellObjekte vom typ straße zurück

Returns:
Strasse[]
Throws:
DataModellMismatchException

getType

de.bsvrz.dav.daf.main.config.ConfigurationObjectType getType()
Description copied from class: ConfigurationObjectWrapper
Implementationen müssen den ConfigurationObjectType zurückgeben, den die gewrappten ConfigurationObjecte haben.

Specified by:
getType in class ConfigurationObjectWrapper
Returns:
ConfigurationObjectType der gewrappten ConfigurationObjecte.

getTreeString

public java.lang.String getTreeString()
Description copied from class: ConfigurationObjectWrapper
gibt einen String zum Anzeigen in einem Tree zurück.

Specified by:
getTreeString in class ConfigurationObjectWrapper
Returns:
Text zur Anzeige im Baum

toString

public java.lang.String toString()
Description copied from class: ConfigurationObjectWrapper
gibt einen String "ObjectType - ObjectName" zurück.

Overrides:
toString in class ConfigurationObjectWrapper
Returns:
String

init

private static void init()