📄 arcroletypeimpl.java
字号:
package org.xbrlapi.impl;
import org.w3c.dom.Element;
import org.xbrlapi.ArcroleType;
import org.xbrlapi.Networks;
import org.xbrlapi.utilities.XBRLException;
/**
* @author Geoffrey Shuetrim (geoff@galexy.net)
*/
public class ArcroleTypeImpl extends CustomTypeImpl implements ArcroleType {
/**
* Get the cyclesAllowed attribute value (one of any, directed or none).
* @return the value of the cyclesAllowed attribute (even if it is not one of the valid values).
* @throws XBRLException if no attribute value is provided.
* @see org.xbrlapi.ArcroleType#getCyclesAllowed()
*/
public String getCyclesAllowed() throws XBRLException {
Element root = getDataRootElement();
if (root.hasAttribute("cyclesAllowed")) {
return root.getAttribute("cyclesAllowed");
}
throw new XBRLException("A cyclesAllowed attribute must be specified.");
}
/**
* get the collection of networks expressed using arcs that involve this
* arc role.
*/
public Networks getNetworks() throws XBRLException {
return getStore().getNetworks(this.getCustomURI());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -