|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.mapper.Fact
public class Fact
Represents instructions to create a fact item or tuple
| Field Summary | |
|---|---|
static int |
ALL
|
static int |
PREV
|
static int |
SINGLE
|
| Constructor Summary | |
|---|---|
Fact(HasFacts parent,
XBRLDataSource source,
MapperContext context,
java.lang.String mapIdentifier,
XMLElementDefinition concept,
XBRLUnit unit,
int multi)
|
|
| Method Summary | |
|---|---|
void |
addFact(Fact newFact)
Adds a new Fact to the end of the Facts container. |
void |
addFactAt(Fact newFact,
int pos)
Adds a new Fact at the position indicated by pos. |
void |
delFact(Fact fact)
Removes a fact from the container |
java.util.Iterator<Fact> |
getChildrenFacts()
Access to an iterator over the children facts of this object |
XMLElementDefinition |
getConcept()
The concept definition in the taxonomy that corresponds to this fact in the template |
MapperContext |
getContext()
|
XBRLFact |
getFact(XBRLFactsList cf,
int index)
|
java.lang.String |
getMapIdentifier()
|
int |
getMulti()
|
int |
getNumberOfValues()
|
HasFacts |
getParent()
Access to the parent of this template Fact. |
XBRLDataSource |
getSource()
|
XBRLUnit |
getUnit()
|
net.sf.saxon.value.Value |
getValue(int index)
|
void |
registerFact(Fact fact)
Registers a new fact has been added to the container. |
void |
unregisterFact(Fact fact)
Same as HasFacts.registerFact(Fact) but in this case for removing the information stored |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ALL
public static final int SINGLE
public static final int PREV
| Constructor Detail |
|---|
public Fact(HasFacts parent,
XBRLDataSource source,
MapperContext context,
java.lang.String mapIdentifier,
XMLElementDefinition concept,
XBRLUnit unit,
int multi)
parent - source - context - mapIdentifier - concept - unit - multi - | Method Detail |
|---|
public int getMulti()
public MapperContext getContext()
public XBRLDataSource getSource()
public java.lang.String getMapIdentifier()
public XMLElementDefinition getConcept()
public XBRLUnit getUnit()
public HasFacts getParent()
getParent in interface HasFactspublic int getNumberOfValues()
public net.sf.saxon.value.Value getValue(int index)
throws MapException
index -
MapException
public XBRLFact getFact(XBRLFactsList cf,
int index)
throws MapException
cf - index -
MapExceptionpublic java.util.Iterator<Fact> getChildrenFacts()
HasFacts
getChildrenFacts in interface HasFactspublic void addFact(Fact newFact)
HasFacts
addFact in interface HasFactsnewFact - the new fact to be added
public void addFactAt(Fact newFact,
int pos)
HasFacts
addFactAt in interface HasFactsnewFact - Fact to be addedpos - integer. Zero basedpublic void delFact(Fact fact)
HasFacts
delFact in interface HasFactsfact - Fact to removepublic void registerFact(Fact fact)
HasFacts
registerFact in interface HasFactspublic void unregisterFact(Fact fact)
HasFactsHasFacts.registerFact(Fact) but in this case for removing the information stored
unregisterFact in interface HasFacts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||