public interface PojoExtension<P,Q>
Modifier and Type | Method and Description |
---|---|
void |
executePojoExtension(XBRLPojoGenerator generator,
org.hibernate.Session session,
P p,
Q q)
Performs the extension job, possibly storing into the database additional
objects related with the pojo instance P.
|
java.lang.Class<Q> |
getOmClass()
Returns the class type for the object model, this method is used to prepare the call
to the executePojoExtension
|
java.lang.Class<P> |
getPojoClass()
Returns the class type for the pojo object, this method is used to store inside
the pojo generator all extensions indexed by the source type
|
void executePojoExtension(XBRLPojoGenerator generator, org.hibernate.Session session, P p, Q q) throws XBRLPojoGenerationException
session
- the current hibernate sessionp
- is the Pojo instance of P typeq
- is the object model instance of Q typeXBRLPojoGenerationException
java.lang.Class<P> getPojoClass()
java.lang.Class<Q> getOmClass()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa