public class CoreAttributes extends Object implements Core, MetacardType
CHECKSUM, CHECKSUM_ALGORITHM, CREATED, DATATYPE, DERIVED_RESOURCE_DOWNLOAD_URL, DERIVED_RESOURCE_URI, DESCRIPTION, EXPIRATION, ID, LANGUAGE, LOCATION, METACARD_CREATED, METACARD_MODIFIED, METACARD_OWNER, METACARD_TAGS, METADATA, MODIFIED, RESOURCE_DOWNLOAD_URL, RESOURCE_SIZE, RESOURCE_URI, SOURCE_ID, THUMBNAIL, TITLE
DEFAULT_METACARD_TYPE_NAME
Constructor and Description |
---|
CoreAttributes() |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
getAttributeDescriptor(String name)
Get the
AttributeDescriptor for a particular Attribute name. |
Set<AttributeDescriptor> |
getAttributeDescriptors()
|
String |
getName()
Gets the name of this
MetacardType . |
public Set<AttributeDescriptor> getAttributeDescriptors()
MetacardType
getAttributeDescriptors
in interface MetacardType
Collections.unmodifiableSet(Set)
public AttributeDescriptor getAttributeDescriptor(String name)
MetacardType
AttributeDescriptor
for a particular Attribute
name.getAttributeDescriptor
in interface MetacardType
AttributeDescriptor
, null
if not found.public String getName()
MetacardType
MetacardType
. A MetacardType name must be unique. Two separate
MetacardType objects that do not have the same set of AttributeDescriptors should not have the
same name.getName
in interface MetacardType
MetacardType
, default is MetacardType.DEFAULT_METACARD_TYPE_NAME
;This work is licensed under a Creative Commons Attribution 4.0 International License.