Class ProtocolData

All Implemented Interfaces:
AnnotatableData, FileAttachableData, IdentifiableData, LoggableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData, SubtypableData

public class ProtocolData
extends AnnotatedData
implements FileAttachableData, RegisteredData, SubtypableData
See Also:
Protocol, Developer documentation: Protocols, hardware and software
Hibernate: class
table="`Protocols`" lazy="true"
  • Field Details

  • Constructor Details

    • ProtocolData

      public ProtocolData()
  • Method Details

    • getFile

      public FileData getFile()
      Description copied from interface: FileAttachableData
      Get the file that is attached to the item.
      Specified by:
      getFile in interface FileAttachableData
      A FileData object or null if no file is attached
    • setFile

      public void setFile​(FileData file)
      Description copied from interface: FileAttachableData
      Attach a file to the item. Null is allowed.
      Specified by:
      setFile in interface FileAttachableData
    • getEntryDate

      public Date getEntryDate()
      Description copied from interface: RegisteredData
      Get the date this item was added to the database. The value is generated at creation time and can't be modified later.
      Specified by:
      getEntryDate in interface RegisteredData
    • setEntryDate

      public void setEntryDate​(Date entryDate)
    • getItemSubtype

      public ItemSubtypeData getItemSubtype()
      Description copied from interface: SubtypableData
      Get the subtype of the item.
      Specified by:
      getItemSubtype in interface SubtypableData
    • setItemSubtype

      public void setItemSubtype​(ItemSubtypeData subtype)
      Description copied from interface: SubtypableData
      Set the subtype of the item.
      Specified by:
      setItemSubtype in interface SubtypableData
    • getExternalId

      public String getExternalId()
      Get the external id for the protocol.
      Hibernate: property
      column="`external_id`" type="string" length="255" not-null="false"
    • setExternalId

      public void setExternalId​(String externalId)
    • getParameters

      public Set<AnnotationTypeData> getParameters()
      This set manages the parameters for this protcol.
      Hibernate: set
      table="`ProtocolParameters`" lazy="true"
      Hibernate: collection-key
      Hibernate: collection-many-to-many
      column="`annotationtype_id`" class=""
    • setParameters

      void setParameters​(Set<AnnotationTypeData> parameters)