public class SubstanceRecord extends StructureRecord
{ "substance": [ { "URI": "http://host:8080/data/substance/IUC4-efdb21bb-e79f-3286-a988-b6f6944d3734", "ownerUUID": "IUC4-44bf02d8-47c5-385d-b203-9a8f315911cb", "ownerName": "OECD / Paris / France", "i5uuid": "IUC4-efdb21bb-e79f-3286-a988-b6f6944d3734", "name": "formaldehyde (IUC4 DSN 52)", "publicname": "", "format": "i5._5.", "substanceType": "Existing Chemical", "referenceSubstance": { "i5uuid": "ECB5-053aa8c4-d29b-4aa5-b457-5cc3b47f7d8b", "uri": "http://apps.ideaconsult.net:8080/data/query/compound/search/all?search=ECB5-053aa8c4-d29b-4aa5-b457-5cc3b47f7d8b" }, "composition": [], "externalIdentifiers": [ { "type": "IUCLID4", "id": "DSN 52" } ] }, { "URI": "http://host:8080/enanomapper/substance/NWKI-71060af4-1613-35cf-95ee-2a039be0388a", "ownerUUID": "NWKI-9f4e86d0-c85d-3e83-8249-a856659087da", "ownerName": "NanoWiki", "i5uuid": "NWKI-71060af4-1613-35cf-95ee-2a039be0388a", "name": "Kim2012 NM1", "publicname": "CuO", "format": "", "substanceType": "MetalOxide", "referenceSubstance": { "i5uuid": "NWKI-71060af4-1613-35cf-95ee-2a039be0388a", "uri": "http://host:8080/enanomapper/query/compound/search/all?search=NWKI-71060af4-1613-35cf-95ee-2a039be0388a" }, "composition": [], "externalIdentifiers": [ { "type": "Composition", "id": "CuO" }, { "type": "DATASET", "id": "NanoWiki" }, { "type": "Has_Identifier", "id": "139" } ] } ] }
Modifier and Type | Class and Description |
---|---|
static class |
SubstanceRecord.jsonSubstance |
IStructureRecord.MOL_TYPE, IStructureRecord.STRUC_TYPE
Modifier and Type | Field and Description |
---|---|
protected List<ExternalIdentifier> |
externalids |
protected int |
idsubstance |
protected String |
internalName |
protected String |
internalUUID |
protected List<ProtocolApplication> |
measurements |
protected String |
ownerName |
protected String |
ownerUUID |
protected String |
publicName |
protected String |
refsubstance_uuid |
protected List<CompositionRelation> |
relatedStructures |
protected String |
substancetype |
content, dataEntryID, facets, format, formula, id_srcdataset, idchemical, idstructure, inchi, inchiKey, preferedStructure, properties, reference, selected, smiles, type
Constructor and Description |
---|
SubstanceRecord() |
SubstanceRecord(int idsubstance) |
SubstanceRecord(String uuid) |
Modifier and Type | Method and Description |
---|---|
void |
addMeasurement(ProtocolApplication measurement) |
void |
addStructureRelation(CompositionRelation relation) |
IStructureRelation |
addStructureRelation(String compositionUUID,
IStructureRecord record,
STRUCTURE_RELATION relation,
Proportion value) |
void |
clear() |
List<ExternalIdentifier> |
getExternalids() |
int |
getIdsubstance() |
List<ProtocolApplication> |
getMeasurements() |
String |
getOwnerName()
Name of the company, which is the substance owner (usually the substance
manufacturer)
|
String |
getOwnerUUID()
UUID of the company, which is the substance owner (usually the substance
manufacturer)
|
String |
getPublicName()
Public name of the substance
|
String |
getReferenceSubstanceUUID()
referenceSubstance (link to reference structure).Typical use
IStructureRecord |
List<CompositionRelation> |
getRelatedStructures()
|
String |
getSubstanceName()
Substance name, as assigned by the owner
|
String |
getSubstancetype()
IUCLID5: monoconsituent, multiconstituent, UVCB (Unknown or Variable
composition, Complex reaction products or Biological materials)
http://echa
.europa.eu/documents/10162/13643/nutshell_guidance_substance_en.pdf
|
String |
getSubstanceUUID()
Substance UUID, as assigned by the owner
|
static String |
getURI(String ref,
SubstanceRecord item) |
void |
setExternalids(List<ExternalIdentifier> externalids) |
void |
setIdsubstance(int idsubstance) |
void |
setMeasurements(List<ProtocolApplication> measurements) |
void |
setOwnerName(String ownerName) |
void |
setOwnerUUID(String ownerUUID) |
void |
setPublicName(String publicname) |
void |
setReferenceSubstanceUUID(String uuid) |
void |
setRelatedStructures(List<CompositionRelation> relatedStructures) |
void |
setSubstanceName(String internalName)
Substance name, as assigned by the owner
|
void |
setSubstancetype(String substancetype) |
void |
setSubstanceUUID(String internalUUID)
Substance UUID as assigned by the substance owner
|
String |
toJSON(String baseReference) |
String |
toString() |
addFacet, addRecordProperties, clearFacets, clearProperties, clone, createProperties, getContent, getDataEntryID, getDatasetID, getFacets, getFormat, getFormula, getIdchemical, getIdstructure, getInchi, getInchiKey, getMap, getNumberOfProperties, getRecordProperties, getRecordProperty, getReference, getSmiles, getType, getWritableContent, isSelected, removeFacet, removeRecordProperty, setContent, setDataEntryID, setDatasetID, setFormat, setFormula, setIdchemical, setIdstructure, setInchi, setInchiKey, setRecordProperty, setReference, setSelected, setSmiles, setType, setUsePreferedStructure, usePreferedStructure
protected List<ExternalIdentifier> externalids
protected String ownerUUID
protected String ownerName
protected int idsubstance
protected String substancetype
protected String internalName
protected String publicName
protected String internalUUID
protected String refsubstance_uuid
protected List<ProtocolApplication> measurements
protected List<CompositionRelation> relatedStructures
public SubstanceRecord()
public SubstanceRecord(String uuid)
public SubstanceRecord(int idsubstance)
public List<ProtocolApplication> getMeasurements()
public void setMeasurements(List<ProtocolApplication> measurements)
public void addMeasurement(ProtocolApplication measurement)
public String getSubstancetype()
"substanceType": "Existing Chemical"To be extended for nanomaterials.
public String getSubstanceName()
"i5uuid": "IUC4-efdb21bb-e79f-3286-a988-b6f6944d3734", "name": "formaldehyde (IUC4 DSN 52)",
public void setSubstanceName(String internalName)
companyName
- public String getPublicName()
public void setPublicName(String publicname)
public String getSubstanceUUID()
"i5uuid": "IUC4-efdb21bb-e79f-3286-a988-b6f6944d3734", "name": "formaldehyde (IUC4 DSN 52)",
public void setSubstanceUUID(String internalUUID)
internalUUID
- public void setSubstancetype(String substancetype)
public List<CompositionRelation> getRelatedStructures()
CompositionRelation
"composition": []
public void setRelatedStructures(List<CompositionRelation> relatedStructures)
public void addStructureRelation(CompositionRelation relation)
public IStructureRelation addStructureRelation(String compositionUUID, IStructureRecord record, STRUCTURE_RELATION relation, Proportion value)
public int getIdsubstance()
public void setIdsubstance(int idsubstance)
public void setReferenceSubstanceUUID(String uuid)
public String getReferenceSubstanceUUID()
IStructureRecord
public void clear()
clear
in interface IStructureRecord
clear
in class StructureRecord
public String toString()
toString
in class StructureRecord
public String getOwnerUUID()
"ownerUUID": "IUC4-44bf02d8-47c5-385d-b203-9a8f315911cb", "ownerName": "OECD / Paris / France",
public void setOwnerUUID(String ownerUUID)
public String getOwnerName()
"ownerUUID": "IUC4-44bf02d8-47c5-385d-b203-9a8f315911cb", "ownerName": "OECD / Paris / France",
public void setOwnerName(String ownerName)
public List<ExternalIdentifier> getExternalids()
public void setExternalids(List<ExternalIdentifier> externalids)
public static String getURI(String ref, SubstanceRecord item)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.