entity.java

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

JAVA
66
字号
package org.xbrlapi;

import org.xbrlapi.utilities.XBRLException;

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

public interface Entity extends ContextComponent {

    /**
     * Get the entity identifier scheme.
     *
     * @return the entity identifier scheme URI 
     * @throws XBRLException
     */
    public String getIdentifierScheme() throws XBRLException;
    


    /**
     * Get the entity identifier
     *
     * @return the string corresponding to the entity from
     * among the full set of valid entity identifiers in the
     * nominated scheme.
     * @throws XBRLException
     */
    public String getIdentifierValue() throws XBRLException;
    

    
    /**
     * Get the segment of the entity
     *
     * @return the segment information for the entity
     * or null if the entity does not include segment information.
     * @throws XBRLException
     */
    public Segment getSegment() throws XBRLException;
    
    /**
     * @return a list of all the entity resources with the entity scheme and value 
     * of this entity fragment.
     * @throws XBRLException
     */
    public FragmentList<EntityResource> getEntityResources() throws XBRLException;
    
    /**
     * @return the list of labels for the entity identified by this fragment,
     * NOT taking into account the labels for the given identifier and the labels
     * for any equivalent identifiers.
     * @throws XBRLException
     */
    public FragmentList<LabelResource> getEntityLabels() throws XBRLException;
    
    /**
     * @return the list of labels for the entity identified by this fragment,
     * taking into account the labels for the given identifier and the labels
     * for any equivalent identifiers.
     * @throws XBRLException
     */
    public FragmentList<LabelResource> getAllEntityLabels() throws XBRLException;   
    
}

⌨️ 快捷键说明

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