candy.util
Class ExternalFileMeta

java.lang.Object
  |
  +--candy.core.candyObject
        |
        +--candy.util.ExternalFileMeta
All Implemented Interfaces:
CandyTableMeta, net.jini.core.entry.Entry, java.io.Serializable

public class ExternalFileMeta
extends candyObject
implements CandyTableMeta

ExternalFileMeta contains meta-information about an ExternalFile

Author:
Jason Corso (jcorso@cs.jhu.edu)
See Also:
Serialized Form

Field Summary
 java.lang.String filename
          filename of the ExternalFile
 java.lang.String length
           
 java.lang.String owner
          The member who initially placed this file into the JavaSpace.
 
Fields inherited from class candy.core.candyObject
description, handle, timestamp
 
Constructor Summary
ExternalFileMeta()
          Construct a new ExternalFileMeta with null data -- template
ExternalFileMeta(java.lang.String f, java.lang.String o, int l)
          Construct a new ExternalFileMeta with given data
 
Method Summary
 java.lang.Object getColumn1()
          CandyTableMeta implementation
 java.lang.Object getColumn2()
           
 java.lang.Object getColumn3()
           
 java.lang.String toString()
           
 
Methods inherited from class candy.core.candyObject
getDescription, getHandle, setDescription, setHandle
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface candy.util.CandyTableMeta
getHandle
 

Field Detail

filename

public java.lang.String filename
filename of the ExternalFile

length

public java.lang.String length

owner

public java.lang.String owner
The member who initially placed this file into the JavaSpace. NOTE: because we assume a good natured team, we do not enforce any ownership permissions. Therefore, any team member may remove this file from the space.
Constructor Detail

ExternalFileMeta

public ExternalFileMeta(java.lang.String f,
                        java.lang.String o,
                        int l)
Construct a new ExternalFileMeta with given data

ExternalFileMeta

public ExternalFileMeta()
Construct a new ExternalFileMeta with null data -- template
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getColumn1

public java.lang.Object getColumn1()
CandyTableMeta implementation
Specified by:
getColumn1 in interface CandyTableMeta

getColumn2

public java.lang.Object getColumn2()
Specified by:
getColumn2 in interface CandyTableMeta

getColumn3

public java.lang.Object getColumn3()
Specified by:
getColumn3 in interface CandyTableMeta