org.geotools.metadata.iso.maintenance
Class MaintenanceInformationImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.maintenance.MaintenanceInformationImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.maintenance.MaintenanceInformation

public class MaintenanceInformationImpl
extends MetadataEntity
implements org.opengis.metadata.maintenance.MaintenanceInformation

Information about the scope and frequency of updating.

Since:
2.1
Version:
$Id: MaintenanceInformationImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
MaintenanceInformationImpl()
          Creates a an initially empty maintenance information.
MaintenanceInformationImpl(org.opengis.metadata.maintenance.MaintenanceFrequency maintenanceAndUpdateFrequency)
          Creates a maintenance information.
MaintenanceInformationImpl(org.opengis.metadata.maintenance.MaintenanceInformation source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 java.util.Collection<org.opengis.metadata.citation.ResponsibleParty> getContacts()
          Returns identification of, and means of communicating with, person(s) and organization(s) with responsibility for maintaining the metadata.
 java.util.Date getDateOfNextUpdate()
          Returns the scheduled revision date for resource.
 org.opengis.metadata.maintenance.MaintenanceFrequency getMaintenanceAndUpdateFrequency()
          Returns the frequency with which changes and additions are made to the resource after the initial resource is completed.
 java.util.Collection<org.opengis.util.InternationalString> getMaintenanceNotes()
          Returns information regarding specific requirements for maintaining the resource.
 java.util.Collection<org.opengis.metadata.maintenance.ScopeDescription> getUpdateScopeDescriptions()
          Returns additional information about the range or extent of the resource.
 java.util.Collection<org.opengis.metadata.maintenance.ScopeCode> getUpdateScopes()
          Returns the scope of data to which maintenance is applied.
 org.opengis.temporal.PeriodDuration getUserDefinedMaintenanceFrequency()
          Returns the maintenance period other than those defined.
 void setContacts(java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> newValues)
          Set identification of, and means of communicating with, person(s) and organization(s) with responsibility for maintaining the metadata.
 void setDateOfNextUpdate(java.util.Date newValue)
          Set the scheduled revision date for resource.
 void setMaintenanceAndUpdateFrequency(org.opengis.metadata.maintenance.MaintenanceFrequency newValue)
          Set the frequency with which changes and additions are made to the resource after the initial resource is completed.
 void setMaintenanceNotes(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
          Set information regarding specific requirements for maintaining the resource.
 void setUpdateScopeDescriptions(java.util.Collection<? extends org.opengis.metadata.maintenance.ScopeDescription> newValues)
          Set additional information about the range or extent of the resource.
 void setUpdateScopes(java.util.Collection<? extends org.opengis.metadata.maintenance.ScopeCode> newValues)
          Set the scope of data to which maintenance is applied.
 void setUserDefinedMaintenanceFrequency(org.opengis.temporal.PeriodDuration newValue)
          Set the maintenance period other than those defined.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaintenanceInformationImpl

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


MaintenanceInformationImpl

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

Since:
2.4

MaintenanceInformationImpl

public MaintenanceInformationImpl(org.opengis.metadata.maintenance.MaintenanceFrequency maintenanceAndUpdateFrequency)
Creates a maintenance information.

Method Detail

getMaintenanceAndUpdateFrequency

public org.opengis.metadata.maintenance.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 org.opengis.metadata.maintenance.MaintenanceInformation

setMaintenanceAndUpdateFrequency

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


getDateOfNextUpdate

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

Specified by:
getDateOfNextUpdate in interface org.opengis.metadata.maintenance.MaintenanceInformation

setDateOfNextUpdate

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


getUserDefinedMaintenanceFrequency

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

Specified by:
getUserDefinedMaintenanceFrequency in interface org.opengis.metadata.maintenance.MaintenanceInformation
Returns:
The period, in milliseconds.

setUserDefinedMaintenanceFrequency

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


getUpdateScopes

public java.util.Collection<org.opengis.metadata.maintenance.ScopeCode> getUpdateScopes()
Returns the scope of data to which maintenance is applied.

Specified by:
getUpdateScopes in interface org.opengis.metadata.maintenance.MaintenanceInformation
Since:
2.4

setUpdateScopes

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

Since:
2.4

getUpdateScopeDescriptions

public java.util.Collection<org.opengis.metadata.maintenance.ScopeDescription> getUpdateScopeDescriptions()
Returns additional information about the range or extent of the resource.

Specified by:
getUpdateScopeDescriptions in interface org.opengis.metadata.maintenance.MaintenanceInformation
Since:
2.4

setUpdateScopeDescriptions

public void setUpdateScopeDescriptions(java.util.Collection<? extends org.opengis.metadata.maintenance.ScopeDescription> newValues)
Set additional information about the range or extent of the resource.

Since:
2.4

getMaintenanceNotes

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

Specified by:
getMaintenanceNotes in interface org.opengis.metadata.maintenance.MaintenanceInformation
Since:
2.4

setMaintenanceNotes

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

Since:
2.4

getContacts

public java.util.Collection<org.opengis.metadata.citation.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 org.opengis.metadata.maintenance.MaintenanceInformation
Since:
2.4

setContacts

public void setContacts(java.util.Collection<? extends org.opengis.metadata.citation.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-2010 Geotools. All Rights Reserved.