Class NewSample

    • Field Detail

      • SAMPLE_REGISTRATION_TEMPLATE_COMMENT

        public static final java.lang.String SAMPLE_REGISTRATION_TEMPLATE_COMMENT
        See Also:
        Constant Field Values
      • WITH_EXPERIMENTS_COMMENT

        public static java.lang.String WITH_EXPERIMENTS_COMMENT
      • WITH_SPACE_COMMENT

        public static java.lang.String WITH_SPACE_COMMENT
      • CURRENT_CONTAINER

        public static final java.lang.String CURRENT_CONTAINER
        See Also:
        Constant Field Values
    • Constructor Detail

      • NewSample

        public NewSample()
      • NewSample

        public NewSample​(java.lang.String identifier,
                         SampleType sampleType,
                         java.lang.String containerIdentifier,
                         java.lang.String[] parentsOrNull,
                         java.lang.String experimentIdentifier,
                         java.lang.String defaultSpaceIdentifier,
                         java.lang.String currentContainerIdentifier,
                         IEntityProperty[] properties,
                         java.util.List<NewAttachment> attachments)
    • Method Detail

      • createWithParent

        public static NewSample createWithParent​(java.lang.String identifier,
                                                 SampleType sampleType,
                                                 java.lang.String containerIdentifier,
                                                 java.lang.String parentIdentifier)
      • createWithParents

        public static NewSample createWithParents​(java.lang.String identifier,
                                                  SampleType sampleType,
                                                  java.lang.String containerIdentifier,
                                                  java.lang.String[] parents)
      • getAttachments

        public java.util.List<NewAttachment> getAttachments()
      • setAttachments

        public void setAttachments​(java.util.List<NewAttachment> attachments)
      • getSampleType

        public final SampleType getSampleType()
      • setSampleType

        public final void setSampleType​(SampleType sampleType)
      • getParentsOrNull

        public java.lang.String[] getParentsOrNull()
      • setParentsOrNull

        public void setParentsOrNull​(java.lang.String[] parents)
      • setParents

        public void setParents​(java.lang.String parents)
      • getParentIdentifier

        @Deprecated
        public final java.lang.String getParentIdentifier()
        Deprecated.
        convenience method for tests - use getParentsOrNull() instead
      • setParentIdentifier

        @Deprecated
        public final void setParentIdentifier​(java.lang.String parent)
        Deprecated.
        kept for backward compatibility and used as a convenience method for tests - use setParents(String) instead
      • getContainerIdentifier

        public final java.lang.String getContainerIdentifier()
      • setContainerIdentifier

        public final void setContainerIdentifier​(java.lang.String container)
      • getCurrentContainerIdentifier

        public final java.lang.String getCurrentContainerIdentifier()
      • setCurrentContainerIdentifier

        public final void setCurrentContainerIdentifier​(java.lang.String currentContainerIdentifier)
      • getExperimentIdentifier

        public java.lang.String getExperimentIdentifier()
      • setExperimentIdentifier

        public void setExperimentIdentifier​(java.lang.String experimentIdentifier)
      • getProjectIdentifier

        public java.lang.String getProjectIdentifier()
      • setProjectIdentifier

        public void setProjectIdentifier​(java.lang.String projectIdentifier)
      • getDefaultSpaceIdentifier

        public java.lang.String getDefaultSpaceIdentifier()
      • setDefaultSpaceIdentifier

        public void setDefaultSpaceIdentifier​(java.lang.String defaultSpaceIdentifier)
      • getMetaprojectsOrNull

        public java.lang.String[] getMetaprojectsOrNull()
      • setMetaprojectsOrNull

        public void setMetaprojectsOrNull​(java.lang.String[] metaprojectsOrNull)
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getContainerIdentifierForNewSample

        public java.lang.String getContainerIdentifierForNewSample()