public class DefaultBrowseGraphic extends ISOMetadata implements BrowseGraphic
Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultBrowseGraphic()
Constructs an initially empty browse graphic.
|
DefaultBrowseGraphic(BrowseGraphic object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultBrowseGraphic(URI fileName)
Creates a browse graphics initialized to the specified URI.
|
Modifier and Type | Method and Description |
---|---|
static DefaultBrowseGraphic |
castOrCopy(BrowseGraphic object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
InternationalString |
getFileDescription()
Returns the text description of the illustration.
|
URI |
getFileName()
Returns the name of the file that contains a graphic that provides an illustration of the dataset.
|
String |
getFileType()
Format in which the illustration is encoded.
|
void |
setFileDescription(InternationalString newValue)
Sets the text description of the illustration.
|
void |
setFileName(URI newValue)
Sets the name of the file that contains a graphic that provides an illustration of the dataset.
|
void |
setFileType(String newValue)
Sets the format in which the illustration is encoded.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultBrowseGraphic()
public DefaultBrowseGraphic(URI fileName)
fileName
- The name of the file that contains a graphic.public DefaultBrowseGraphic(BrowseGraphic object)
object
- The metadata to copy values from, or null
if none.castOrCopy(BrowseGraphic)
public static DefaultBrowseGraphic castOrCopy(BrowseGraphic object)
null
, then this method returns null
.DefaultBrowseGraphic
, then it is returned unchanged.DefaultBrowseGraphic
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public URI getFileName()
getFileName
in interface BrowseGraphic
null
.public void setFileName(URI newValue)
newValue
- The new filename.public InternationalString getFileDescription()
getFileDescription
in interface BrowseGraphic
null
.public void setFileDescription(InternationalString newValue)
newValue
- The new file description.public String getFileType()
getFileType
in interface BrowseGraphic
null
.public void setFileType(String newValue)
newValue
- The new file type.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.