Class MetadataReference


  • public class MetadataReference
    extends Object
    Links metadata in the gpkg_metadata table to data in the feature, and tiles tables
    Author:
    osbornb
    • 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