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

Constructor Summary
WorkspaceResource(String path, Date lastModifiedDate)
          It is not intended or recommended that the consumer of the API construct these objects.
 
Method Summary
 boolean equals(Object obj)
          Indicate whether some other object is "equal to" this one.
 Date getLastModifiedDate()
          Return the date this workspace resource was last modified.
 String getPath()
          Return the path to this workspace resource.
 int hashCode()
          Return a hash code value for the object.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkspaceResource

public WorkspaceResource(String path,
                         Date lastModifiedDate)
It is not intended or recommended that the consumer of the API construct these objects. They should only deal with the WorkspaceResource objects returned by the API.

Parameters:
path - The path of this resource in the workspace.
lastModifiedDate - The date the resource was last modified.
Method Detail

getPath

public String getPath()
Return the path to this workspace resource.

Returns:
The path of this workspace resource.

getLastModifiedDate

public Date getLastModifiedDate()
Return the date this workspace resource was last modified.

Returns:
The date this workspace resource was last modified.

hashCode

public int hashCode()
Return a hash code value for the object.

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Indicate whether some other object is "equal to" this one.

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA