psman.data
Class Configuration

java.lang.Object
  |
  +--psman.data.Configuration

public final class Configuration
extends java.lang.Object

Container for Settings.

Version:
$Id: Configuration.java,v 1.3 2003/11/03 16:08:55 tk4 Exp $
Author:
Martin Godisch

Constructor Summary
Configuration(java.lang.String id, java.lang.String value)
          Constructor, only for existing configuration entries.
 
Method Summary
 boolean equals(psman.data.Configuration data)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getID()
          Return the database ID of this configuration entry.
 java.lang.String getValue()
          Return the name of this configuration entry.
 int hashCode()
           
 void setID(java.lang.String id)
          Set the database ID of this configuration entry.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration(java.lang.String id,
                     java.lang.String value)
Constructor, only for existing configuration entries.

Parameters:
id - the database ID of this configuration entry
value - the value of this configuration entry
Method Detail

getID

public java.lang.String getID()
Return the database ID of this configuration entry.

Returns:
the database ID of this configuration entry

getValue

public java.lang.String getValue()
Return the name of this configuration entry.

Returns:
the name of this configuration entry

setID

public void setID(java.lang.String id)
Set the database ID of this configuration entry.

Parameters:
id - the database ID of this configuration entry

equals

public boolean equals(psman.data.Configuration data)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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


Copyright © 2003 DRIM Team. All Rights Reserved.