Class Sample


  • public class Sample
    extends EntityBaseBean

    Java class for sample complex type.

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

     <complexType name="sample">
       <complexContent>
         <extension base="{http://icatproject.org}entityBaseBean">
           <sequence>
             <element name="datasets" type="{http://icatproject.org}dataset" maxOccurs="unbounded" minOccurs="0"/>
             <element name="investigation" type="{http://icatproject.org}investigation" minOccurs="0"/>
             <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="parameters" type="{http://icatproject.org}sampleParameter" maxOccurs="unbounded" minOccurs="0"/>
             <element name="pid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="type" type="{http://icatproject.org}sampleType" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Sample

        public Sample()
    • Method Detail

      • getDatasets

        public List<Dataset> getDatasets()
        Gets the value of the datasets 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 Jakarta XML Binding object. This is why there is not a set method for the datasets property.

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

            getDatasets().add(newItem);
         

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

      • getInvestigation

        public Investigation getInvestigation()
        Gets the value of the investigation property.
        Returns:
        possible object is Investigation
      • setInvestigation

        public void setInvestigation​(Investigation value)
        Sets the value of the investigation property.
        Parameters:
        value - allowed object is Investigation
      • 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
      • getParameters

        public List<SampleParameter> getParameters()
        Gets the value of the parameters 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 Jakarta XML Binding object. This is why there is not a set method for the parameters property.

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

            getParameters().add(newItem);
         

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

      • getPid

        public String getPid()
        Gets the value of the pid property.
        Returns:
        possible object is String
      • setPid

        public void setPid​(String value)
        Sets the value of the pid property.
        Parameters:
        value - allowed object is String
      • getType

        public SampleType getType()
        Gets the value of the type property.
        Returns:
        possible object is SampleType
      • setType

        public void setType​(SampleType value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is SampleType