fact.java

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

JAVA
49
字号
package org.xbrlapi;

import org.xbrlapi.utilities.XBRLException;


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

public interface Fact extends Fragment {

    /**
     * Return true if the fact is a tuple and false otherwise
     */
    public boolean isTuple() throws XBRLException;
    
	/**
	 * Get the instance that this fact is a part of
	 * @return the xbrl instance fragment
	 * @throws XBRLException
	 */
	public Instance getInstance() throws XBRLException;

	
	
	/**
	 * Get the tuple that this fact is a part of
	 * @return the xbrl tuple fragment or null if this 
	 * @throws XBRLException
	 */
	public Tuple getTuple() throws XBRLException;



	/**
	 * Get the concept that defines the syntax for this fact.
	 * @return the appropriate concept fragment from the data store.
	 * @throws XBRLException if the concept cannot be found.
	 */
	public Concept getConcept() throws XBRLException;

	/**
	 * @return true if the fact is reported with units and false otherwise.
	 * @throws XBRLException
	 */
	public boolean isNumeric() throws XBRLException;

}

⌨️ 快捷键说明

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