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

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.Identifiable
          extended by uk.ac.ebi.jmzidml.model.mzidml.AbstractContact
All Implemented Interfaces:
Serializable, CvParamListCapable, ParamGroupCapable
Direct Known Subclasses:
Organization, Person

public abstract class AbstractContact
extends Identifiable
implements Serializable, ParamGroupCapable

A contact is either a person or an organization.

Java class for AbstractContactType complex type.

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

 <complexType name="AbstractContactType">
   <complexContent>
     <extension base="{http://psidev.info/psi/pi/mzIdentML/1.1}IdentifiableType">
       <sequence>
         <group ref="{http://psidev.info/psi/pi/mzIdentML/1.1}ParamGroup" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<AbstractParam> paramGroup
           
 
Fields inherited from class uk.ac.ebi.jmzidml.model.mzidml.Identifiable
id, name
 
Constructor Summary
AbstractContact()
           
 
Method Summary
 List<CvParam> getCvParam()
           
 List<AbstractParam> getParamGroup()
          Attributes of this contact such as address, email, telephone etc.Gets the value of the paramGroup property.
 List<UserParam> getUserParam()
           
 
Methods inherited from class uk.ac.ebi.jmzidml.model.mzidml.Identifiable
getId, getName, setId, setName
 
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

paramGroup

protected List<AbstractParam> paramGroup
Constructor Detail

AbstractContact

public AbstractContact()
Method Detail

getParamGroup

public List<AbstractParam> getParamGroup()
Attributes of this contact such as address, email, telephone etc.Gets the value of the paramGroup property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the paramGroup property.

For example, to add a new item, do as follows:

    getParamGroup().add(newItem);
 

Objects of the following type(s) are allowed in the list UserParam CvParam


getCvParam

public List<CvParam> getCvParam()
Specified by:
getCvParam in interface CvParamListCapable
Specified by:
getCvParam in interface ParamGroupCapable
Returns:
A List of CvParam objects.

getUserParam

public List<UserParam> getUserParam()
Specified by:
getUserParam in interface ParamGroupCapable


Copyright © 2012. All Rights Reserved.