|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultMaintenanceInformation
@ThreadSafe public class DefaultMaintenanceInformation
Information about the scope and frequency of updating.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultMaintenanceInformation()
Creates a an initially empty maintenance information. |
|
DefaultMaintenanceInformation(MaintenanceFrequency maintenanceAndUpdateFrequency)
Creates a maintenance information. |
|
DefaultMaintenanceInformation(MaintenanceInformation source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultMaintenanceInformation |
castOrCopy(MaintenanceInformation object)
Returns a Geotk metadata implementation with the same values than 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. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMaintenanceInformation()
public DefaultMaintenanceInformation(MaintenanceInformation source)
source - The metadata to copy, or null if none.public DefaultMaintenanceInformation(MaintenanceFrequency maintenanceAndUpdateFrequency)
maintenanceAndUpdateFrequency - The frequency with which changes and additions
are made to the resource after the initial resource is completed.| Method Detail |
|---|
public static DefaultMaintenanceInformation castOrCopy(MaintenanceInformation object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public MaintenanceFrequency getMaintenanceAndUpdateFrequency()
getMaintenanceAndUpdateFrequency in interface MaintenanceInformationpublic void setMaintenanceAndUpdateFrequency(MaintenanceFrequency newValue)
newValue - The new maintenance frequency.public Date getDateOfNextUpdate()
getDateOfNextUpdate in interface MaintenanceInformationpublic void setDateOfNextUpdate(Date newValue)
newValue - The new date of next update.public PeriodDuration getUserDefinedMaintenanceFrequency()
getUserDefinedMaintenanceFrequency in interface MaintenanceInformationpublic void setUserDefinedMaintenanceFrequency(PeriodDuration newValue)
newValue - The new user defined maintenance frequency.public Collection<ScopeCode> getUpdateScopes()
getUpdateScopes in interface MaintenanceInformationpublic void setUpdateScopes(Collection<? extends ScopeCode> newValues)
newValues - The new update scopes.public Collection<ScopeDescription> getUpdateScopeDescriptions()
getUpdateScopeDescriptions in interface MaintenanceInformationpublic void setUpdateScopeDescriptions(Collection<? extends ScopeDescription> newValues)
newValues - The new update scope descriptions.public Collection<InternationalString> getMaintenanceNotes()
getMaintenanceNotes in interface MaintenanceInformationpublic void setMaintenanceNotes(Collection<? extends InternationalString> newValues)
newValues - The new maintenance notes.public Collection<ResponsibleParty> getContacts()
getContacts in interface MaintenanceInformationpublic void setContacts(Collection<? extends ResponsibleParty> newValues)
newValues - The new contacts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||