Class FileListElement

java.lang.Object
ecmwf.common.ecaccess.FileListElement
All Implemented Interfaces:
Serializable, Cloneable

public final class FileListElement extends Object implements Serializable, Cloneable
ECMWF Product Data Store (OpenECPDS) Project
Since:
2024-07-01
Version:
6.7.7
Author:
Laurent Gougeon - syi@ecmwf.int, ECMWF.
See Also:
  • Constructor Details

    • FileListElement

      public FileListElement()
  • Method Details

    • getGroup

      public String getGroup()
      Gets the group.
      Returns:
      the group
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • getPath

      public String getPath()
      Gets the path.
      Returns:
      the path
    • getLink

      public String getLink()
      Gets the link.
      Returns:
      the link
    • getRight

      public String getRight()
      Gets the right.
      Returns:
      the right
    • getSize

      public String getSize()
      Gets the size.
      Returns:
      the size
    • getType

      public char getType()
      Gets the type.
      Returns:
      the type
    • getUser

      public String getUser()
      Gets the user.
      Returns:
      the user
    • getComment

      public String getComment()
      Gets the comment.
      Returns:
      the comment
    • setComment

      public void setComment(String com)
      Sets the comment.
      Parameters:
      com - the new comment
    • setGroup

      public void setGroup(String group)
      Sets the group.
      Parameters:
      group - the new group
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • setPath

      public void setPath(String path)
      Sets the path.
      Parameters:
      path - the new path
    • setLink

      public void setLink(String link)
      Sets the link.
      Parameters:
      link - the new link
    • setRight

      public void setRight(String right)
      Sets the right.
      Parameters:
      right - the new right
    • setSize

      public void setSize(String size)
      Sets the size.
      Parameters:
      size - the new size
    • setUser

      public void setUser(String user)
      Sets the user.
      Parameters:
      user - the new user
    • getTime

      public long getTime()
      Gets the time.
      Returns:
      the time
    • isDirectory

      public boolean isDirectory()
      Checks if is directory.
      Returns:
      true, if is directory
    • setTime

      public void setTime(long time)
      Sets the time.
      Parameters:
      time - the new time
    • toString

      public String toString()
      Return the filename, path included.
      Overrides:
      toString in class Object
    • clone

      public Object clone()
      Clone.
      Overrides:
      clone in class Object