org.cafesip.gwtcomp.client.common
Class FileElement

java.lang.Object
  extended by org.cafesip.gwtcomp.client.common.FileElement
All Implemented Interfaces:
IsSerializable

public class FileElement
extends Object
implements IsSerializable

This class represents a value object that is used to exchange directory and file information that is used by the ServerFileBrowser component. This is an internal class and your application will never need to use this class directly.

Author:
Amit Chatterjee

Field Summary
static String DIR
           
static String FILE
           
 
Constructor Summary
FileElement()
          A constructor for this class.
 
Method Summary
 String getLastModified()
           
 String getName()
           
 String getPermissions()
           
 String getType()
           
 void init(String name, String type, String lastModified, String permissions)
           
 void setLastModified(String lastModified)
           
 void setName(String name)
           
 void setPermissions(String permissions)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIR

public static final String DIR
See Also:
Constant Field Values

FILE

public static final String FILE
See Also:
Constant Field Values
Constructor Detail

FileElement

public FileElement()
A constructor for this class.

Method Detail

init

public void init(String name,
                 String type,
                 String lastModified,
                 String permissions)

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.

getType

public String getType()
Returns:
Returns the type.

setType

public void setType(String type)
Parameters:
type - The type to set.

getLastModified

public String getLastModified()
Returns:
Returns the lastModified.

setLastModified

public void setLastModified(String lastModified)
Parameters:
lastModified - The lastModified to set.

getPermissions

public String getPermissions()
Returns:
Returns the permissions.

setPermissions

public void setPermissions(String permissions)
Parameters:
permissions - The permissions to set.


Copyright © 2010 Cafesip.org. All Rights Reserved.