com.sas.hls.resource.workspace
Class WorkspaceResource

java.lang.Object
  extended by 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

Field Summary
protected  Date lastModifiedDate
           
protected  String path
           
 
Constructor Summary
WorkspaceResource(String path, Date lastModifiedDate)
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getLastModifiedDate()
           
 String getPath()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

path

protected String path

lastModifiedDate

protected Date lastModifiedDate
Constructor Detail

WorkspaceResource

public WorkspaceResource(String path,
                         Date lastModifiedDate)
Parameters:
path -
lastModifiedDate -
Method Detail

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) 2013, SAS Institute Inc., Cary, NC, USA