Class WorkspaceItem

java.lang.Object
com.sas.lsaf.content.workspace.WorkspaceItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WorkspaceFile, WorkspaceFolder

public abstract class WorkspaceItem extends Object implements Serializable
The abstract base class for workspace folders and files.
Since:
2.1
See Also:
  • Constructor Details

    • WorkspaceItem

      public WorkspaceItem(String path, Date lastModifiedDate)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the workspace items returned by the API.
      Parameters:
      path - the path of the item in the workspace.
      lastModifiedDate - the date on which the item was last modified.
  • Method Details

    • getPath

      public String getPath()
      Gets the path to the workspace item.
      Returns:
      The path of the workspace item.
    • getLastModifiedDate

      public Date getLastModifiedDate()
      Gets the date on which the workspace item was last modified.
      Returns:
      The date on which the workspace item was last modified.
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object