Class ProjectImmutable

    • Constructor Summary

      Constructors 
      Constructor Description
      ProjectImmutable​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Project project)  
      ProjectImmutable​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Project project, boolean isExistingProject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkExists()
      Throw an exception if the project does not exist
      boolean equals​(java.lang.Object obj)  
      java.lang.String getCode()
      Returns the code of this project.
      java.lang.String getDescription()
      Return the description for this project.
      java.lang.Long getId()  
      java.lang.String getPermId()
      Returns the permanent id of this project.
      ch.systemsx.cisd.openbis.generic.shared.basic.dto.Project getProject()  
      java.lang.String getProjectIdentifier()
      Return the identifier for this project.
      java.lang.String getSpaceCode()
      Returns the code of the space this project belongs to.
      int hashCode()  
      boolean isExistingProject()
      Return true if the project exists in the database.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProjectImmutable

        public ProjectImmutable​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Project project)
      • ProjectImmutable

        public ProjectImmutable​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Project project,
                                boolean isExistingProject)
    • Method Detail

      • getId

        public java.lang.Long getId()
      • checkExists

        protected void checkExists()
        Throw an exception if the project does not exist
      • getProject

        public ch.systemsx.cisd.openbis.generic.shared.basic.dto.Project getProject()
      • hashCode

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

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