Package ddf.catalog.data
Interface MetacardType
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
QualifiedMetacardType
This class describes the set of attributes a
Metacard can contain.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault name of the defaultMetacardTypestatic final StringThe name for the value returned bygetName()to be used when serializing the metacard type name. -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeDescriptor(String attributeName) Get theAttributeDescriptorfor a particularAttributename.getName()Gets the name of thisMetacardType.
-
Field Details
-
DEFAULT_METACARD_TYPE_NAME
Default name of the defaultMetacardType- See Also:
-
METACARD_TYPE
The name for the value returned bygetName()to be used when serializing the metacard type name.- See Also:
-
-
Method Details
-
getName
String getName()Gets the name of thisMetacardType. 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.- Returns:
- the name of this
MetacardType, default isDEFAULT_METACARD_TYPE_NAME;
-
getAttributeDescriptors
Set<AttributeDescriptor> getAttributeDescriptors()- Returns:
- See Also:
-
getAttributeDescriptor
Get theAttributeDescriptorfor a particularAttributename.- Parameters:
attributeName-- Returns:
- the
AttributeDescriptor,nullif not found.
-