Class BrowseGraphicImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- BrowseGraphicImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,BrowseGraphic
public class BrowseGraphicImpl extends MetadataEntity implements BrowseGraphic
Graphic that provides an illustration of the dataset (should include a legend for the graphic).- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD), Touraïvane
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class AbstractMetadata
LOGGER
-
-
Constructor Summary
Constructors Constructor Description BrowseGraphicImpl()
Constructs an initially empty browse graphic.BrowseGraphicImpl(URI fileName)
Creates a browse graphics initialized to the specified URI.BrowseGraphicImpl(BrowseGraphic source)
Constructs a metadata entity initialized with the values from the specified metadata.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getApplicationSchemaInformation()
Name of the file that contains a graphic that provides an illustration of the dataset.InternationalString
getFileDescription()
Text description of the illustration.URI
getFileName()
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
setApplicationSchemaInformation(URI newValue)
Set the name of the file that contains a graphic that provides an illustration of the dataset.void
setFileDescription(InternationalString newValue)
Set the text description of the illustration.void
setFileName(URI newValue)
Set the name of the file that contains a graphic that provides an illustration of the dataset.void
setFileType(String newValue)
Set the format in which the illustration is encoded.-
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
-
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
-
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
-
-
-
-
Constructor Detail
-
BrowseGraphicImpl
public BrowseGraphicImpl()
Constructs an initially empty browse graphic.
-
BrowseGraphicImpl
public BrowseGraphicImpl(BrowseGraphic source)
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
BrowseGraphicImpl
public BrowseGraphicImpl(URI fileName)
Creates a browse graphics initialized to the specified URI.
-
-
Method Detail
-
getApplicationSchemaInformation
public URI getApplicationSchemaInformation()
Name of the file that contains a graphic that provides an illustration of the dataset.
-
setApplicationSchemaInformation
public void setApplicationSchemaInformation(URI newValue)
Set the name of the file that contains a graphic that provides an illustration of the dataset.
-
getFileName
public URI getFileName()
Name of the file that contains a graphic that provides an illustration of the dataset.- Specified by:
getFileName
in interfaceBrowseGraphic
- Returns:
- File that contains a graphic that provides an illustration of the dataset.
-
setFileName
public void setFileName(URI newValue)
Set the name of the file that contains a graphic that provides an illustration of the dataset.
-
getFileDescription
public InternationalString getFileDescription()
Text description of the illustration.- Specified by:
getFileDescription
in interfaceBrowseGraphic
- Returns:
- Text description of the illustration, or
null
.
-
setFileDescription
public void setFileDescription(InternationalString newValue)
Set the text description of the illustration.
-
getFileType
public String getFileType()
Format in which the illustration is encoded. Examples: CGM, EPS, GIF, JPEG, PBM, PS, TIFF, XWD.- Specified by:
getFileType
in interfaceBrowseGraphic
- Returns:
- Format in which the illustration is encoded, or
null
. - See Also:
ImageIO.getReaderFormatNames()
-
setFileType
public void setFileType(String newValue)
Set the format in which the illustration is encoded.
-
-