com.sas.swing.models.remotefileselector
Interface RemoteFileMetadataInterface

All Known Implementing Classes:
BaseRemoteFileMetadata, IFileServiceFileMetadata, InformationServicesFileMetadata

public interface RemoteFileMetadataInterface

RemoteFileMetadataInterface defines the interface of a metadata storage class for various types of remote files.

Since:
3.1
See Also:
com.sas.swing.visuals.remotefileselector.BaseRemoteFileMetadata,

Method Summary
 java.lang.String getIcon()
          Returns the icon name associated with the file.
 java.lang.String getName()
          Returns the file name.
 java.lang.String getPath()
          Returns the path associated with the file.
 boolean isDrillable()
          Returns whether a particular file can be drilled down on to show other levels in a file hierarchy.
 void setDrillable(boolean value)
          Sets whether a particular file can be drilled down on.
 void setIcon(java.lang.String newIcon)
          Allows an icon name to be associated with a file.
 void setName(java.lang.String newName)
          Sets the file name.
 void setPath(java.lang.String newPath)
          Sets the path associated with the file.
 java.lang.String toString()
          Returns a string that displays and identifies this object's properties.
 

Method Detail

getName

java.lang.String getName()
Returns the file name.

Returns:
the file name
See Also:
setName(String)

setName

void setName(java.lang.String newName)
Sets the file name.

Parameters:
newName - the file name being set
See Also:
getName()

getIcon

java.lang.String getIcon()
Returns the icon name associated with the file.

Returns:
the file icon name
See Also:
setIcon(String)

setIcon

void setIcon(java.lang.String newIcon)
Allows an icon name to be associated with a file.

Parameters:
newIcon - the icon name
See Also:
getIcon()

isDrillable

boolean isDrillable()
Returns whether a particular file can be drilled down on to show other levels in a file hierarchy.

Returns:
true if the file can be drilled down on
See Also:
setDrillable(boolean)

setDrillable

void setDrillable(boolean value)
Sets whether a particular file can be drilled down on.

Parameters:
value - set to true if file can be drilled down on
See Also:
isDrillable()

toString

java.lang.String toString()
Returns a string that displays and identifies this object's properties.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this object

getPath

java.lang.String getPath()
Returns the path associated with the file.

Returns:
the path
See Also:
setPath(String)

setPath

void setPath(java.lang.String newPath)
Sets the path associated with the file.

Parameters:
newPath - the file path being set
See Also:
getPath()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.