public final class CsvCodelist extends CsvAsset
CsvAsset that represents a codelist.| Modifier and Type | Field and Description |
|---|---|
static Type<CsvCodelist> |
type
The type of
CsvCodelists. |
defaultDelimiter, defaultEncoding, defaultHeader, defaultQuote, defaultRows| Constructor and Description |
|---|
CsvCodelist(String name,
int codeColumnIndex,
RepositoryService service,
Property... properties)
Creates an instance with a given name, target service, and properties.
|
CsvCodelist(String id,
String name,
int codeColumnIndex,
Property... properties)
Creates an instance with a given identifier, name, code column index, and properties.
|
CsvCodelist(String id,
String name,
int codeColumnIndex,
RepositoryService service,
Property... properties)
Creates an instance with a given identifier, name, target service, and properties.
|
| Modifier and Type | Method and Description |
|---|---|
int |
codeColumn()
Returns the index of the column that contains the codes of this list.
|
boolean |
equals(Object obj) |
int |
hashCode() |
protected void |
setCodeColumn(int codeColumnIndex)
Sets the index of the column that contains the codes of this list.
|
String |
toString() |
columns, delimiter, encoding, hasHeader, hasHeader, quote, rows, setColumns, setDelimiter, setEncoding, setQuote, setRowsid, name, service, setService, setVersion, type, versionproperties, propertiesclone, finalize, getClass, notify, notifyAll, wait, wait, waitpropertiespublic static final Type<CsvCodelist> type
CsvCodelists.public CsvCodelist(String id, String name, int codeColumnIndex, Property... properties)
Plugin-facing constructor for asset discovery and retrieval purposes.
id - the identifiername - the namecodeColumnIndex - the index of the column that contains the codes of this listproperties - the propertiespublic CsvCodelist(String name, int codeColumnIndex, RepositoryService service, Property... properties)
Use for asset publication with services that do now allow client-defined identifiers, or else that force services to generate identifiers.
name - the namecodeColumnIndex - the index of the column that contains the codes of this listservice - the target serviceproperties - the propertiespublic CsvCodelist(String id, String name, int codeColumnIndex, RepositoryService service, Property... properties)
Use for asset publication with services that allow client-defined identifiers.
id - the identifiername - the namecodeColumnIndex - the index of the column that contains the codes of this listservice - the target serviceproperties - the propertiespublic int codeColumn()
protected void setCodeColumn(int codeColumnIndex)
codeColumnIndex - the code column indexCopyright © 2018. All rights reserved.