Package net.sf.basedb.util.bfs
Class MetadataModel.SectionEntry
java.lang.Object
net.sf.basedb.util.bfs.MetadataModel.SectionEntry
- Enclosing class:
- MetadataModel
Holds information about a section entry.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSectionEntry
(String key, String value) Create a new single-valued section entry.SectionEntry
(String key, String... values) Create a new section entry with an array of values. -
Method Summary
-
Field Details
-
key
-
values
-
value
-
-
Constructor Details
-
SectionEntry
Create a new single-valued section entry.- Parameters:
key
- The key of the entryvalue
- The value of the entry
-
SectionEntry
Create a new section entry with an array of values.- Parameters:
key
- The key of the entryvalues
- An array with the values
-
-
Method Details
-
getKey
Get the key of the entry. -
getValueCount
public int getValueCount()Get the number of values in the entry. -
getValue
Get the value of the entry. If the entry is a multi-value entry, a single-value is created by concatenating the array of values using tab as a separator.- Returns:
- The value of the entry
-
getValues
Get all values.
-