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 String
COLUMN_ID
id field namestatic String
COLUMN_METADATA
metadata field namestatic String
COLUMN_MIME_TYPE
mimeType field namestatic String
COLUMN_SCOPE
scope field namestatic String
COLUMN_STANDARD_URI
standardUri field namestatic String
TABLE_NAME
Table name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
Get the idString
getMetadata()
Get the metadataMetadataScopeType
getMetadataScope()
Get the metadata scopeString
getMetadataScopeName()
Get the metadata scope nameString
getMimeType()
Get the MIME typeString
getStandardUri()
Get the standard URIvoid
setId(long id)
Set the idvoid
setMetadata(String metadata)
Set the metadatavoid
setMetadataScope(String metadataScope)
Set the metadata scopevoid
setMetadataScope(MetadataScopeType metadataScope)
Set the metadata scopevoid
setMimeType(String mimeType)
Set the MIME typevoid
setStandardUri(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
-
-