com.ibm.websphere.filetransfer
Class FileServiceMXBean.MetaData

java.lang.Object
  extended by com.ibm.websphere.filetransfer.FileServiceMXBean.MetaData
Enclosing interface:
FileServiceMXBean

public static class FileServiceMXBean.MetaData
extends java.lang.Object

Return type for above getMetaData and getDirectoryEntries methods. The JMX framework will convert this to a CompositeData object on the client side.


Constructor Summary
FileServiceMXBean.MetaData(java.lang.Boolean directory, java.util.Date lastModified, java.lang.Long size, java.lang.Boolean readOnly, java.lang.String fileName)
           
 
Method Summary
 java.lang.Boolean getDirectory()
          Boolean value indicating whether or not the entity is a directory.
 java.lang.String getFileName()
           
 java.util.Date getLastModified()
           
 java.lang.Boolean getReadOnly()
          Boolean value indicating whether or not the entity is read-only.
 java.lang.Long getSize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileServiceMXBean.MetaData

@ConstructorProperties(value={"directory","lastModified","size","readOnly","fileName"})
public FileServiceMXBean.MetaData(java.lang.Boolean directory,
                                                        java.util.Date lastModified,
                                                        java.lang.Long size,
                                                        java.lang.Boolean readOnly,
                                                        java.lang.String fileName)
Method Detail

getDirectory

public java.lang.Boolean getDirectory()
Boolean value indicating whether or not the entity is a directory.

Returns:
true if the entity is a directory, false otherwise.

getLastModified

public java.util.Date getLastModified()
Returns:
Date object representing the time the entity was last modified

getSize

public java.lang.Long getSize()
Returns:
Long object indicating the size of the entity.

getReadOnly

public java.lang.Boolean getReadOnly()
Boolean value indicating whether or not the entity is read-only.

Returns:
true if the entity is read-only, false otherwise.

getFileName

public java.lang.String getFileName()
Returns:
String value indicating the entity's absolute path.