public class Property extends Object implements Serializable, Comparable<Property>
Modifier and Type | Class and Description |
---|---|
static class |
Property.IO_QUESTION |
Constructor and Description |
---|
Property(String name) |
Property(String name,
ILiteratureEntry reference) |
Property(String name,
String units,
ILiteratureEntry reference) |
Property(String name,
String label,
String units) |
public static String AMBIT_DESCRIPTORS_ONTOLOGY
public static final String Names
public static final String CAS
public static final String IUCLID5_UUID
public static final String opentox_REACHDATE
public static final String opentox_CAS
public static final String opentox_Name
public static final String opentox_TradeName
public static final String opentox_SubstanceDataSource
public static final String opentox_IupacName
public static final String opentox_EC
public static final String opentox_InChI_std
public static final String opentox_InChIAuxInfo_std
public static final String opentox_InChIKey_std
public static final String opentox_IUCLID5_UUID
public static final String opentox_InChI
public static final String opentox_InChIAuxInfo
public static final String opentox_InChIKey
public static final String opentox_SMILES
public static final String opentox_TupleFeature
public static final String opentox_ConfidenceFeature
public static final String opentox_ChEBI
public static final String opentox_Pubchem
public static final String opentox_ChemSpider
public static final String opentox_DrugBank
public static final String opentox_KEGG
public static final String opentox_LS
public static final String opentox_SigmaAldrich
public static final String opentox_ChEMBL
public static final String opentox_ToxbankWiki
public static final String opentox_CMS
public static final String link_WikiPathway
public static final String EC
protected PropertyAnnotations annotations
protected boolean isNominal
protected String name
protected String label
protected String units
protected int id
protected int order
protected Class clazz
protected boolean enabled
protected ILiteratureEntry reference
protected List<Comparable> allowedValues
public Property(String name)
public Property(String name, ILiteratureEntry reference)
public Property(String name, String units, ILiteratureEntry reference)
public void setName(String name)
public PropertyAnnotations getAnnotations()
public void setAnnotations(PropertyAnnotations annotations)
public boolean isNominal()
public void setNominal(boolean isNominal)
public static Property getNameInstance()
public static Property getI5UUIDInstance()
public static Property getCASInstance()
public static Property getEINECSInstance()
public static Property getSMILESInstance()
public static Property getInChIInstance()
public static Property getInChIKeyInstance()
public static Property getInChIStdInstance()
public static Property getInstance(String name, ILiteratureEntry reference)
public List<Comparable> getAllowedValues()
public void setAllowedValues(List<Comparable> allowedValues)
public int getId()
public void addAllowedValue(Comparable value)
public void setId(int id)
public String getUnits()
public void setUnits(String units)
public ILiteratureEntry getReference()
public void setReference(ILiteratureEntry reference)
public static boolean test4CAS(String n)
public static String guessLabel(String n)
name
- public Class getClazz()
public void setClazz(Class clazz)
public String getLabel()
public void setLabel(String label)
public String getName()
public String getTitle()
public String getUrl()
public int getOrder()
public void setOrder(int order)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public boolean save(OutputStream out) throws AmbitIOException
AmbitIOException
public boolean save(Writer writer) throws AmbitIOException
AmbitIOException
public int compareTo(Property o)
compareTo
in interface Comparable<Property>
public void assign(Property newProperty)
public boolean isCAS()
public boolean isName()
public boolean isEINECS()
public boolean isI5UUID()
public String getRelativeURI()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.