org.geotools.metadata.iso.maintenance
Class MaintenanceInformationImpl

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

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 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
MaintenanceInformationImpl()
          Creates a an initially empty maintenance information.
MaintenanceInformationImpl(org.opengis.metadata.maintenance.MaintenanceFrequency maintenanceAndUpdateFrequency)
          Creates a maintenance information.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this maintenance information with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 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.
 org.opengis.util.InternationalString getMaintenanceNote()
          Information regarding specific requirements for maintaining the resource.
 org.opengis.metadata.maintenance.ScopeCode getUpdateScope()
          Scope of data to which maintenance is applied.
 org.opengis.metadata.maintenance.ScopeDescription getUpdateScopeDescription()
          Additional information about the range or extent of the resource.
 long getUserDefinedMaintenanceFrequency()
          Maintenance period other than those defined.
 int hashCode()
          Returns a hash code value for this maintenance information.
 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 setMaintenanceNote(org.opengis.util.InternationalString newValue)
          Information regarding specific requirements for maintaining the resource.
 void setUpdateScope(org.opengis.metadata.maintenance.ScopeCode newValue)
          Scope of data to which maintenance is applied.
 void setUpdateScopeDescription(org.opengis.metadata.maintenance.ScopeDescription newValue)
          Additional information about the range or extent of the resource.
 void setUserDefinedMaintenanceFrequency(long newValue)
          Maintenance period other than those defined.
 java.lang.String toString()
          Returns a string representation of this maintenance information.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, 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.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 long getUserDefinedMaintenanceFrequency()
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(long newValue)
Maintenance period other than those defined.


getUpdateScope

public org.opengis.metadata.maintenance.ScopeCode getUpdateScope()
Scope of data to which maintenance is applied.

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

setUpdateScope

public void setUpdateScope(org.opengis.metadata.maintenance.ScopeCode newValue)
Scope of data to which maintenance is applied.


getUpdateScopeDescription

public org.opengis.metadata.maintenance.ScopeDescription getUpdateScopeDescription()
Additional information about the range or extent of the resource.

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

setUpdateScopeDescription

public void setUpdateScopeDescription(org.opengis.metadata.maintenance.ScopeDescription newValue)
Additional information about the range or extent of the resource.


getMaintenanceNote

public org.opengis.util.InternationalString getMaintenanceNote()
Information regarding specific requirements for maintaining the resource.

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

setMaintenanceNote

public void setMaintenanceNote(org.opengis.util.InternationalString newValue)
Information regarding specific requirements for maintaining the resource.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this maintenance information with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this maintenance information.


toString

public java.lang.String toString()
Returns a string representation of this maintenance information.



Copyright © GeoTools. All Rights Reserved.