private void getColumnsAndRelationships(List<String> names) throws TranslatorException { DescribeSObjectResult objectMetadatas[] = connection.getObjectMetaData(names.toArray(new String[names.size()])); for (DescribeSObjectResult objectMetadata : objectMetadatas) { getRelationships(objectMetadata); Table table = this.tableMap.get(objectMetadata.getName()); boolean hasUpdateableColumn = addColumns(objectMetadata, table); // Some SF objects return true for isUpdateable() but have no updateable columns. if(objectMetadata.isDeletable() || (hasUpdateableColumn && (objectMetadata.isUpdateable() || objectMetadata.isCreateable()))) { table.setSupportsUpdate(true); } } names.clear(); }
_hashCode += (isCreateable() ? Boolean.TRUE : Boolean.FALSE).hashCode(); _hashCode += (isCustom() ? Boolean.TRUE : Boolean.FALSE).hashCode(); _hashCode += (isCustomSetting() ? Boolean.TRUE : Boolean.FALSE).hashCode();
(this.childRelationships != null && java.util.Arrays.equals(this.childRelationships, other.getChildRelationships()))) && this.createable == other.isCreateable() && this.custom == other.isCustom() && this.customSetting == other.isCustomSetting() &&