public class DefaultAlgorithm extends ISOMetadata implements Algorithm
Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultAlgorithm()
Constructs an initially empty algorithm.
|
DefaultAlgorithm(Algorithm object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultAlgorithm |
castOrCopy(Algorithm object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Citation |
getCitation()
Returns the information identifying the algorithm and version or date.
|
InternationalString |
getDescription()
Returns the information describing the algorithm used to generate the data.
|
void |
setCitation(Citation newValue)
Sets the information identifying the algorithm and version or date.
|
void |
setDescription(InternationalString newValue)
Sets the information describing the algorithm used to generate the data.
|
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 DefaultAlgorithm()
public DefaultAlgorithm(Algorithm object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Algorithm)
public static DefaultAlgorithm castOrCopy(Algorithm object)
null
, then this method returns null
.DefaultAlgorithm
, then it is returned unchanged.DefaultAlgorithm
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 Citation getCitation()
getCitation
in interface Algorithm
null
.public void setCitation(Citation newValue)
newValue
- The new citation value.public InternationalString getDescription()
getDescription
in interface Algorithm
null
.public void setDescription(InternationalString newValue)
newValue
- The new description value.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.