@Immutable public class IdAndUriMetacard extends MetacardImpl
ANY_DATE, ANY_GEO, ANY_TEXT, CHECKSUM, CHECKSUM_ALGORITHM, CONTENT_TYPE, CONTENT_TYPE_VERSION, CREATED, DEFAULT_TAG, DERIVED, DERIVED_RESOURCE_DOWNLOAD_URL, DERIVED_RESOURCE_URI, DESCRIPTION, EFFECTIVE, EXPIRATION, GEOGRAPHY, ID, METADATA, MODIFIED, POINT_OF_CONTACT, RELATED, RESOURCE_DOWNLOAD_URL, RESOURCE_SIZE, RESOURCE_URI, SECURITY, SECURITY_MATCH_ALL, SECURITY_MATCH_ONE, SOURCE_ID, TAGS, TARGET_NAMESPACE, THUMBNAIL, TITLE
Constructor and Description |
---|
IdAndUriMetacard(String id,
URI uri) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the ID of this
Metacard . |
URI |
getResourceURI()
|
getAttribute, getContentTypeName, getContentTypeNamespace, getContentTypeVersion, getCreatedDate, getDescription, getEffectiveDate, getExpirationDate, getLocation, getMetacardType, getMetadata, getModifiedDate, getPointOfContact, getResourceSize, getSecurity, getSourceId, getThumbnail, getTitle, hashCode, requestBytes, requestData, requestDate, requestDouble, requestInputStream, requestInteger, requestLong, requestString, setAttribute, setAttribute, setContentTypeName, setContentTypeVersion, setCreatedDate, setDescription, setEffectiveDate, setExpirationDate, setId, setLocation, setMetadata, setModifiedDate, setPointOfContact, setResourceSize, setResourceURI, setSecurity, setSourceId, setTags, setTargetNamespace, setThumbnail, setTitle, setType
public URI getResourceURI()
Metacard
Metacard
s Resource URI and in the form of a URI
Object.
new URI(getAttribute
(Metacard.RESOURCE_URI
));
getResourceURI
in interface Metacard
getResourceURI
in class MetacardImpl
URI
- a URI
representation of the Metacard
's Resource URI
which itself is stored as a String
ddf.catalog.data.AttributeType.AttributeFormat
public String getId()
Metacard
getId
in interface Metacard
getId
in class MetacardImpl
Metacard.ID
This work is licensed under a Creative Commons Attribution 4.0 International License.