public class DefaultMaintenanceInformation extends ISOMetadata implements MaintenanceInformation
MD_MaintenanceInformation
└─maintenanceAndUpdateFrequency……
Frequency with which changes and additions are made to the resource.Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultMaintenanceInformation()
Creates a an initially empty maintenance information.
|
DefaultMaintenanceInformation(MaintenanceFrequency maintenanceAndUpdateFrequency)
Creates a maintenance information.
|
DefaultMaintenanceInformation(MaintenanceInformation object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultMaintenanceInformation |
castOrCopy(MaintenanceInformation object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<ResponsibleParty> |
getContacts()
Returns identification of, and means of communicating with,
person(s) and organization(s) with responsibility for maintaining the resource.
|
Date |
getDateOfNextUpdate()
Deprecated.
As of ISO 19115:2014, replaced by
getMaintenanceDates() in order to enable inclusion
of a DateType to describe the type of the date. The associated date type is
DateType.valueOf("NEXT_UPDATE") . |
MaintenanceFrequency |
getMaintenanceAndUpdateFrequency()
Returns the frequency with which changes and additions are made to the resource
after the initial resource is completed.
|
Collection<CitationDate> |
getMaintenanceDates()
Return the date information associated with maintenance of resource.
|
Collection<InternationalString> |
getMaintenanceNotes()
Returns information regarding specific requirements for maintaining the resource.
|
Collection<Scope> |
getMaintenanceScopes()
Return the types of resource and / or extents to which the maintenance information applies.
|
Collection<ScopeDescription> |
getUpdateScopeDescriptions()
Deprecated.
As of ISO 19115:2014,
getUpdateScopes() and getUpdateScopeDescriptions()
were combined into getMaintenanceScopes() in order to allow specifying a scope
that includes a spatial and temporal extent. |
Collection<ScopeCode> |
getUpdateScopes()
Deprecated.
As of ISO 19115:2014,
getUpdateScopes() and getUpdateScopeDescriptions()
were combined into getMaintenanceScopes() in order to allow specifying a scope
that includes a spatial and temporal extent. |
PeriodDuration |
getUserDefinedMaintenanceFrequency()
Returns the maintenance period other than those defined.
|
void |
setContacts(Collection<? extends ResponsibleParty> newValues)
Sets identification of, and means of communicating with,
person(s) and organization(s) with responsibility for maintaining the resource.
|
void |
setDateOfNextUpdate(Date newValue)
Deprecated.
|
void |
setMaintenanceAndUpdateFrequency(MaintenanceFrequency newValue)
Sets the frequency with which changes and additions are made to the resource
after the initial resource is completed.
|
void |
setMaintenanceDates(Collection<? extends CitationDate> newValues)
Sets the date information associated with maintenance of resource.
|
void |
setMaintenanceNotes(Collection<? extends InternationalString> newValues)
Sets information regarding specific requirements for maintaining the resource.
|
void |
setMaintenanceScopes(Collection<? extends Scope> newValues)
Sets the types of resource and / or extents to which the maintenance information applies.
|
void |
setUpdateScopeDescriptions(Collection<? extends ScopeDescription> newValues)
Deprecated.
As of ISO 19115:2014, replaced by
setMaintenanceScopes(Collection) . |
void |
setUpdateScopes(Collection<? extends ScopeCode> newValues)
Deprecated.
As of ISO 19115:2014, replaced by
setMaintenanceScopes(Collection) . |
void |
setUserDefinedMaintenanceFrequency(PeriodDuration newValue)
Sets the maintenance period other than those defined.
|
freeze, getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultMaintenanceInformation()
public DefaultMaintenanceInformation(MaintenanceFrequency maintenanceAndUpdateFrequency)
maintenanceAndUpdateFrequency
- the frequency with which changes and additions are
made to the resource after the initial resource is completed, or null
if none.public DefaultMaintenanceInformation(MaintenanceInformation object)
object
- the metadata to copy values from, or null
if none.castOrCopy(MaintenanceInformation)
public static DefaultMaintenanceInformation castOrCopy(MaintenanceInformation object)
null
, then this method returns null
.DefaultMaintenanceInformation
, then it is returned unchanged.DefaultMaintenanceInformation
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 MaintenanceFrequency getMaintenanceAndUpdateFrequency()
getMaintenanceAndUpdateFrequency
in interface MaintenanceInformation
null
.public void setMaintenanceAndUpdateFrequency(MaintenanceFrequency newValue)
newValue
- the new maintenance frequency.@UML(identifier="maintenanceDate", obligation=OPTIONAL, specification=ISO_19115) public Collection<CitationDate> getMaintenanceDates()
public void setMaintenanceDates(Collection<? extends CitationDate> newValues)
newValues
- the new date information associated with maintenance of resource.@Deprecated public Date getDateOfNextUpdate()
getMaintenanceDates()
in order to enable inclusion
of a DateType
to describe the type of the date. The associated date type is
DateType.valueOf("NEXT_UPDATE")
.getDateOfNextUpdate
in interface MaintenanceInformation
null
.@Deprecated public void setDateOfNextUpdate(Date newValue)
newValue
- the new date of next update.public PeriodDuration getUserDefinedMaintenanceFrequency()
getUserDefinedMaintenanceFrequency
in interface MaintenanceInformation
null
.public void setUserDefinedMaintenanceFrequency(PeriodDuration newValue)
newValue
- the new user defined maintenance frequency.@UML(identifier="maintenanceScope", obligation=OPTIONAL, specification=ISO_19115) public Collection<Scope> getMaintenanceScopes()
public void setMaintenanceScopes(Collection<? extends Scope> newValues)
newValues
- the types of resource and / or extents to which the maintenance information applies.@Deprecated public final Collection<ScopeCode> getUpdateScopes()
getUpdateScopes()
and getUpdateScopeDescriptions()
were combined into getMaintenanceScopes()
in order to allow specifying a scope
that includes a spatial and temporal extent.getUpdateScopes
in interface MaintenanceInformation
@Deprecated public void setUpdateScopes(Collection<? extends ScopeCode> newValues)
setMaintenanceScopes(Collection)
.newValues
- the new update scopes.@Deprecated public final Collection<ScopeDescription> getUpdateScopeDescriptions()
getUpdateScopes()
and getUpdateScopeDescriptions()
were combined into getMaintenanceScopes()
in order to allow specifying a scope
that includes a spatial and temporal extent.getUpdateScopeDescriptions
in interface MaintenanceInformation
@Deprecated public void setUpdateScopeDescriptions(Collection<? extends ScopeDescription> newValues)
setMaintenanceScopes(Collection)
.newValues
- the new update scope descriptions.public Collection<InternationalString> getMaintenanceNotes()
getMaintenanceNotes
in interface MaintenanceInformation
public void setMaintenanceNotes(Collection<? extends InternationalString> newValues)
newValues
- the new maintenance notes.public Collection<ResponsibleParty> getContacts()
ResponsibleParty
is replaced by the Responsibility
parent interface.
This change may be applied in GeoAPI 4.0.
getContacts
in interface MaintenanceInformation
public void setContacts(Collection<? extends ResponsibleParty> newValues)
ResponsibleParty
is replaced by the Responsibility
parent interface.
This change may be applied in GeoAPI 4.0.
newValues
- the new identification of person(s) and organization(s)
with responsibility for maintaining the resource.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.