|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface CustomEntry
CustomEntry can be used to describe a data file in a unisens dataset that is not specified in the unisens specification. Attributes can be used. These are stored and retreived from the unisens.xml file. THIS FEATURE IS STILL EXPERIMENTAL AND MAY CHANGE IN FUTURE.
| Method Summary | |
|---|---|
java.lang.String |
getAttribute(java.lang.String attributeName)
Gets the value of an attribute by its name |
java.util.HashMap<java.lang.String,java.lang.String> |
getAttributes()
Gets all attributes as a HashMap |
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Sets a new attriubte and its values |
| Methods inherited from interface org.unisens.Entry |
|---|
addCustomAttribute, clone, close, createBinFileFormat, createCsvFileFormat, createCustomFileFormat, createXmlFileFormat, getComment, getContentClass, getCustomAttributes, getFileFormat, getId, getName, getSource, getSourceId, getUnisens, rename, setComment, setContentClass, setFileFormat, setName, setSource, setSourceId, setUnisens |
| Method Detail |
|---|
java.lang.String getAttribute(java.lang.String attributeName)
attributeName - the name of the attribute
void setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
attributeName - the name of the attributeattributeValue - the value of the attriutejava.util.HashMap<java.lang.String,java.lang.String> getAttributes()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||