public PersistenceUnitTransactionType getTransactionType ( ) { // Convert this TransactionType from the class defined in JAXB // (com.ibm.ws.jpa.pxml21.PersistenceUnitTransactionType) to JPA // (javax.persistence.spi.PersistenceUnitTransactionType). PersistenceUnitTransactionType rtnType = null ; com . ibm . ws . jpa . pxml21 . PersistenceUnitTransactionType jaxbType = null ; jaxbType = ivPUnit . getTransactionType ( ) ; if ( jaxbType == com . ibm . ws . jpa . pxml21 . PersistenceUnitTransactionType . JTA ) { rtnType = PersistenceUnitTransactionType . JTA ; } else if ( jaxbType == com . ibm . ws . jpa . pxml21 . PersistenceUnitTransactionType . RESOURCE_LOCAL ) { rtnType = PersistenceUnitTransactionType . RESOURCE_LOCAL ; } return rtnType ; }
Gets the value of the transactionType property .