com.sas.hls.resource.workspace
Class WorkspaceResource
java.lang.Object
com.sas.hls.resource.workspace.WorkspaceResource
- All Implemented Interfaces:
- Resource, Serializable
- Direct Known Subclasses:
- WorkspaceFile, WorkspaceFolder
public abstract class WorkspaceResource
- extends Object
- implements Resource
Abstract base class for client-side representations of workspace resources.
- See Also:
- Serialized Form
path
protected String path
lastModifiedDate
protected Date lastModifiedDate
WorkspaceResource
public WorkspaceResource(String path,
Date lastModifiedDate)
- Parameters:
path
- lastModifiedDate
-
getPath
public String getPath()
- Returns:
- Path of the resource.
getLastModifiedDate
public Date getLastModifiedDate()
- Returns:
- Date the resource 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
Copyright (c) 2012, SAS Institute Inc., Cary, NC, USA