Example usage for org.apache.commons.lang3.math NumberUtils BYTE_ZERO

List of usage examples for org.apache.commons.lang3.math NumberUtils BYTE_ZERO

Introduction

In this page you can find the example usage for org.apache.commons.lang3.math NumberUtils BYTE_ZERO.

Prototype

Byte BYTE_ZERO

To view the source code for org.apache.commons.lang3.math NumberUtils BYTE_ZERO.

Click Source Link

Document

Reusable Byte constant for zero.

Usage

From source file:com.tao_harmony.fx2extend.journal.Journal.java

/**
 * ??.??????????./*  w  w w . j  a  v  a2s.c om*/
 * <ul>
 * <li></li>
 * <li>?</li>
 * <li>?????</li>
 * </ul>
 */
public void reset() {
    this.ammount = NumberUtils.LONG_ZERO;
    this.checkNumber = StringUtils.EMPTY;
    this.creditCode = NumberUtils.SHORT_ZERO;
    this.creditSubCode = StringUtils.EMPTY;
    this.customer = StringUtils.EMPTY;
    this.customerCode = NumberUtils.INTEGER_ZERO;
    this.debitCode = NumberUtils.SHORT_ZERO;
    this.debitSubCode = StringUtils.EMPTY;
    this.departmentAmmountClass = NumberUtils.BYTE_ZERO;
    this.departmentCode = NumberUtils.SHORT_ZERO;
    this.departmentCount = NumberUtils.BYTE_ZERO;
    this.evidenceNumber = StringUtils.EMPTY;
    this.fundBalanceMajor = NumberUtils.BYTE_ZERO;
    this.fundBalanceMinor = NumberUtils.BYTE_ZERO;
    this.paymentDay = NumberUtils.INTEGER_ZERO;
    this.purchaseDayBegins = NumberUtils.INTEGER_ZERO;
    this.purchaseDayEnds = NumberUtils.INTEGER_ZERO;
    this.purchasePattern = NumberUtils.BYTE_ZERO;
    this.recordNumber = NumberUtils.INTEGER_ZERO;
    this.recoveryDay = NumberUtils.INTEGER_ZERO;
    this.ruleNumber = NumberUtils.INTEGER_ZERO;
    this.segmentCode = NumberUtils.BYTE_ZERO;
    this.slipNumber = NumberUtils.INTEGER_ZERO;
    this.summary = StringUtils.EMPTY;
    this.taxAmmount = NumberUtils.LONG_ZERO;
    this.taxClass = NumberUtils.BYTE_ZERO;
    this.taxInputClass = NumberUtils.BYTE_ZERO;
    this.taxRate = NumberUtils.INTEGER_ZERO;
}