Class Metadata
- java.lang.Object
-
- mil.nga.geopackage.extension.metadata.Metadata
-
public class Metadata extends Object
Contains metadata in MIME encodings structured in accordance with any authoritative metadata specification- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_IDid field namestatic StringCOLUMN_METADATAmetadata field namestatic StringCOLUMN_MIME_TYPEmimeType field namestatic StringCOLUMN_SCOPEscope field namestatic StringCOLUMN_STANDARD_URIstandardUri field namestatic StringTABLE_NAMETable name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetId()Get the idStringgetMetadata()Get the metadataMetadataScopeTypegetMetadataScope()Get the metadata scopeStringgetMetadataScopeName()Get the metadata scope nameStringgetMimeType()Get the MIME typeStringgetStandardUri()Get the standard URIvoidsetId(long id)Set the idvoidsetMetadata(String metadata)Set the metadatavoidsetMetadataScope(String metadataScope)Set the metadata scopevoidsetMetadataScope(MetadataScopeType metadataScope)Set the metadata scopevoidsetMimeType(String mimeType)Set the MIME typevoidsetStandardUri(String standardUri)Set the standard URI
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
Table name- See Also:
- Constant Field Values
-
COLUMN_ID
public static final String COLUMN_ID
id field name- See Also:
- Constant Field Values
-
COLUMN_SCOPE
public static final String COLUMN_SCOPE
scope field name- See Also:
- Constant Field Values
-
COLUMN_STANDARD_URI
public static final String COLUMN_STANDARD_URI
standardUri field name- See Also:
- Constant Field Values
-
COLUMN_MIME_TYPE
public static final String COLUMN_MIME_TYPE
mimeType field name- See Also:
- Constant Field Values
-
COLUMN_METADATA
public static final String COLUMN_METADATA
metadata field name- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Metadata
public Metadata()
Default Constructor
-
Metadata
public Metadata(Metadata meta)
Copy Constructor- Parameters:
meta- metadata to copy- Since:
- 1.3.0
-
-
Method Detail
-
getId
public long getId()
Get the id- Returns:
- id
-
setId
public void setId(long id)
Set the id- Parameters:
id- id
-
getMetadataScope
public MetadataScopeType getMetadataScope()
Get the metadata scope- Returns:
- metadata scope type
-
setMetadataScope
public void setMetadataScope(MetadataScopeType metadataScope)
Set the metadata scope- Parameters:
metadataScope- metadata scope type
-
getMetadataScopeName
public String getMetadataScopeName()
Get the metadata scope name- Returns:
- metadata scope name
- Since:
- 4.0.0
-
setMetadataScope
public void setMetadataScope(String metadataScope)
Set the metadata scope- Parameters:
metadataScope- metadata scope name- Since:
- 4.0.0
-
getStandardUri
public String getStandardUri()
Get the standard URI- Returns:
- standard URI
-
setStandardUri
public void setStandardUri(String standardUri)
Set the standard URI- Parameters:
standardUri- standard URI
-
getMimeType
public String getMimeType()
Get the MIME type- Returns:
- MIME type
-
setMimeType
public void setMimeType(String mimeType)
Set the MIME type- Parameters:
mimeType- MIME type
-
getMetadata
public String getMetadata()
Get the metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(String metadata)
Set the metadata- Parameters:
metadata- metadata
-
-