DataSource.Builder |
DataSource.Builder.alternative(String alternative) |
Allow the setting but not changing of an alternative name
|
DataSource.Builder |
DataSource.Builder.compactIdentifierPrefix(String prefix) |
|
DataSource.Builder |
DataSource.Builder.deprecated(boolean isDeprecated) |
|
DataSource.Builder |
DataSource.Builder.deprecatedBy(DataSource sourceToUseInstead) |
Sets the DataSource which should be used instead of this deprecated one.
|
DataSource.Builder |
DataSource.Builder.description(String description) |
Allow the setting but not changing of a description
|
DataSource.Builder |
DataSource.Builder.identifiersOrgBase(String base) |
Note: Since version 2
The base must start with urn:miriam:.
|
DataSource.Builder |
DataSource.Builder.idExample(String idExample) |
Note: Unlike most builder methods this one does allow the idExample to be change even if already set.
|
DataSource.Builder |
DataSource.Builder.mainUrl(String mainUrl) |
Note: Since version 2 this method no longer allows changing a mainUrl once set.
|
DataSource.Builder |
DataSource.Builder.miriamBase(String base) |
|
DataSource.Builder |
DataSource.Builder.organism(Object organism) |
Since version 2 This method no longer allows you to change the Organism of a DataSource once set.
|
DataSource.Builder |
DataSource.Builder.primary(boolean isPrimary) |
Note: Unlike most builder methods this one does allow the idPrimary to be change even if already set.
|
static DataSource.Builder |
DataSource.register(String sysCode,
String fullName) |
Register a new DataSource with (optional) detailed information.
|
DataSource.Builder |
DataSource.Builder.type(String type) |
Since version 2 This method no longer allow changing the type of a DataSource once set.
|
DataSource.Builder |
DataSource.Builder.urlPattern(String urlPattern) |
|
DataSource.Builder |
DataSource.Builder.urnBase(String base) |
This adds a miriam base to the DataSource.
|