|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectru.biosoft.access.DataElementSupport
ru.biosoft.access.FileDataElement
FileDataElement is DataElement which wraps the File object. This class is used for storing of objects that have file representation.
| Field Summary | |
protected java.io.File |
file
File stored in this FileDataElement |
| Constructor Summary | |
FileDataElement(java.lang.String name,
DataCollection origin,
java.io.File parent)
Constructs FileDataElement with specified name,parent DataCollection,and parent subdirectory |
|
FileDataElement(java.lang.String name,
DataCollection origin,
java.lang.String parent)
Constructs FileDataElement with specified name,parent DataCollection,and name of parent subdirectory |
|
FileDataElement(java.lang.String name,
FileCollection origin)
Constructs FileDataElement with specified name and parent DataCollection |
|
| Method Summary | |
java.io.File |
getFile()
Return file of this DataElement |
void |
setFile(java.io.File file)
Sets new file. |
| Methods inherited from class ru.biosoft.access.DataElementSupport |
getName, getOrigin, registerConstructorWithBadEqual, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.io.File file
| Constructor Detail |
public FileDataElement(java.lang.String name,
DataCollection origin,
java.io.File parent)
name - name of DataElementorigin - parent DataCollectionparent - parent subdirectory
public FileDataElement(java.lang.String name,
DataCollection origin,
java.lang.String parent)
name - name of DataElementorigin - parent DataCollectionparent - name of parent subdirectory
public FileDataElement(java.lang.String name,
FileCollection origin)
name - name of DataElementorigin - parent DataCollection| Method Detail |
public java.io.File getFile()
public void setFile(java.io.File file)
throws java.lang.Exception
file - new file
java.lang.Exception - If name of DataElement does not equal name of new file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||