|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Dimension<T>
This is a representation of something that is a dimension in an instance document or DTS.
Dimensions are, for example, the Time dimension, the Units dimension, the Entity dimension and every other XDT defined dimension that exist in the DTS
| Nested Class Summary | |
|---|---|
static class |
Dimension.DimensionType
|
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
defaultDimensionsXBRL
|
static javax.xml.namespace.QName |
duplicatesDimension
|
static javax.xml.namespace.QName |
entityDimension
|
static javax.xml.namespace.QName |
formLineDimenion
|
static javax.xml.namespace.QName |
instantModeDimension
|
static javax.xml.namespace.QName |
instantOnDurationDimension
|
static javax.xml.namespace.QName |
periodDimensionDuration
|
static javax.xml.namespace.QName |
periodDimensionInstant
|
static int |
POSITION_AVAIL
Suggested position for new dimensions is POSITION_AVAIL when the new dimension goes in the table of available dimensions. |
static int |
POSITION_COLUMN_HEADERS
Suggested position for new dimensions is POSITION_COLUMN_HEADERS when the new dimension goes in the header of columns. |
static int |
POSITION_ROW_HEADERS
Suggested position for new dimensions is POSITION_ROW_HEADERS when the new dimension goes in the header of rows. |
static java.lang.String |
RSDimensionsNameNamespace
|
| Method Summary | |
|---|---|
boolean |
addMember(Member<?> member)
Adds a new dimension member to the end of the members of this dimension. |
boolean |
bHasFixedName()
This function returns true if the dimension has a fixed name that must be obtained via a call to getDimensionName() |
boolean |
delMember(Member<?> member)
Removes an existing dimension member from the dimension domain. |
boolean |
equals(java.lang.Object other)
|
boolean |
factMatches(XDTFactWithVirtualDimensions item,
Member<?> mem,
java.util.HashSet<javax.xml.namespace.QName> dimsToMatchOnThisRound,
java.lang.Object contextualExtraInformation)
|
Member<?> |
findMember(Member<?> mem)
Search the Dimension domain for an occurrence of the mem member. |
Member<?> |
getDefault()
for explicit dimensions this function returns the default member if any is defined |
java.lang.String |
getDimensionName()
This function will be used to obtain a dimension name for things that does not have a label like the Period dimension or the Identifier dimension. |
java.util.Collection<Member<?>> |
getDomain()
Returns an ordered collection of members. |
java.util.Collection<Member<?>> |
getMembers()
Returns an ordered collection of members. |
javax.xml.namespace.QName |
getName()
Every Dimension must have a dimension QName. |
int |
getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
Returns the suggested initial placement position of the graphical element in the GUI. |
Dimension.DimensionType |
getType()
returns either com.ihr.xbrl.om.xdt.XDTDimension.TYPED, com.ihr.xbrl.om.xdt.XDTDimension.EXPLICIT depending on the type of the surrounding dimension. |
int |
hashCode()
|
boolean |
isPrimary()
Returns true if the dimension is linked with a primary item and thus it is a PDimension or a DDimension |
boolean |
isTree()
Returns true if the representation of this dimension could be a tree of elements or false if it is a list of items |
void |
setAllowDuplicates(boolean allowDuplicates)
If the value is true then it is possible for the dimension to contain two identical members as two different member values. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final java.lang.String RSDimensionsNameNamespace
static final javax.xml.namespace.QName entityDimension
static final javax.xml.namespace.QName periodDimensionInstant
static final javax.xml.namespace.QName periodDimensionDuration
static final javax.xml.namespace.QName defaultDimensionsXBRL
static final javax.xml.namespace.QName duplicatesDimension
static final javax.xml.namespace.QName instantModeDimension
static final javax.xml.namespace.QName formLineDimenion
static final javax.xml.namespace.QName instantOnDurationDimension
static final int POSITION_AVAIL
static final int POSITION_COLUMN_HEADERS
static final int POSITION_ROW_HEADERS
| Method Detail |
|---|
javax.xml.namespace.QName getName()
void setAllowDuplicates(boolean allowDuplicates)
allowDuplicates - boolean addMember(Member<?> member)
member - boolean delMember(Member<?> member)
member - the member to removeboolean bHasFixedName()
getDimensionName()
java.lang.String getDimensionName()
int getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
selectedPrimaryItem - this is the selected primary item in the GUI
java.util.Collection<Member<?>> getMembers()
java.util.Collection<Member<?>> getDomain()
boolean isTree()
boolean isPrimary()
Member<?> findMember(Member<?> mem)
mem - the member to search on this dimension domain
boolean factMatches(XDTFactWithVirtualDimensions item,
Member<?> mem,
java.util.HashSet<javax.xml.namespace.QName> dimsToMatchOnThisRound,
java.lang.Object contextualExtraInformation)
item - mem - dimsToMatchOnThisRound -
Member<?> getDefault()
Dimension.DimensionType getType()
int hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object other)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||