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 String
COLUMN_COLUMN_NAME
columnName field namestatic String
COLUMN_FILE_ID
mdFileId field namestatic String
COLUMN_PARENT_ID
mdParentId field namestatic String
COLUMN_REFERENCE_SCOPE
referenceScope field namestatic String
COLUMN_ROW_ID_VALUE
rowIdValue field namestatic String
COLUMN_TABLE_NAME
tableName field namestatic String
COLUMN_TIMESTAMP
timestamp field namestatic String
TABLE_NAME
Table 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 String
getColumnName()
Get the column namelong
getFileId()
Get the file idMetadata
getMetadata()
Get the metadataLong
getParentId()
Get the parent idMetadata
getParentMetadata()
Get the parent metadataReferenceScopeType
getReferenceScope()
Get the reference scopeString
getReferenceScopeName()
Get the reference scope nameLong
getRowIdValue()
Get the row id valueString
getTableName()
Get the table nameDate
getTimestamp()
Get the timestampvoid
setColumnName(String columnName)
Set the column namevoid
setMetadata(Metadata metadata)
Set the metadatavoid
setParentMetadata(Metadata parentMetadata)
Set the parent metadatavoid
setReferenceScope(ReferenceScopeType referenceScope)
Set the reference scopevoid
setRowIdValue(Long rowIdValue)
Set the row id valuevoid
setTableName(String tableName)
Set the table namevoid
setTimestamp(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
-
-