public class DefaultMaintenanceInformation extends ISOMetadata implements MaintenanceInformation
Defined in the sis-metadata module
identifiers, LOGGER
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 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)
Sets identification of, and means of communicating with,
person(s) and organization(s) with responsibility for maintaining the metadata.
|
void |
setDateOfNextUpdate(Date newValue)
Sets the scheduled revision date for resource.
|
void |
setMaintenanceAndUpdateFrequency(MaintenanceFrequency newValue)
Sets the frequency with which changes and additions are made to the resource
after the initial resource is completed.
|
void |
setMaintenanceNotes(Collection<? extends InternationalString> newValues)
Sets information regarding specific requirements for maintaining the resource.
|
void |
setUpdateScopeDescriptions(Collection<? extends ScopeDescription> newValues)
Sets additional information about the range or extent of the resource.
|
void |
setUpdateScopes(Collection<? extends ScopeCode> newValues)
Sets the scope of data to which maintenance is applied.
|
void |
setUserDefinedMaintenanceFrequency(PeriodDuration newValue)
Sets the maintenance period other than those defined.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, 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.public Date getDateOfNextUpdate()
getDateOfNextUpdate
in interface MaintenanceInformation
null
.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.public Collection<ScopeCode> getUpdateScopes()
getUpdateScopes
in interface MaintenanceInformation
public void setUpdateScopes(Collection<? extends ScopeCode> newValues)
newValues
- The new update scopes.public Collection<ScopeDescription> getUpdateScopeDescriptions()
getUpdateScopeDescriptions
in interface MaintenanceInformation
public void setUpdateScopeDescriptions(Collection<? extends ScopeDescription> newValues)
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()
getContacts
in interface MaintenanceInformation
public void setContacts(Collection<? extends ResponsibleParty> newValues)
newValues
- The new contactsCopyright © 2010–2013 The Apache Software Foundation. All rights reserved.