All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.beigesoft.acc.mdlp.BnkCsv Maven / Gradle / Ivy

Go to download

It consists of double entry accounting and trading (web-store) business logic. It's based on previous beigesoft-accounting and beigesoft-webstore projects.

The newest version!
/*
BSD 2-Clause License

Copyright (c) 2019, Beigesoft™
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package org.beigesoft.acc.mdlp;

import org.beigesoft.mdlp.AIdLnNm;
import org.beigesoft.mdlp.CsvMth;
import org.beigesoft.mdlp.CsvCl;

/**
 * 

Model of bank's CSV method.

* * @author Yury Demidenko */ public class BnkCsv extends AIdLnNm { /** *

CSV method, not null.

**/ private CsvMth mth; /** *

Date CSV Column, not null. Example formats: * "dd/MM/yyyy", "MM/dd/yyyy", "MM-dd-yyyy".

**/ private CsvCl dtCl; /** *

Amount CSV Column, not null. Standard value is dot separated * number without group separators e.g. "11245.23", otherwise accepted * formats: "COMMA,SPACE" European standard - "11 245,45", * but in that case column value must be braced with text delimiter, * e.g. quotes; "COMMA,NONE" - "11245,45". All other separators should be * original, i.e. dot is ".", e.g. ".,NONE" is default format.

**/ private CsvCl amCl; /** *

If used, description CSV Column.

**/ private CsvCl dsCl; /** *

If used, status CSV Column, * column that contains of CANCELED or NOT information.

**/ private CsvCl stCl; /** *

if used, comma separated words that mean that entry was ACCEPTED, * e.g. "OK,ACCEPTED" or single value "true".

**/ private String acWds; /** *

if used, comma separated words that mean that entry was CANCELED, * e.g. "VOIDED,CANCELED" or single value "false".

**/ private String vdWds; //Simple getters and setters: /** *

Getter for mth.

* @return CsvMth **/ public final CsvMth getMth() { return this.mth; } /** *

Setter for mth.

* @param pMth reference **/ public final void setMth(final CsvMth pMth) { this.mth = pMth; } /** *

Getter for dtCl.

* @return CsvCl **/ public final CsvCl getDtCl() { return this.dtCl; } /** *

Setter for dtCl.

* @param pDtCl reference **/ public final void setDtCl(final CsvCl pDtCl) { this.dtCl = pDtCl; } /** *

Getter for amCl.

* @return CsvCl **/ public final CsvCl getAmCl() { return this.amCl; } /** *

Setter for amCl.

* @param pAmCl reference **/ public final void setAmCl(final CsvCl pAmCl) { this.amCl = pAmCl; } /** *

Getter for dsCl.

* @return CsvCl **/ public final CsvCl getDsCl() { return this.dsCl; } /** *

Setter for dsCl.

* @param pDsCl reference **/ public final void setDsCl(final CsvCl pDsCl) { this.dsCl = pDsCl; } /** *

Getter for stCl.

* @return CsvCl **/ public final CsvCl getStCl() { return this.stCl; } /** *

Setter for stCl.

* @param pStCl reference **/ public final void setStCl(final CsvCl pStCl) { this.stCl = pStCl; } /** *

Getter for acWds.

* @return String **/ public final String getAcWds() { return this.acWds; } /** *

Setter for acWds.

* @param pAcWds reference **/ public final void setAcWds(final String pAcWds) { this.acWds = pAcWds; } /** *

Getter for vdWds.

* @return String **/ public final String getVdWds() { return this.vdWds; } /** *

Setter for vdWds.

* @param pVdWds reference **/ public final void setVdWds(final String pVdWds) { this.vdWds = pVdWds; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy