public enum GvrsMnc extends Enum<GvrsMnc>
This class is provided as a preliminary implementation to illustrate a concept of how a metadata standard could be facilitated. However, no such standard is established at this time. This class is provided with the hope that it will foster discussion and the eventual creation of a comprehensive metadata standard for GVRS. Ideally, this enumeration will specify a small set of standard metadata names and data types that would be recognized by most or all applications. Beyond that, applications would remain free to specify custom metadata definitions according to their own requirements.
Enum Constant and Description |
---|
Author
Defines a specification for the author of a data set.
|
Copyright
Defines a specification for copyrights.
|
Disclaimers
A statement disclaiming liability or clarifying limitations of
applicability..
|
GvrsCompressionCodecs
Gets an ordered list of the names of the codecs used by the
GvrsFile.
|
GvrsJavaCodecs
Defined for use by the GVRS Java implementation for tracking
data compression codecs.
|
TermsOfUse
A statement giving conditions under which the producer released the
associated product for use.
|
TIFF
Defines a specification for bundling tags from the industry-standard
Tagged Image File Format (TIFF) into a GVRS file.
|
WKT
Defines a specification for bundling "Well Known Text" specifications
from Geographic Information System (GIS) applications.
|
Modifier and Type | Method and Description |
---|---|
GvrsMetadataType |
getDataType()
Gets the data type associated with this instance.
|
String |
getDescription()
Gets the description associated with this enumeration value, if any.
|
GvrsMetadata |
newInstance()
Constructs a new instance of a GvrsMetadata with the name and
data type specified by the enumeration.
|
GvrsMetadata |
newInstance(int recordID)
Constructs a new instance of a GvrsMetadata object with the name,
data type, specified by the enumeration and the record ID
assigned to it by the calling application.
|
static GvrsMnc |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GvrsMnc[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GvrsMnc Author
public static final GvrsMnc Copyright
When data is released in the public domain (without copyright control), application developers are encouraged to indicate that the data is free for use by marking a file with a notation such as "This data is in the public domain".
public static final GvrsMnc TermsOfUse
public static final GvrsMnc Disclaimers
public static final GvrsMnc TIFF
public static final GvrsMnc WKT
public static final GvrsMnc GvrsJavaCodecs
public static final GvrsMnc GvrsCompressionCodecs
public static GvrsMnc[] values()
for (GvrsMnc c : GvrsMnc.values()) System.out.println(c);
public static GvrsMnc valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic GvrsMetadataType getDataType()
public String getDescription()
public GvrsMetadata newInstance()
This method is suitable for use in cases where the name assigned to the new instance may be used for multiple metadata instances with the same name. For example, some data sources may carry multiple Author or Copyright specifications.
public GvrsMetadata newInstance(int recordID)
recordID
- an integer value uniquely identifying the metadata
object to be constructed.Copyright © 2022. All rights reserved.