📄 imetadatacontext.java
字号:
package com.esri.solutions.jitk.common.metadata;
import java.util.Map;
/**
* Represents an interface by which objects can access a registry of metadata.
*/
public interface IMetadataContext {
/**
* Retrieves the {@link IResourceMetadataRegistry} for this Context. Through
* this object, a client can access a metadata registry
* @return {@link IResourceMetadataRegistry}, which will never be {@code null}.
*/
public IResourceMetadataRegistry getResourceMetadataRegistry();
/**
* Retrieves a {@link Map} of Catalog IDs to the {@link IMetadataCatalog IMetadataCatalogs} that
* each Catalog ID represent
* @return {@code Map<String, IMetadataCatalog>}, which will never be {@code null}, though it may be empty if no catalogs are configured.
*/
public Map<String, IMetadataCatalog> getMetadataCatalogs();
/**
* Retrieves an {@link IMetadataCatalog} corresponding to the given catalog ID.
* @param catalogID The ID of the catalog to retrieve. Cannot be {@code null}.
* @return The {@link IMetadataCatalog}, which could be null if {@code catalogID} is invalid.
*/
public IMetadataCatalog getCatalogById(String catalogID);
/**
* Retrieves a {@link Map} of Profile Names to the {@link IMetadataProfile IMetadataProfiles} that
* each name represents
* @return {@code Map<String, IMetadataProfile>}, which will never be {@code null}, though it may be empty if no profiles are configured.
*/
public Map<String, IMetadataProfile> getMetadataProfiles();
/**
* Retrieves an {@link IMetadataProfile} corresponding to the given name.
* @param name The name of the profile to retrieve. Cannot be {@code null}.
* @return The {@link IMetadataProfile}, which could be null if {@code name} is invalid.
*/
public IMetadataProfile getProfileById(String name);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -