entityresource.java

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

JAVA
51
字号
package org.xbrlapi;

import org.xbrlapi.utilities.XBRLException;

/**
 * Defines the functionality for the custom entity resource:
 * a extended link resource that has a 1:1 association with 
 * a given entity identifier.
 * @author Geoffrey Shuetrim (geoff@galexy.net)
 */

public interface EntityResource extends MixedContentResource {

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

    /**
     * @return the entity identifier value token
     * @throws XBRLException
     */
    public String getIdentifierValue() throws XBRLException;
    
    
    /**
     * @return a list of all equivalent entity resources
     * @throws XBRLException
     */
    public FragmentList<EntityResource> getEquivalents() throws XBRLException;
    
    /**
     * @return a list of entity identifier fragments from the contexts the
     * data store (or an empty fragment list if there are none
     * matching this entity resource).
     * @throws XBRLException
     */
    public FragmentList<Entity> getEntities() throws XBRLException;

    /**
     * @param url The URL of the document to get the entities from
     * @return a list of entity identifier fragments from the contexts in
     * the specified document (or an empty fragment list if there are none
     * matching this entity resource).
     * @throws XBRLException
     */
    public FragmentList<Entity> getEntities(String url) throws XBRLException;
    
}

⌨️ 快捷键说明

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