|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Entry
An Entry is a structural unit of a unisens dataset. Entry is the base class of the following Entries:
| Method Summary | |
|---|---|
void |
addCustomAttribute(java.lang.String key,
java.lang.String value)
Add a ned custom attributes to this unisens entry. |
Entry |
clone()
|
void |
close()
Closes the data file associated with this Entry |
BinFileFormat |
createBinFileFormat()
Creates a new BinFileFormat object. |
CsvFileFormat |
createCsvFileFormat()
Creates a new CsvFileFormat object. |
CustomFileFormat |
createCustomFileFormat(java.lang.String fileFormatName)
Creates a new CustomFileFormat object. |
XmlFileFormat |
createXmlFileFormat()
Creates a new XmlFileFormat object. |
java.lang.String |
getComment()
Gets the comment of this Entry. |
java.lang.String |
getContentClass()
Gets an identifier of the content class of the data contained in this Entry. |
java.util.HashMap<java.lang.String,java.lang.String> |
getCustomAttributes()
Returns the custom attributes of this unisens entry. |
FileFormat |
getFileFormat()
Gets the file format that is used to represet this Entry in the associated data file |
java.lang.String |
getId()
Gets the id of this Entry. |
java.lang.String |
getName()
Gets the name of this Entry. |
java.lang.String |
getSource()
Gets the source of this Entry. |
java.lang.String |
getSourceId()
Gets the source id of this Entry. |
Unisens |
getUnisens()
Gets the unisens object which contains this Entry |
void |
rename(java.lang.String newId)
Rename this Entry. |
void |
setComment(java.lang.String comment)
Sets the comment of this Entry. |
void |
setContentClass(java.lang.String theClass)
Sets the content class of the data contained in this Entry. |
void |
setFileFormat(FileFormat fileFormat)
Sets the file format that is used to represet this Entry in the associated data file |
void |
setName(java.lang.String name)
Sets the name of this Entry. |
void |
setSource(java.lang.String source)
Sets the source of this Entry. |
void |
setSourceId(java.lang.String sourceId)
Sets the source id of this Entry. |
void |
setUnisens(Unisens unisens)
Set the unisens object which contains this Entry |
| Method Detail |
|---|
java.lang.String getComment()
java.lang.String getId()
java.lang.String getName()
java.lang.String getSourceId()
java.lang.String getSource()
java.lang.String getContentClass()
void setName(java.lang.String name)
name - of the entryvoid setContentClass(java.lang.String theClass)
theClass - the content classvoid setComment(java.lang.String comment)
comment - the comment
void rename(java.lang.String newId)
throws java.io.IOException,
DuplicateIdException
newId - the new id of this Entry
java.io.IOException
DuplicateIdExceptionvoid setSourceId(java.lang.String sourceId)
sourceId - the source id of this Entryvoid setSource(java.lang.String source)
source - the source of this Entryjava.util.HashMap<java.lang.String,java.lang.String> getCustomAttributes()
void addCustomAttribute(java.lang.String key,
java.lang.String value)
key - the key of the new attributevalue - the value of the new attributeFileFormat getFileFormat()
void setFileFormat(FileFormat fileFormat)
fileFormat - the file format of this EntryUnisens getUnisens()
void setUnisens(Unisens unisens)
void close()
Entry clone()
BinFileFormat createBinFileFormat()
CsvFileFormat createCsvFileFormat()
XmlFileFormat createXmlFileFormat()
CustomFileFormat createCustomFileFormat(java.lang.String fileFormatName)
fileFormatName - the name of the CustomFileFormat
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||