segmentimpl.java

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

JAVA
24
字号
package org.xbrlapi.impl;

import org.xbrlapi.Entity;
import org.xbrlapi.Segment;
import org.xbrlapi.utilities.XBRLException;

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

public class SegmentImpl extends OpenContextComponentImpl implements Segment {

    /**
     * Gets the containing entity
     *
     * @return the entity that contains this segment
     * @throws XBRLException
     * @see org.xbrlapi.Segment#getEntity()
     */
    public Entity getEntity() throws XBRLException {
    	return (Entity) this.getAncestorOrSelf("org.xbrlapi.impl.EntityImpl");
    }
	
}

⌨️ 快捷键说明

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