public class XDTHypercubeUse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL
The Constant ALL.
|
static int |
DEFAULT
The Constant DEFAULT.
|
static int |
NOTALL
The Constant NOTALL.
|
static int |
SCENARIO
The Constant SCENARIO.
|
static int |
SEGMENT
The Constant SEGMENT.
|
static int |
UNDEFINED
Values of the contextElement attribute.
|
Constructor and Description |
---|
XDTHypercubeUse(XDTProcessor processor,
XDTHypercube hypercube,
int arcRoleType,
DTSBase useBase,
DTSBase searchBase,
DefinitionLinkbase tempDefLb,
XBRLRelationship pri_hyp)
Instantiates a new XDT hypercube use.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
int |
getArcroleType()
Returns ALL or NOTALL depending on how the surrounding hypercube is related to
the primary item.
|
boolean |
getClosed()
Returns true if the hypercube is closed, false if this is an open hypercube.
|
int |
getContextElement()
Returns the container defined for this hypercube.
|
XDTDimensionUse |
getDimension(javax.xml.namespace.QName key)
Access to the object that represents the usage of the dimension in this hypercube.
|
java.util.Iterator<XDTDimensionUse> |
getDimensions()
Dimensions in the use of this hypercube.
|
java.lang.String |
getName()
Access to the hypercube name. this is a string composed by the concept prefix colon and local name
|
int |
getNumberOfDimensions()
Gets the number of dimensions.
|
javax.xml.namespace.QName |
getQName()
Access to the Hypercube QName.
|
DTSBase |
getUseBase()
Gets the use base.
|
int |
hashCode()
Hash code.
|
boolean |
isClosed()
Returns true if the hypercube is closed, false if this is an open hypercube.
|
boolean |
isOpen()
Returns true if the hypercube is open, false if this is a closed hypercube.
|
boolean |
validate(java.util.Map<javax.xml.namespace.QName,XMLFragment> htDimData,
java.lang.StringBuilder trackOfHypercubeValidation,
XDTValidationHypercube hypercubeSection,
java.lang.String contextId)
Validates this hypercube using dimensional data from the fact.
|
public static final int ALL
public static final int NOTALL
public static final int UNDEFINED
public static final int SEGMENT
public static final int SCENARIO
public static final int DEFAULT
public XDTHypercubeUse(XDTProcessor processor, XDTHypercube hypercube, int arcRoleType, DTSBase useBase, DTSBase searchBase, DefinitionLinkbase tempDefLb, XBRLRelationship pri_hyp)
processor
- the processorhypercube
- the hypercubearcRoleType
- the arc role typeuseBase
- the use basesearchBase
- the search basetempDefLb
- the temp def lbpri_hyp
- the pri_hyppublic int getContextElement()
public boolean getClosed()
public boolean isClosed()
public boolean isOpen()
public int getArcroleType()
public DTSBase getUseBase()
public boolean validate(java.util.Map<javax.xml.namespace.QName,XMLFragment> htDimData, java.lang.StringBuilder trackOfHypercubeValidation, XDTValidationHypercube hypercubeSection, java.lang.String contextId)
htDimData
- HashtabletrackOfHypercubeValidation
- the track of hypercube validationhypercubeSection
- XDTValidationHypercube instance to keep track of validation error detailscontextId
- the context idpublic java.lang.String getName()
public javax.xml.namespace.QName getQName()
public java.util.Iterator<XDTDimensionUse> getDimensions()
public int getNumberOfDimensions()
public XDTDimensionUse getDimension(javax.xml.namespace.QName key)
key
- QName of the dimensionpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic void clear()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa