|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcore_lib.FileCopy
public class FileCopy
The FileCopy class stores a unique instance of a file. A single 'file' does not exist on a network - instead there are multiple FileCopy objects for each 'file' - each with a distinct owner and validity.
Field Summary | |
---|---|
private int |
owner
The owner of this FileCopy. |
private boolean |
valid
The validity of this FileCopy. |
Constructor Summary | |
---|---|
FileCopy(int owner,
boolean valid)
Construct a FileCopy object. |
Method Summary | |
---|---|
int |
getOwner()
Access method to the 'owner' field. |
boolean |
getValid()
Access method to the 'valid' field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int owner
private boolean valid
Constructor Detail |
---|
public FileCopy(int owner, boolean valid)
owner
- The user (number) who owns this FileCopyvalid
- The validity of this FileCopyMethod Detail |
---|
public int getOwner()
public boolean getValid()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |