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

com.kuangkie.carbon.record.RecordValueGetter Maven / Gradle / Ivy

package com.kuangkie.carbon.record;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

import com.kuangkie.carbon.util.StringHelper;

public interface RecordValueGetter {

	public String getString(String itemCode);

	public Integer getInteger(String itemCode);
	
	public int getIntValue(String itemCode);

	public Long getLong(String itemCode);
	
	public long getLongValue(String itemCode);
	
	public Float getFloat(String itemCode);
	
	public float getFloatValue(String itemCode);
	
	public Double getDouble(String itemCode);
	
	public double getDoubleValue(String itemCode);
	
	public Boolean getBoolean(String itemCode);
	
	public boolean getBooleanValue(String itemCode);
	
	public Date getDate(String itemCode);
	
	public BigInteger getBigInteger(String itemCode);
	
	public BigDecimal  getBigDecimal(String itemCode);
	
	public byte[]  getFileBody(String itemCode);
	
	public default boolean isBlankValue(String itemCode) {
		return StringHelper.isBlank(getString(itemCode));
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy