Class MetadataReference
- java.lang.Object
-
- mil.nga.geopackage.extension.metadata.reference.MetadataReference
-
public class MetadataReference extends Object
Links metadata in the gpkg_metadata table to data in the feature, and tiles tables- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_COLUMN_NAMEcolumnName field namestatic StringCOLUMN_FILE_IDmdFileId field namestatic StringCOLUMN_PARENT_IDmdParentId field namestatic StringCOLUMN_REFERENCE_SCOPEreferenceScope field namestatic StringCOLUMN_ROW_ID_VALUErowIdValue field namestatic StringCOLUMN_TABLE_NAMEtableName field namestatic StringCOLUMN_TIMESTAMPtimestamp field namestatic StringTABLE_NAMETable name
-
Constructor Summary
Constructors Constructor Description MetadataReference()Default ConstructorMetadataReference(MetadataReference metadataReference)Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColumnName()Get the column namelonggetFileId()Get the file idMetadatagetMetadata()Get the metadataLonggetParentId()Get the parent idMetadatagetParentMetadata()Get the parent metadataReferenceScopeTypegetReferenceScope()Get the reference scopeStringgetReferenceScopeName()Get the reference scope nameLonggetRowIdValue()Get the row id valueStringgetTableName()Get the table nameDategetTimestamp()Get the timestampvoidsetColumnName(String columnName)Set the column namevoidsetMetadata(Metadata metadata)Set the metadatavoidsetParentMetadata(Metadata parentMetadata)Set the parent metadatavoidsetReferenceScope(ReferenceScopeType referenceScope)Set the reference scopevoidsetRowIdValue(Long rowIdValue)Set the row id valuevoidsetTableName(String tableName)Set the table namevoidsetTimestamp(Date timestamp)Set the timestamp
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
Table name- See Also:
- Constant Field Values
-
COLUMN_REFERENCE_SCOPE
public static final String COLUMN_REFERENCE_SCOPE
referenceScope field name- See Also:
- Constant Field Values
-
COLUMN_TABLE_NAME
public static final String COLUMN_TABLE_NAME
tableName field name- See Also:
- Constant Field Values
-
COLUMN_COLUMN_NAME
public static final String COLUMN_COLUMN_NAME
columnName field name- See Also:
- Constant Field Values
-
COLUMN_ROW_ID_VALUE
public static final String COLUMN_ROW_ID_VALUE
rowIdValue field name- See Also:
- Constant Field Values
-
COLUMN_TIMESTAMP
public static final String COLUMN_TIMESTAMP
timestamp field name- See Also:
- Constant Field Values
-
COLUMN_FILE_ID
public static final String COLUMN_FILE_ID
mdFileId field name- See Also:
- Constant Field Values
-
COLUMN_PARENT_ID
public static final String COLUMN_PARENT_ID
mdParentId field name- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetadataReference
public MetadataReference()
Default Constructor
-
MetadataReference
public MetadataReference(MetadataReference metadataReference)
Copy Constructor- Parameters:
metadataReference- metadata reference to copy- Since:
- 1.3.0
-
-
Method Detail
-
getReferenceScope
public ReferenceScopeType getReferenceScope()
Get the reference scope- Returns:
- reference scope
-
setReferenceScope
public void setReferenceScope(ReferenceScopeType referenceScope)
Set the reference scope- Parameters:
referenceScope- reference scope
-
getReferenceScopeName
public String getReferenceScopeName()
Get the reference scope name- Returns:
- reference scope name
- Since:
- 6.6.0
-
getTableName
public String getTableName()
Get the table name- Returns:
- table name
-
setTableName
public void setTableName(String tableName)
Set the table name- Parameters:
tableName- table name
-
getColumnName
public String getColumnName()
Get the column name- Returns:
- column name
-
setColumnName
public void setColumnName(String columnName)
Set the column name- Parameters:
columnName- column name
-
getRowIdValue
public Long getRowIdValue()
Get the row id value- Returns:
- row id value
-
setRowIdValue
public void setRowIdValue(Long rowIdValue)
Set the row id value- Parameters:
rowIdValue- row id value
-
getTimestamp
public Date getTimestamp()
Get the timestamp- Returns:
- timestamp
-
setTimestamp
public void setTimestamp(Date timestamp)
Set the timestamp- Parameters:
timestamp- timestamp
-
getMetadata
public Metadata getMetadata()
Get the metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(Metadata metadata)
Set the metadata- Parameters:
metadata- metadata
-
getFileId
public long getFileId()
Get the file id- Returns:
- file id
-
getParentMetadata
public Metadata getParentMetadata()
Get the parent metadata- Returns:
- parent metadata
-
setParentMetadata
public void setParentMetadata(Metadata parentMetadata)
Set the parent metadata- Parameters:
parentMetadata- parent metadata
-
getParentId
public Long getParentId()
Get the parent id- Returns:
- parent id
-
-