_hashCode += (isCustom() ? Boolean.TRUE : Boolean.FALSE).hashCode(); _hashCode += (isCustomSetting() ? Boolean.TRUE : Boolean.FALSE).hashCode(); _hashCode += (isDeletable() ? Boolean.TRUE : Boolean.FALSE).hashCode(); _hashCode += (isDeprecatedAndHidden() ? Boolean.TRUE : Boolean.FALSE).hashCode(); _hashCode += (isFeedEnabled() ? Boolean.TRUE : Boolean.FALSE).hashCode();
private void addTable(DescribeGlobalSObjectResult objectMetadata) { String name = objectMetadata.getName(); if (normalizeNames) { name = NameUtil.normalizeName(name); } if (!allowedToAdd(name)) { return; } Table table = metadataFactory.addTable(name); FullyQualifiedName fqn = new FullyQualifiedName("sobject", objectMetadata.getName()); //$NON-NLS-1$ table.setProperty(FQN, fqn.toString()); table.setNameInSource(objectMetadata.getName()); tableMap.put(objectMetadata.getName(), table); table.setProperty(TABLE_CUSTOM, String.valueOf(objectMetadata.isCustom())); table.setProperty(TABLE_SUPPORTS_CREATE, String.valueOf(objectMetadata.isCreateable())); table.setProperty(TABLE_SUPPORTS_DELETE, String.valueOf(objectMetadata.isDeletable())); table.setProperty(TABLE_SUPPORTS_MERGE, String.valueOf(objectMetadata.isMergeable())); table.setProperty(TABLE_SUPPORTS_QUERY, String.valueOf(objectMetadata.isQueryable())); table.setProperty(TABLE_SUPPORTS_REPLICATE, String.valueOf(objectMetadata.isReplicateable())); table.setProperty(TABLE_SUPPORTS_RETRIEVE, String.valueOf(objectMetadata.isRetrieveable())); table.setProperty(TABLE_SUPPORTS_SEARCH, String.valueOf(objectMetadata.isSearchable())); }
this.custom == other.isCustom() && this.customSetting == other.isCustomSetting() && this.deletable == other.isDeletable() && this.deprecatedAndHidden == other.isDeprecatedAndHidden() && this.feedEnabled == other.isFeedEnabled() &&