Skip to content

Commit

Permalink
Fix documentation error: Metadata.constraint is about metadata constr…
Browse files Browse the repository at this point in the history
…aints, not data constraints.
  • Loading branch information
desruisseaux committed May 12, 2017
1 parent 943c7bd commit 1e37b81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions geoapi/src/main/java/org/opengis/metadata/Metadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,11 @@ public interface Metadata {
Collection<? extends PortrayalCatalogueReference> getPortrayalCatalogueInfo();

/**
* Provides restrictions on the access and use of data.
* Provides restrictions on the access and use of metadata.
*
* @return Restrictions on the access and use of data.
* @return Restrictions on the access and use of metadata.
*
* @see Identification#getResourceConstraints()
*/
@UML(identifier="metadataConstraints", obligation=OPTIONAL, specification=ISO_19115)
Collection<? extends Constraints> getMetadataConstraints();
Expand All @@ -301,6 +303,8 @@ public interface Metadata {
* Provides information about the frequency of metadata updates, and the scope of those updates.
*
* @return The frequency of metadata updates and their scope.
*
* @see Identification#getResourceMaintenances()
*/
@UML(identifier="metadataMaintenance", obligation=OPTIONAL, specification=ISO_19115)
MaintenanceInformation getMetadataMaintenance();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ MD_Metadata.hierarchyLevelName=Name of the hierarchy levels for which the metada
MD_Metadata.identificationInfo=Basic information about the resource(s) to which the metadata applies.
MD_Metadata.language=Language used for documenting metadata.
MD_Metadata.locale=Provides information about an alternatively used localized character string for a linguistic extension.
MD_Metadata.metadataConstraints=Provides restrictions on the access and use of data.
MD_Metadata.metadataConstraints=Provides restrictions on the access and use of metadata.
MD_Metadata.metadataExtensionInfo=Information describing metadata extensions.
MD_Metadata.metadataMaintenance=Provides information about the frequency of metadata updates, and the scope of those updates.
MD_Metadata.metadataStandardName=Name of the metadata standard (including profile name) used.
Expand Down

0 comments on commit 1e37b81

Please sign in to comment.