Class ProcessTemplate

java.lang.Object
com.genologics.ri.processtemplate.ProcessTemplate
All Implemented Interfaces:
Linkable<ProcessTemplate>, Locatable, UDFHolder, Serializable

public class ProcessTemplate extends Object implements Linkable<ProcessTemplate>, UDFHolder, Serializable
The detailed representation of a Process Template.
See Also:
  • Field Details

  • Constructor Details

    • ProcessTemplate

      public ProcessTemplate()
    • ProcessTemplate

      public ProcessTemplate(URI uri)
    • ProcessTemplate

      public ProcessTemplate(URI uri, String name)
  • Method Details

    • getUri

      public URI getUri()
      Description copied from interface: Locatable
      Get the URI of this object.
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI value)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      value - The new URI.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getProcessType

      public ProcessTypeLink getProcessType()
    • setProcessType

      public void setProcessType(ProcessTypeLink processType)
    • setProcessType

      public void setProcessType(ProcessType processType)
    • getTechnician

      public Technician getTechnician()
    • setTechnician

      public void setTechnician(Technician technician)
    • setTechnician

      public void setTechnician(Researcher researcher)
    • getInstrument

      public InstrumentLink getInstrument()
    • setInstrument

      public void setInstrument(InstrumentLink instrument)
    • setInstrument

      public void setInstrument(Instrument instrument)
    • getParameter

      public Parameter getParameter()
    • setParameter

      public void setParameter(Parameter parameter)
    • getUserDefinedType

      public UDT getUserDefinedType()
    • setUserDefinedType

      public UDT setUserDefinedType(UDT value)
    • setUserDefinedType

      public UDT setUserDefinedType(String type)
    • getUserDefinedFields

      public List<UDF> getUserDefinedFields()
      Description copied from interface: UDFHolder
      Get a list of user defined fields held by the entity.
      Specified by:
      getUserDefinedFields in interface UDFHolder
      Returns:
      A list of UDF objects. This should never return null.
    • addUserDefinedField

      @Deprecated public UDF addUserDefinedField(UDF udf)
      Deprecated.
    • addUserDefinedField

      @Deprecated public UDF addUserDefinedField(String name, FieldType type, String value)
      Deprecated.
    • isDefault

      public Boolean isDefault()
    • setDefault

      public void setDefault(Boolean defaultTemplate)