|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<XDTCombinationItemHead>
com.ihr.xbrl.om.xdt.XDTValidCombinationSet
public class XDTValidCombinationSet
A valid combination is a set of dimensions and values for each combination
| Field Summary | |
|---|---|
static XDTValidCombinationSet |
CLOSED
This is a static representation of an EMPTY CLOSED hypercube |
static int |
MAXIMUM_COMBINATIONS
This is the maximum number of combinations allowed |
static int |
NEGATIVE
Constant that indicates a combination that result in a dimensionaly invalid fact |
static XDTValidCombinationSet |
OPEN
This is a static representation of an EMPTY OPEN hypercube |
static int |
POSITIVE
Constant that indicates a combination that result in a dimensionaly valid fact |
| Method Summary | |
|---|---|
boolean |
all(XDTValidCombinationSet other)
Operates the sign of two combinations using the "all" operator. |
boolean |
equals(java.lang.Object other)
|
long |
getCombinations()
|
int |
getSign()
Returns either POSITIVE or NEGATIVE depending on the sign of this combination |
int |
hashCode()
this is a static singleton instance of the OVERSIZED combination |
boolean |
includedIn(XDTValidCombinationSet o)
Returns true if this combination is under the scope of the "o" combination That is "this" is most restrictive than "o" |
boolean |
isClosed()
Returns true if this is a closed combination |
boolean |
isOpen()
Returns true if this is an open combination |
boolean |
isOversized()
Returns true if this combination contains no valid combinations because it is oversized |
void |
setClosed(boolean newValue)
Sets the value of the closed attribute on this combination |
void |
setOversized(long combinations)
Used to indicate this combination exceeds maximum combinations allowed. |
void |
setSign(int newValue)
Sets the sign of this combination |
java.lang.String |
toString()
|
| Methods inherited from class java.util.Vector |
|---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
iterator, listIterator, listIterator |
| Field Detail |
|---|
public static final int POSITIVE
public static final int NEGATIVE
public static int MAXIMUM_COMBINATIONS
public static XDTValidCombinationSet OPEN
public static XDTValidCombinationSet CLOSED
| Method Detail |
|---|
public int hashCode()
hashCode in interface java.util.Collection<XDTCombinationItemHead>hashCode in interface java.util.List<XDTCombinationItemHead>hashCode in class java.util.Vector<XDTCombinationItemHead>public boolean isClosed()
public boolean isOversized()
public boolean isOpen()
public int getSign()
public void setClosed(boolean newValue)
newValue - public void setOversized(long combinations)
combinations - the total number of combinationspublic long getCombinations()
public void setSign(int newValue)
newValue - public boolean all(XDTValidCombinationSet other)
other -
public boolean includedIn(XDTValidCombinationSet o)
o -
public boolean equals(java.lang.Object other)
equals in interface java.util.Collection<XDTCombinationItemHead>equals in interface java.util.List<XDTCombinationItemHead>equals in class java.util.Vector<XDTCombinationItemHead>public java.lang.String toString()
toString in class java.util.Vector<XDTCombinationItemHead>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||