|
||||||||||
| 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
| Nested Class Summary | |
|---|---|
static class |
Fact.Type
|
| Field Summary | |
|---|---|
static int |
ALL
|
static int |
PREV
|
static int |
SINGLE
|
| Constructor Summary | |
|---|---|
Fact(Fact.Type type,
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 |
boolean |
equals(java.lang.Object obj)
|
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()
|
java.util.Collection<XBRLFact> |
getFacts(XBRLFactsList cf,
int index)
|
java.lang.String |
getMapIdentifier()
|
int |
getMulti()
|
int |
getNumberOfValues()
|
HasFacts |
getParent()
Access to the parent of this template Fact. |
Section |
getSection()
|
XBRLDataSource |
getSource()
|
Fact.Type |
getType()
|
XBRLUnit |
getUnit()
|
net.sf.saxon.value.AtomicValue |
getValue(int index)
|
int |
hashCode()
|
void |
registerFact(Fact fact)
Registers a new fact has been added to the container. |
void |
setSection(Section section)
|
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 |
|---|
getClass, 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(Fact.Type type,
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 Fact.Type getType()
public int getNumberOfValues()
public net.sf.saxon.value.AtomicValue getValue(int index)
throws MapException
index -
MapException
public java.util.Collection<XBRLFact> getFacts(XBRLFactsList cf,
int index)
throws MapException
cf - index -
MapExceptionpublic java.util.Iterator<Fact> getChildrenFacts()
HasFacts
getChildrenFacts in interface HasFactspublic void addFact(Fact newFact)
HasFactsThis method does not updates the taxonomy URLs.
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 HasFactspublic void setSection(Section section)
section - public Section getSection()
public int hashCode()
hashCode in interface HasFactshashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface HasFactsequals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||