numericitem.java

来自「xbrlapi的源码」· Java 代码 · 共 56 行

JAVA
56
字号
package org.xbrlapi;

import org.xbrlapi.utilities.XBRLException;

/**
 * @author Geoffrey Shuetrim (geoff@galexy.net)
 */

public interface NumericItem extends Item {

	/** 
	 * Get the units for this item
	 *
	 * @return the units fragment associated with this item
	 * @throws XBRLException
	 */
	public Unit getUnits() throws XBRLException;
	

	

	/** 
	 * Get the decimals attribute for this item.
	 *
	 * @return the value of the decimals attribute
	 * @throws XBRLException
	 */
	public String getDecimals() throws XBRLException;
	
	

	/** 
	 * Get the precision attribute for this item.
	 *
	 * @return the value of the precision attribute
	 * @throws XBRLException
	 */
	public String getPrecision() throws XBRLException;
	

	
	/** 
	 * Returns true if the fact has a precision attribute.
	 * @return true if the fact has a precision attribute and false otherwise.
	 * @throws XBRLException
	 */
	public boolean hasPrecision() throws XBRLException;
	
	/** 
	 * Returns true if the fact has a decimals attribute.
	 * @return true if the fact has a decimals attribute and false otherwise.
	 * @throws XBRLException
	 */
	public boolean hasDecimals() throws XBRLException;

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?