public Field[] getObjectFields( String objectName ) throws KettleException { DescribeSObjectResult describeSObjectResult = null; try { // Get object describeSObjectResult = getBinding().describeSObject( objectName ); if ( describeSObjectResult == null ) { return null; } if ( !describeSObjectResult.isQueryable() ) { throw new KettleException( BaseMessages.getString( PKG, "SalesforceInputDialog.ObjectNotQueryable", this.module ) ); } else { // we can query this object return describeSObjectResult.getFields(); } } catch ( Exception e ) { throw new KettleException( BaseMessages.getString( PKG, "SalesforceInput.Error.GettingModuleFields", this.module ), e ); } finally { if ( describeSObjectResult != null ) { describeSObjectResult = null; } } }
throw new KettleException( BaseMessages.getString( PKG, "SalesforceInput.ErrorGettingObject" ) ); if ( !describeSObjectResult.isQueryable() ) { throw new KettleException( BaseMessages.getString( PKG, "SalesforceInputDialog.ObjectNotQueryable", module ) );
_hashCode += getName().hashCode(); _hashCode += (isQueryable() ? Boolean.TRUE : Boolean.FALSE).hashCode(); if (getRecordTypeInfos() != null) { for (int i = 0;
(this.name != null && this.name.equals(other.getName()))) && this.queryable == other.isQueryable() && ((this.recordTypeInfos == null && other.getRecordTypeInfos() == null) || (this.recordTypeInfos != null &&