com.ihr.xbrl.om.exLinks
Class CalculationLinkbase

java.lang.Object
  extended by com.ihr.xbrl.om.XMLFragment
      extended by com.ihr.xbrl.om.exLinks.XLinkElement
          extended by com.ihr.xbrl.om.exLinks.XBRLExtendedLink
              extended by com.ihr.xbrl.om.exLinks.CalculationLinkbase
All Implemented Interfaces:
XBRLAllowsDocumentation, XBRLRelationshipPoint, XBRLDTSDocument, XMLHasParent, java.lang.Cloneable, javax.xml.namespace.NamespaceContext

public class CalculationLinkbase
extends XBRLExtendedLink


Field Summary
static javax.xml.namespace.QName lbType
           
static javax.xml.namespace.QName standard_arc
           
static java.lang.String standard_role_ref
          Used on taxonomies to refer to a calculation linkbase
static java.lang.String summation_item_arcrole_URI
           
static javax.xml.namespace.QName weight
           
 
Fields inherited from class com.ihr.xbrl.om.exLinks.XBRLExtendedLink
standard_role_URI
 
Fields inherited from class com.ihr.xbrl.om.exLinks.XLinkElement
actuate, ACTUATE, ARC, arcrole, ARCROLE, ETITLE, EXTENDED, from, FROM, href, HREF, label, LABEL, LOCATOR, RESOURCE, role, ROLE, show, SHOW, SIMPLE, title, TITLE, to, TO, type, TYPE
 
Fields inherited from class com.ihr.xbrl.om.XMLFragment
CONCEPT_LABEL, CONCEPT_QNAME, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, idQName, NO_POSITION, OrderComparator, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER
 
Constructor Summary
CalculationLinkbase(XBRLDocument parent, DTSBase base)
          Deprecated. use CalculationLinkbase(XBRLDocument, XBRLRoleType) instead
CalculationLinkbase(XBRLDocument parent, XBRLRoleType role)
          Creates a CalculationLinkbase extended link
CalculationLinkbase(XBRLDocument parent, net.sf.saxon.s9api.XdmNode node)
           
 
Method Summary
 java.lang.String getExtendedLinkTypeName()
          Returns a localized constant string indicating the extended link type
 javax.xml.namespace.QName getStaticLinkbaseType()
          This function MUST be implemented by classes derived from this class
static double getWeight(XBRLRelationship rel)
           
 XBRLValidationReport validate(XBRLCoreProcessor proc)
          Performs XLink valiadtion at the arcs level
 void validateNewRelationship(XBRLRelationship rel)
           
 
Methods inherited from class com.ihr.xbrl.om.exLinks.XBRLExtendedLink
addDocumentation, addRelationship, addResource, clear, clearCaches, createExtendedLink, createExtendedLink, createExtendedLink, discoverDTS, equals, generateNode, getArcroles, getArcs, getAttributes, getDocumentation, getDTSBase, getDTSKey, getElements, getFriendlyName, getLinkbaseType, getLocators, getNumberOfResources, getParent, getRelationships, getResources, getRoleType, hashCode, removeDocumentation, removeRelationship, removeResource, setDTSBase, setParent, setRole, setRoleType, wouldBeDuplicateArc
 
Methods inherited from class com.ihr.xbrl.om.exLinks.XLinkElement
getActuate, getArcrole, getFromTxt, getHRef, getLabel, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setShow, setSType, setTitle, setTo
 
Methods inherited from class com.ihr.xbrl.om.XMLFragment
addAttribute, addChild, addFromRelationship, addNamespace, addNamespace, addToRelationship, addXMLChild, changeBase, checkBase, clone, clone, delAttribute, delAttribute, equalXdmValues, evaluateBoolean, evaluateList, evaluateNode, evaluateNumber, evaluateString, generateId, generateNodeNamespacesAndAttributes, generateNodeValue, generatePrefix, getAttribute, getAttributeQNameValue, getAttributes, getAttributeValue, getBase, getBase, getBaseURI, getBooleanValue, getChild, getContainer, getDeclaredNamespaces, getDocument, getFragment, getFriendlyName, getFromRelationships, getFromRelationships, getFromRelationships, getId, getLang, getNamespaceURI, getNodeName, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getPrefix, getPrefixes, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToRelationships, getToRelationships, getToRelationships, getValue, getXPathNamespaceContext, getXPathToNode, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerToNode, isNamespaceDefined, objEquals, objHashCode, qNameToString, removeAttribute, removeChild, removeChild, removeFromRelationship, removeToRelationship, removeXMLChild, resetElements, resetHash, resolveHRef, resolveHRef, s_equal2, s_equal2, setAttributes, setBase, setDocument, setDocumentAndReload, setElements, setId, setLang, setNamespaceContext, setNamespaces, setNode, setNodeName, setParent, setValue, setValue, setVariablesDefined, toString, valueEquals, xEqual
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ihr.xbrl.om.exLinks.XBRLAllowsDocumentation
getContainer
 
Methods inherited from interface com.ihr.xbrl.om.XMLHasParent
addXMLChild, getBase, removeXMLChild, setParent
 

Field Detail

summation_item_arcrole_URI

public static final java.lang.String summation_item_arcrole_URI
See Also:
Constant Field Values

lbType

public static final javax.xml.namespace.QName lbType

standard_arc

public static final javax.xml.namespace.QName standard_arc

standard_role_ref

public static final java.lang.String standard_role_ref
Used on taxonomies to refer to a calculation linkbase

See Also:
Constant Field Values

weight

public static final javax.xml.namespace.QName weight
Constructor Detail

CalculationLinkbase

public CalculationLinkbase(XBRLDocument parent,
                           net.sf.saxon.s9api.XdmNode node)

CalculationLinkbase

public CalculationLinkbase(XBRLDocument parent,
                           DTSBase base)
                    throws XBRLInconsistentDTSException
Deprecated. use CalculationLinkbase(XBRLDocument, XBRLRoleType) instead

Parameters:
parent - XBRLDocument
base - DTSBase
Throws:
XBRLInconsistentDTSException

CalculationLinkbase

public CalculationLinkbase(XBRLDocument parent,
                           XBRLRoleType role)
Creates a CalculationLinkbase extended link

Parameters:
parent -
role -
Since:
2.6.5
Method Detail

getStaticLinkbaseType

public javax.xml.namespace.QName getStaticLinkbaseType()
Description copied from class: XBRLExtendedLink
This function MUST be implemented by classes derived from this class

Specified by:
getStaticLinkbaseType in class XBRLExtendedLink
Returns:
QName indicating the LinkbaseType like xbrli:footnoteLinkbase etc.

getExtendedLinkTypeName

public java.lang.String getExtendedLinkTypeName()
Description copied from class: XBRLExtendedLink
Returns a localized constant string indicating the extended link type

Specified by:
getExtendedLinkTypeName in class XBRLExtendedLink
Returns:
String

validate

public XBRLValidationReport validate(XBRLCoreProcessor proc)
Description copied from class: XBRLExtendedLink
Performs XLink valiadtion at the arcs level

Overrides:
validate in class XBRLExtendedLink

validateNewRelationship

public void validateNewRelationship(XBRLRelationship rel)
                             throws XBRLValidationException
Specified by:
validateNewRelationship in class XBRLExtendedLink
Throws:
XBRLValidationException

getWeight

public static double getWeight(XBRLRelationship rel)
                        throws XBRLValidationException
Throws:
XBRLValidationException


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa