uk.ac.ebi.jmzidml.model.mzidml
Class Identifiable

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.Identifiable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractContact, AbstractIdentifiableParamGroup, AnalysisSoftware, BibliographicReference, DBSequence, Enzyme, ExternalData, MassTable, Measure, MzIdentML, Peptide, PeptideEvidence, ProteinAmbiguityGroup, ProteinDetectionHypothesis, ProteinDetectionList, ProteinDetectionProtocol, ProtocolApplication, Provider, Sample, SpectrumIdentificationItem, SpectrumIdentificationList, SpectrumIdentificationProtocol, SpectrumIdentificationResult, TranslationTable

public abstract class Identifiable
extends MzIdentMLObject
implements Serializable

Other classes in the model can be specified as sub-classes, inheriting from Identifiable. Identifiable gives classes a unique identifier within the scope and a name that need not be unique. Identifiable also provides a mechanism for annotating objects with BibliographicReference(s) and DatabaseEntry(s).

Java class for IdentifiableType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="IdentifiableType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  String name
           
 
Constructor Summary
Identifiable()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 String getName()
          Gets the value of the name property.
 void setId(String value)
          Sets the value of the id property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class uk.ac.ebi.jmzidml.model.MzIdentMLObject
getHid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name
Constructor Detail

Identifiable

public Identifiable()
Method Detail

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.