|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.jmzidml.model.MzIdentMLObject
uk.ac.ebi.jmzidml.model.mzidml.Identifiable
public abstract class Identifiable
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>
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 |
---|
protected String id
protected String name
Constructor Detail |
---|
public Identifiable()
Method Detail |
---|
public String getId()
String
public void setId(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |