Class Bucket


  • public class Bucket
    extends java.lang.Object
    DTO representing a bucket.
    • Constructor Summary

      Constructors 
      Constructor Description
      Bucket​(java.nio.file.Path bucketPath, java.lang.String name, java.lang.String creationDate)
      Constructs a new Bucket.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCreationDate()  
      java.lang.String getName()  
      java.nio.file.Path getPath()  
      void setCreationDate​(java.lang.String creationDate)  
      void setName​(java.lang.String name)  
      void setPath​(java.nio.file.Path bucketPath)  
      • Methods inherited from class java.lang.Object

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

      • Bucket

        public Bucket​(java.nio.file.Path bucketPath,
                      java.lang.String name,
                      java.lang.String creationDate)
        Constructs a new Bucket.
        Parameters:
        bucketPath - path of bucket
        name - of bucket
        creationDate - date of creation.
    • Method Detail

      • getCreationDate

        public java.lang.String getCreationDate()
      • setCreationDate

        public void setCreationDate​(java.lang.String creationDate)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getPath

        public java.nio.file.Path getPath()
      • setPath

        public void setPath​(java.nio.file.Path bucketPath)