|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Combinations
Defines the methods that are available to interact with lists of aspects and lists of their values.
This object provides a range of functionality that assists with activities such as creating multilevel table row or column headings based upon combinations of aspect values.
| Method Summary | |
|---|---|
void |
clearAspectValues(URI aspectId)
Removes the aspect values for the specified aspect. |
int |
getAncestorCount(URI aspectId)
|
List<Aspect> |
getAspects()
|
int |
getAspectValueCount(URI aspectId)
|
List<AspectValue> |
getAspectValues(URI aspectId)
|
String |
getAxis()
|
int |
getCombinationCount()
|
AspectValue |
getCombinationValue(URI aspectId,
int combination)
This method is useful when setting up filters for a specific combination of aspect values. |
Map<URI,AspectValue> |
getCombinationValues(int combination)
This method is particularly useful in setting up fact set filtering based upon a combination of aspect values. |
int |
getDescendantCount(URI aspectId)
|
boolean |
hasAspect(URI aspectId)
|
void |
setAspectValues(FactSet factSet)
For each aspect in the combination, its aspect values are set equal to the list of aspect values obtained from the fact set, sorted based on the comparator provided by the aspect's domain. |
void |
setAspectValues(URI aspectId,
List<AspectValue> values)
|
| Method Detail |
|---|
String getAxis()
List<Aspect> getAspects()
boolean hasAspect(URI aspectId)
throws XBRLException
aspectId - The ID of the aspect of interest.
XBRLException - if the aspect ID is null
List<AspectValue> getAspectValues(URI aspectId)
throws XBRLException
aspectId - The ID of the aspect of interest.
XBRLException - if the combinations do not include the specified Aspect.
void clearAspectValues(URI aspectId)
throws XBRLException
aspectId - The ID of the aspect of interest.
XBRLException - if the combinations do not include the specified Aspect.
int getAspectValueCount(URI aspectId)
throws XBRLException
aspectId - The ID of the aspect of interest.
XBRLException - if the combinations do not include the specified Aspect.
int getAncestorCount(URI aspectId)
throws XBRLException
aspectId - The ID of the aspect of interest.
XBRLException - if the combinations do not include the specified Aspect.
int getDescendantCount(URI aspectId)
throws XBRLException
aspectId - The ID of the aspect of interest.
XBRLException - if the combinations do not include the specified Aspect.
void setAspectValues(URI aspectId,
List<AspectValue> values)
throws XBRLException
aspectId - The aspect whose values are being set.values - The list of aspect values for the specified aspect.
XBRLException - if a parameter is null or the aspect is not in the specified
axis of the aspect model or if a value is for an aspect with
an aspect ID that differs from the one provided as a
parameter.
void setAspectValues(FactSet factSet)
throws XBRLException
factSet - set of facts to use when obtaining the aspect values.
XBRLException - if the aspects parameter is null or the aspect is not in the
specified axis of the aspect model.int getCombinationCount()
XBRLException
AspectValue getCombinationValue(URI aspectId,
int combination)
throws XBRLException
aspectId - The ID of the aspect that the value is being sought for.combination - The index of the combination that an aspect value is being
sought for.
XBRLException
Map<URI,AspectValue> getCombinationValues(int combination)
throws XBRLException
combination - The index of the combination of aspect values to retrieve
XBRLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||