Class Experiment

    • Constructor Detail

      • Experiment

        public Experiment​(Experiment.ExperimentInitializer initializer)
        Creates a new instance with the provided initializer
        Throws:
        java.lang.IllegalArgumentException - if some of the required information is not provided.
    • Method Detail

      • getId

        public java.lang.Long getId()
        Returns the experiment id.
        Specified by:
        getId in interface IIdHolder
        Returns:
        null if there is no Id.
      • getPermId

        public java.lang.String getPermId()
        Returns the experiment permanent id.
      • getCode

        public java.lang.String getCode()
        Returns the experiment code.
      • getIdentifier

        public java.lang.String getIdentifier()
        Returns the experiment identifier.
        Specified by:
        getIdentifier in interface IIdentifierHolder
      • getExperimentTypeCode

        public java.lang.String getExperimentTypeCode()
        Returns the experiment type code.
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
      • getMetaprojects

        public java.util.List<Metaproject> getMetaprojects()
                                                    throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • isStub

        public boolean isStub()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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