com.ibm.websphere.filetransfer

Class FileServiceMXBean.MetaData

  1. java.lang.Object
  2. extended bycom.ibm.websphere.filetransfer.FileServiceMXBean.MetaData
Enclosing interface:
FileServiceMXBean

  1. public static class FileServiceMXBean.MetaData
  2. 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

Constructor and Description
FileServiceMXBean.MetaData(java.lang.Boolean directory,java.util.Date lastModified,java.lang.Long size,java.lang.Boolean readOnly,java.lang.String fileName)

Method Summary

Modifier and Type Method and Description
  1. java.lang.Boolean
getDirectory()
Boolean value indicating whether or not the entity is a directory.
  1. java.lang.String
getFileName()
  1. java.util.Date
getLastModified()
  1. java.lang.Boolean
getReadOnly()
Boolean value indicating whether or not the entity is read-only.
  1. java.lang.Long
getSize()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

FileServiceMXBean.MetaData

  1. @ConstructorProperties(value={"directory","lastModified","size","readOnly","fileName"})
  2. public FileServiceMXBean.MetaData( java.lang.Boolean directory,
  3. java.util.Date lastModified,
  4. java.lang.Long size,
  5. java.lang.Boolean readOnly,
  6. java.lang.String fileName)

Method Detail

getDirectory

  1. 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

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

getSize

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

getReadOnly

  1. 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

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