jgnash.engine
Class Config

java.lang.Object
  extended by jgnash.engine.StoredObject
      extended by jgnash.engine.Config
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Config
extends StoredObject

A general configuration class so that application configuration can be stored inside the database

Version:
$Id$
Author:
Craig Cavanaugh
See Also:
Serialized Form

Field Summary
private  java.lang.String accountSeparator
           
static java.lang.String DEFAULT_CONFIG
           
private  CurrencyNode defaultCurrency
           
private  float fileVersion
           
private  java.lang.String name
           
private static long serialVersionUID
           
private  java.util.List<java.lang.String> transactionNumberItems
          Contains a list a items to display in the transaction number combo
 
Constructor Summary
Config()
           
 
Method Summary
(package private)  java.lang.String getAccountSeparator()
           
(package private)  CurrencyNode getDefaultCurrency()
           
 float getFileVersion()
           
 java.lang.String getName()
           
 java.util.List<java.lang.String> getTransactionNumberList()
           
(package private)  void setAccountSeparator(java.lang.String accountSeparator)
           
(package private)  void setDefaultCurrency(CurrencyNode defaultCurrency)
           
protected  void setFileVersion(float fileVersion)
           
 void setTransactionNumberList(java.util.List<java.lang.String> transactionNumberItems)
           
 
Methods inherited from class jgnash.engine.StoredObject
clone, equals, getUuid, hashCode, isMarkedForRemoval, setMarkedForRemoval
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

defaultCurrency

private CurrencyNode defaultCurrency

name

private java.lang.String name

DEFAULT_CONFIG

public static final java.lang.String DEFAULT_CONFIG
See Also:
Constant Field Values

accountSeparator

private java.lang.String accountSeparator

fileVersion

private float fileVersion

transactionNumberItems

private java.util.List<java.lang.String> transactionNumberItems
Contains a list a items to display in the transaction number combo

Constructor Detail

Config

public Config()
Method Detail

getFileVersion

public float getFileVersion()

setFileVersion

protected void setFileVersion(float fileVersion)

setDefaultCurrency

void setDefaultCurrency(CurrencyNode defaultCurrency)

getDefaultCurrency

CurrencyNode getDefaultCurrency()

setAccountSeparator

void setAccountSeparator(java.lang.String accountSeparator)

getAccountSeparator

java.lang.String getAccountSeparator()

setTransactionNumberList

public void setTransactionNumberList(java.util.List<java.lang.String> transactionNumberItems)

getTransactionNumberList

public java.util.List<java.lang.String> getTransactionNumberList()

getName

public java.lang.String getName()