asit.moa.moazs.notifier
Class BaseConfig

java.lang.Object
  extended byasit.moa.moazs.notifier.BaseConfig
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Config

public abstract class BaseConfig
extends Object
implements Serializable

This is an object that contains data related to the config table. Do not modify this class because it will be overwritten if the configuration file related to this class is modified.

See Also:
Serialized Form

Field Summary
static String PROP_NAME
           
static String PROP_VALUE
           
static String REF
           
 
Constructor Summary
BaseConfig()
           
BaseConfig(long id)
          Constructor for primary key
BaseConfig(long id, String name, String value)
          Constructor for required fields
 
Method Summary
 boolean equals(Object obj)
           
 long getId()
          Return the unique identifier of this class
 String getName()
          Return the value associated with the column: name
 String getValue()
          Return the value associated with the column: value
 int hashCode()
           
protected  void initialize()
           
 void setId(long id)
          Set the unique identifier of this class
 void setName(String name)
          Set the value related to the column: name
 void setValue(String value)
          Set the value related to the column: value
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

REF

public static String REF

PROP_NAME

public static String PROP_NAME

PROP_VALUE

public static String PROP_VALUE
Constructor Detail

BaseConfig

public BaseConfig()

BaseConfig

public BaseConfig(long id)
Constructor for primary key


BaseConfig

public BaseConfig(long id,
                  String name,
                  String value)
Constructor for required fields

Method Detail

initialize

protected void initialize()

getId

public long getId()
Return the unique identifier of this class


setId

public void setId(long id)
Set the unique identifier of this class

Parameters:
id - the new ID

getName

public String getName()
Return the value associated with the column: name


setName

public void setName(String name)
Set the value related to the column: name

Parameters:
name - the name value

getValue

public String getValue()
Return the value associated with the column: value


setValue

public void setValue(String value)
Set the value related to the column: value

Parameters:
value - the value value

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.