org.geotools.metadata.iso.maintenance
Class MaintenanceInformationImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by MaintenanceInformationImpl
All Implemented Interfaces:
Serializable, Cloneable, MaintenanceInformation

public class MaintenanceInformationImpl
extends MetadataEntity
implements MaintenanceInformation

Information about the scope and frequency of updating.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
MaintenanceInformationImpl()
          Creates a an initially empty maintenance information.
MaintenanceInformationImpl(MaintenanceFrequency maintenanceAndUpdateFrequency)
          Creates a maintenance information.
MaintenanceInformationImpl(MaintenanceInformation source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 Collection<ResponsibleParty> getContacts()
          Returns identification of, and means of communicating with, person(s) and organization(s) with responsibility for maintaining the metadata.
 Date getDateOfNextUpdate()
          Returns the scheduled revision date for resource.
 MaintenanceFrequency getMaintenanceAndUpdateFrequency()
          Returns the frequency with which changes and additions are made to the resource after the initial resource is completed.
 Collection<InternationalString> getMaintenanceNotes()
          Returns information regarding specific requirements for maintaining the resource.
 Collection<ScopeDescription> getUpdateScopeDescriptions()
          Returns additional information about the range or extent of the resource.
 Collection<ScopeCode> getUpdateScopes()
          Returns the scope of data to which maintenance is applied.
 PeriodDuration getUserDefinedMaintenanceFrequency()
          Returns the maintenance period other than those defined.
 void setContacts(Collection<? extends ResponsibleParty> newValues)
          Set identification of, and means of communicating with, person(s) and organization(s) with responsibility for maintaining the metadata.
 void setDateOfNextUpdate(Date newValue)
          Set the scheduled revision date for resource.
 void setMaintenanceAndUpdateFrequency(MaintenanceFrequency newValue)
          Set the frequency with which changes and additions are made to the resource after the initial resource is completed.
 void setMaintenanceNotes(Collection<? extends InternationalString> newValues)
          Set information regarding specific requirements for maintaining the resource.
 void setUpdateScopeDescriptions(Collection<? extends ScopeDescription> newValues)
          Set additional information about the range or extent of the resource.
 void setUpdateScopes(Collection<? extends ScopeCode> newValues)
          Set the scope of data to which maintenance is applied.
 void setUserDefinedMaintenanceFrequency(PeriodDuration newValue)
          Set the maintenance period other than those defined.
 
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
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaintenanceInformationImpl

public MaintenanceInformationImpl()
Creates a an initially empty maintenance information.


MaintenanceInformationImpl

public MaintenanceInformationImpl(MaintenanceInformation source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

MaintenanceInformationImpl

public MaintenanceInformationImpl(MaintenanceFrequency maintenanceAndUpdateFrequency)
Creates a maintenance information.

Method Detail

getMaintenanceAndUpdateFrequency

public MaintenanceFrequency getMaintenanceAndUpdateFrequency()
Returns the frequency with which changes and additions are made to the resource after the initial resource is completed.

Specified by:
getMaintenanceAndUpdateFrequency in interface MaintenanceInformation
Returns:
Frequency with which changes and additions are made to the resource.

setMaintenanceAndUpdateFrequency

public void setMaintenanceAndUpdateFrequency(MaintenanceFrequency newValue)
Set the frequency with which changes and additions are made to the resource after the initial resource is completed.


getDateOfNextUpdate

public Date getDateOfNextUpdate()
Returns the scheduled revision date for resource.

Specified by:
getDateOfNextUpdate in interface MaintenanceInformation
Returns:
Scheduled revision date, or null.

setDateOfNextUpdate

public void setDateOfNextUpdate(Date newValue)
Set the scheduled revision date for resource.


getUserDefinedMaintenanceFrequency

public PeriodDuration getUserDefinedMaintenanceFrequency()
Returns the maintenance period other than those defined.

Specified by:
getUserDefinedMaintenanceFrequency in interface MaintenanceInformation
Returns:
The period, in milliseconds.

setUserDefinedMaintenanceFrequency

public void setUserDefinedMaintenanceFrequency(PeriodDuration newValue)
Set the maintenance period other than those defined.


getUpdateScopes

public Collection<ScopeCode> getUpdateScopes()
Returns the scope of data to which maintenance is applied.

Specified by:
getUpdateScopes in interface MaintenanceInformation
Returns:
Scope of data to which maintenance is applied.
Since:
2.4

setUpdateScopes

public void setUpdateScopes(Collection<? extends ScopeCode> newValues)
Set the scope of data to which maintenance is applied.

Since:
2.4

getUpdateScopeDescriptions

public Collection<ScopeDescription> getUpdateScopeDescriptions()
Returns additional information about the range or extent of the resource.

Specified by:
getUpdateScopeDescriptions in interface MaintenanceInformation
Returns:
Additional information about the range or extent of the resource.
Since:
2.4

setUpdateScopeDescriptions

public void setUpdateScopeDescriptions(Collection<? extends ScopeDescription> newValues)
Set additional information about the range or extent of the resource.

Since:
2.4

getMaintenanceNotes

public Collection<InternationalString> getMaintenanceNotes()
Returns information regarding specific requirements for maintaining the resource.

Specified by:
getMaintenanceNotes in interface MaintenanceInformation
Returns:
Information regarding specific requirements for maintaining the resource.
Since:
2.4

setMaintenanceNotes

public void setMaintenanceNotes(Collection<? extends InternationalString> newValues)
Set information regarding specific requirements for maintaining the resource.

Since:
2.4

getContacts

public Collection<ResponsibleParty> getContacts()
Returns identification of, and means of communicating with, person(s) and organization(s) with responsibility for maintaining the metadata.

Specified by:
getContacts in interface MaintenanceInformation
Returns:
Means of communicating with person(s) and organization(s) with responsibility for maintaining the metadata.
Since:
2.4

setContacts

public void setContacts(Collection<? extends ResponsibleParty> newValues)
Set identification of, and means of communicating with, person(s) and organization(s) with responsibility for maintaining the metadata.

Since:
2.4


Copyright © 1996-2014 Geotools. All Rights Reserved.