Package net.sf.basedb.util.bfs
Class MetadataModel.SectionEntry
- java.lang.Object
-
- net.sf.basedb.util.bfs.MetadataModel.SectionEntry
-
- Enclosing class:
- MetadataModel
public static class MetadataModel.SectionEntry extends Object
Holds information about a section entry.
-
-
Constructor Summary
Constructors Constructor Description SectionEntry(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
Get the key of the entry.String
getValue()
Get the value of the entry.int
getValueCount()
Get the number of values in the entry.String[]
getValues()
Get all values.
-
-
-
Method Detail
-
getKey
public String getKey()
Get the key of the entry.
-
getValueCount
public int getValueCount()
Get the number of values in the entry.
-
getValue
public String 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
public String[] getValues()
Get all values.
-
-