|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.pojo.XBRLDBAccessor
public class XBRLDBAccessor
Methods to query the database for the existence of documents os other objects
| Field Summary | |
|---|---|
org.apache.log4j.Logger |
log
|
| Constructor Summary | |
|---|---|
XBRLDBAccessor(org.hibernate.Session session,
DbUtil.Database databaseType)
Creates an instance of the XBRLDBAcessor object to query the database for the existence of objects. |
|
XBRLDBAccessor(org.hibernate.Session session,
DbUtil.Database databaseType,
XBRLPojoGenerator xbrlPojoGenerator)
Creates an instance of the XBRLDBAcessor object to query the database for the existence of objects. |
|
| Method Summary | |
|---|---|
DbUtil.Database |
getDatabaseType()
|
XBRLArcroleType |
queryArcrole(java.lang.String uri)
|
XBRLItem |
queryConceptItem(java.lang.Long id)
|
XBRLTuple |
queryConceptTuple(java.lang.Long id)
|
XBRLDocument |
queryDocument(java.net.URI documentURI)
|
XBRLInstance |
queryDocument(XBRLInstance instance)
Query the database for the existence of an XBRLInstance document |
XBRLLinkbase |
queryDocument(XBRLLinkbase linkbase)
Query the database for the existence of an XBRLLinkbase document |
XBRLTaxonomy |
queryDocument(XBRLTaxonomy taxonomy)
Query the database for the existence of an XBRLTaxonomy document |
XBRLFactProperty |
queryFactProperty(XBRLFactItem fact,
int container,
XMLFragment property)
Search on the database for a property in the XBRLFactProperty table that matches the selection criteria according with the primary key that is created using the fact ID, the container and the property node ID. |
Namespace |
queryNamespace(javax.xml.namespace.QName q)
|
QName |
queryQName(javax.xml.namespace.QName q)
|
XBRLRoleType |
queryRole(java.lang.String uri)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public org.apache.log4j.Logger log
| Constructor Detail |
|---|
public XBRLDBAccessor(org.hibernate.Session session,
DbUtil.Database databaseType)
This constructor can be used only for querying documents. Not QNames and not for storing new data.
session - databaseType -
public XBRLDBAccessor(org.hibernate.Session session,
DbUtil.Database databaseType,
XBRLPojoGenerator xbrlPojoGenerator)
session - databaseType - xbrlPojoGenerator - | Method Detail |
|---|
public XBRLInstance queryDocument(XBRLInstance instance)
instance - XBRLInstance document in the RS object model.
public XBRLLinkbase queryDocument(XBRLLinkbase linkbase)
linkbase - XBRLLinkbase document in the RS object model.
public XBRLTaxonomy queryDocument(XBRLTaxonomy taxonomy)
taxonomy - XBRLTaxonomy document in the RS object model.
public XBRLDocument queryDocument(java.net.URI documentURI)
documentURI - the URI of a document
public XBRLItem queryConceptItem(java.lang.Long id)
id - public XBRLTuple queryConceptTuple(java.lang.Long id)
id -
public QName queryQName(javax.xml.namespace.QName q)
public Namespace queryNamespace(javax.xml.namespace.QName q)
public XBRLRoleType queryRole(java.lang.String uri)
public XBRLArcroleType queryArcrole(java.lang.String uri)
public DbUtil.Database getDatabaseType()
public XBRLFactProperty queryFactProperty(XBRLFactItem fact,
int container,
XMLFragment property)
One may think the container should not be part of the key, as the property is an XMLFragment that belongs to a specific container (segment or scenario), we have included the container as a specific property in order to allow virtual properties to be explicitly declared in the database. Virtual properties may be an XMLFragment node in its own and be at no container at all (default values for explicit dimensions are an example of this).
fact - container - property -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||