<p>
A list of <code>DBEngineVersion</code> elements.
</p>

@param dBEngineVersions
A list of <code>DBEngineVersion</code> elements.
969514
public void setDBEngineVersions(java.util.Collection<DBEngineVersion> dBEngineVersions) {
        if (dBEngineVersions == null) {
            this.dBEngineVersions = null;
            return;
        }

        this.dBEngineVersions = new com.amazonaws.internal.SdkInternalList<DBEngineVersion>(dBEngineVersions);
    }
14855
public void setPlatformTypes(java.util.Collection<String> platformTypes) {
        if (platformTypes == null) {
            this.platformTypes = null;
            return;
        }

        this.platformTypes = new com.amazonaws.internal.SdkInternalList<String>(platformTypes);
    }
1135036
public java.util.List<ClusterVersion> getClusterVersions() {
        if (clusterVersions == null) {
            clusterVersions = new com.amazonaws.internal.SdkInternalList<ClusterVersion>();
        }
        return clusterVersions;
    }
670456
public java.util.List<com.google.appengine.v1.Version> getVersionsList() {
    return versions_;
  }
1350067
public void setPolicyVersions(java.util.Collection<PolicyVersion> policyVersions) {
        if (policyVersions == null) {
            this.policyVersions = null;
            return;
        }

        this.policyVersions = new java.util.ArrayList<PolicyVersion>(policyVersions);
    }
204263
public void setDBClusters(java.util.Collection<DBCluster> dBClusters) {
        if (dBClusters == null) {
            this.dBClusters = null;
            return;
        }

        this.dBClusters = new com.amazonaws.internal.SdkInternalList<DBCluster>(dBClusters);
    }
913249
@SuppressWarnings("unchecked")
  public <T extends CMAResource> T setVersion(Integer version) {
    getSystem().setVersion(version);
    return (T) this;
  }
89252
@Override
    public List<String> findVersions(final Artifact artifact) {
        return Arrays.asList(new String[]{artifact.getVersion()});
    }
853168
protected void handleVersion(
      EntityDesc entityDesc, EntityPropertyDesc propertyDesc, ColumnMeta columnMeta) {
    if (isVersionAnnotatable(propertyDesc.getPropertyClassName())) {
      if (versionColumnNamePattern.matcher(columnMeta.getName()).matches()) {
        propertyDesc.setVersion(true);
      }
    }
  }
316879
public void setSupportedEngineVersions(java.util.Collection<String> supportedEngineVersions) {
        if (supportedEngineVersions == null) {
            this.supportedEngineVersions = null;
            return;
        }

        this.supportedEngineVersions = new java.util.ArrayList<String>(supportedEngineVersions);
    }
1324403
public java.util.List<DocumentVersionInfo> getDocumentVersions() {
        if (documentVersions == null) {
            documentVersions = new com.amazonaws.internal.SdkInternalList<DocumentVersionInfo>();
        }
        return documentVersions;
    }
1132804
public void setDocumentVersions(java.util.Collection<DocumentVersionMetadata> documentVersions) {
        if (documentVersions == null) {
            this.documentVersions = null;
            return;
        }

        this.documentVersions = new java.util.ArrayList<DocumentVersionMetadata>(documentVersions);
    }
1022836
@Override
    public void setVersion(String version) {
        try {
            this.message.setVersion(version);
        } catch (UnsupportedProtocolVersionException e) {
            this.message.setVersion(VersionValues.V11);
        }
    }
1137010
def get_db_versions(self, conn):
        
        curs = conn.cursor()
        query = 'select version from {}'.format(self.version_table)
        try:
            curs.execute(query)
            return set(version for version, in curs.fetchall())
        except:
            raise VersioningNotInstalled('Run oq engine --upgrade-db')
1168155
public static void checkVersion(DB db, StoreVersion newversion, ObjectMapper mapper) throws
      IOException {
    byte[] bytes = db.get(StoreVersion.KEY);
    if (bytes == null) {
      storeVersion(db, newversion, mapper);
    } else {
      StoreVersion version = mapper.readValue(bytes, StoreVersion.class);
      if (version.major != newversion.major) {
        throw new IOException("cannot read state DB with version " + version + ", incompatible " +
            "with current version " + newversion);
      }
      storeVersion(db, newversion, mapper);
    }
  }
1061917
def listReleaseVersions(self, release_version="", dataset='', logical_file_name=''):
        
        if dataset and ('%' in dataset or '*' in dataset):
            dbsExceptionHandler('dbsException-invalid-input',
                " DBSReleaseVersion/listReleaseVersions. No wildcards are" +
                " allowed in dataset.\n.")

        if logical_file_name and ('%' in logical_file_name or '*' in logical_file_name):
            dbsExceptionHandler('dbsException-invalid-input',
                " DBSReleaseVersion/listReleaseVersions. No wildcards are" +
                " allowed in logical_file_name.\n.")

        conn = self.dbi.connection()
        try:
            plist = self.releaseVersion.execute(conn, release_version.upper(), dataset, logical_file_name)
            result = [{}]
            if plist:
                t = []
                for i in plist:
                    for k, v in i.iteritems():
                        t.append(v)
                result[0]['release_version'] = t
            return result
        finally:
            if conn:
                conn.close()
1252555
public static String[] getArrayOfVersions(List<Dependency> dependencyList) {
        List<String> versionList = new LinkedList<String>();

        for (Dependency dependency : dependencyList) {
            versionList.add(dependency.getVersion());
        }

        return versionList.toArray(new String[versionList.size()]);
    }