The following document contains the results of PMD's CPD 4.2.5.
| File | Line |
|---|---|
| org/jomc/sdk/jpa/NamedQueryFactory.java | 106 |
| org/jomc/sdk/jpa/QueryFactory.java | 106 |
public QueryFactory()
{
// SECTION-START[Default Constructor]
super();
// SECTION-END
}
// </editor-fold>
// SECTION-END
// SECTION-START[Dependencies]
// <editor-fold defaultstate="collapsed" desc=" Generated Dependencies ">
/**
* Gets the {@code EntityManager} dependency.
* <p>This method returns the {@code 'JOMC SDK JPA'} object of the {@code 'javax.persistence.EntityManager'} {@code (javax.persistence.EntityManager)} specification.</p>
* <p>That specification does not apply to any scope. A new object is returned whenever requested.</p>
* @return The {@code EntityManager} dependency.
* {@code null} if no object is available.
* @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
*/
@javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.0", comments = "See http://jomc.sourceforge.net/jomc/1.0/jomc-tools" )
private javax.persistence.EntityManager getEntityManager()
{
return (javax.persistence.EntityManager) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "EntityManager" );
}
// </editor-fold>
// SECTION-END
// SECTION-START[Properties]
// <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
/**
* Gets the value of the {@code parameterMap} property.
* @return Map of parameters to set on the query.
* @throws org.jomc.ObjectManagementException if getting the property instance fails.
*/
@javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.0", comments = "See http://jomc.sourceforge.net/jomc/1.0/jomc-tools" )
private java.util.Map<String,Object> getParameterMap()
{
final java.util.Map<String,Object> _p = (java.util.Map<String,Object>) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "parameterMap" );
assert _p != null : "'parameterMap' property not found.";
return _p;
}
/**
* Gets the value of the {@code query} property.
* @return Query to provide.
* @throws org.jomc.ObjectManagementException if getting the property instance fails.
*/
@javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.0", comments = "See http://jomc.sourceforge.net/jomc/1.0/jomc-tools" )
private java.lang.String getQuery() | |