Class MaintenanceInformationImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- 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
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 interfaceMaintenanceInformation
- 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 interfaceMaintenanceInformation
- 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 interfaceMaintenanceInformation
- Returns:
- The period, in milliseconds. @TODO: needs an implementation of org.opengis.temporal modules to anntote this parameter.
-
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 interfaceMaintenanceInformation
- 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 interfaceMaintenanceInformation
- 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 interfaceMaintenanceInformation
- 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 interfaceMaintenanceInformation
- 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
-
-