Class DBPropertyImpl

  • All Implemented Interfaces:
    de.willuhn.datasource.GenericObject, de.willuhn.datasource.rmi.Changeable, de.willuhn.datasource.rmi.DBObject, de.willuhn.datasource.rmi.Transactionable, DBProperty, java.io.Serializable, java.rmi.Remote

    public class DBPropertyImpl
    extends de.willuhn.datasource.db.AbstractDBObject
    implements DBProperty
    Speichert ein einzelnes Property in der Datenbank.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.rmi.server.RemoteObject

        ref
    • Constructor Summary

      Constructors 
      Constructor Description
      DBPropertyImpl()
      ct
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Liefert den Namen des Parameters.
      java.lang.String getPrimaryAttribute()  
      protected java.lang.String getTableName()  
      java.lang.String getValue()
      Liefert den Wert des Parameters.
      void setName​(java.lang.String name)
      Speichert den Namen des Parameters.
      void setValue​(java.lang.String value)
      Speichert den Wert des Parameters.
      • Methods inherited from class de.willuhn.datasource.db.AbstractDBObject

        addDeleteListener, addStoreListener, clear, delete, deleteCheck, equals, getAttribute, getAttributeNames, getAttributeType, getForeignObject, getID, getIDField, getInsertSQL, getList, getListQuery, getLoadQuery, getService, getUpdateSQL, hasChanged, hasChanged, init, insert, insertCheck, isNewObject, load, overwrite, removeDeleteListener, removeStoreListener, setAttribute, setID, setService, store, transactionBegin, transactionCommit, transactionRollback, updateCheck
      • Methods inherited from class java.rmi.server.UnicastRemoteObject

        clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
      • Methods inherited from class java.rmi.server.RemoteServer

        getClientHost, getLog, setLog
      • Methods inherited from class java.rmi.server.RemoteObject

        equals, getRef, hashCode, toString, toStub
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface de.willuhn.datasource.rmi.Changeable

        clear, delete, isNewObject, overwrite, store
      • Methods inherited from interface de.willuhn.datasource.rmi.DBObject

        addDeleteListener, addStoreListener, equals, getAttribute, getAttributeType, getList, load, removeDeleteListener, removeStoreListener
      • Methods inherited from interface de.willuhn.datasource.GenericObject

        getAttributeNames, getID
      • Methods inherited from interface de.willuhn.datasource.rmi.Transactionable

        transactionBegin, transactionCommit, transactionRollback
    • Constructor Detail

      • DBPropertyImpl

        public DBPropertyImpl()
                       throws java.rmi.RemoteException
        ct
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • getPrimaryAttribute

        public java.lang.String getPrimaryAttribute()
                                             throws java.rmi.RemoteException
        Specified by:
        getPrimaryAttribute in interface de.willuhn.datasource.rmi.DBObject
        Specified by:
        getPrimaryAttribute in interface de.willuhn.datasource.GenericObject
        Specified by:
        getPrimaryAttribute in class de.willuhn.datasource.db.AbstractDBObject
        Throws:
        java.rmi.RemoteException
        See Also:
        AbstractDBObject.getPrimaryAttribute()
      • getTableName

        protected java.lang.String getTableName()
        Specified by:
        getTableName in class de.willuhn.datasource.db.AbstractDBObject
        See Also:
        AbstractDBObject.getTableName()
      • getName

        public java.lang.String getName()
                                 throws java.rmi.RemoteException
        Description copied from interface: DBProperty
        Liefert den Namen des Parameters.
        Specified by:
        getName in interface DBProperty
        Returns:
        Name des Parameters.
        Throws:
        java.rmi.RemoteException
        See Also:
        DBProperty.getName()
      • getValue

        public java.lang.String getValue()
                                  throws java.rmi.RemoteException
        Description copied from interface: DBProperty
        Liefert den Wert des Parameters.
        Specified by:
        getValue in interface DBProperty
        Returns:
        Wert des Parameters.
        Throws:
        java.rmi.RemoteException
        See Also:
        DBProperty.getValue()
      • setName

        public void setName​(java.lang.String name)
                     throws java.rmi.RemoteException
        Description copied from interface: DBProperty
        Speichert den Namen des Parameters.
        Specified by:
        setName in interface DBProperty
        Parameters:
        name - Name des Parameters.
        Throws:
        java.rmi.RemoteException
        See Also:
        DBProperty.setName(java.lang.String)
      • setValue

        public void setValue​(java.lang.String value)
                      throws java.rmi.RemoteException
        Description copied from interface: DBProperty
        Speichert den Wert des Parameters.
        Specified by:
        setValue in interface DBProperty
        Parameters:
        value - Wert des Parameters.
        Throws:
        java.rmi.RemoteException
        See Also:
        DBProperty.setValue(java.lang.String)