public class DynamicMultiMetacardType extends Object implements MetacardType
DEFAULT_METACARD_TYPE_NAME
Constructor and Description |
---|
DynamicMultiMetacardType(String name,
List<MetacardType> dynamicMetacardTypes) |
DynamicMultiMetacardType(String name,
List<MetacardType> dynamicMetacardTypes,
MetacardType... extraTypes) |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
getAttributeDescriptor(String attributeName)
Get the
AttributeDescriptor for a particular Attribute name. |
Set<AttributeDescriptor> |
getAttributeDescriptors()
|
String |
getName()
Gets the name of this
MetacardType . |
public DynamicMultiMetacardType(String name, List<MetacardType> dynamicMetacardTypes)
public DynamicMultiMetacardType(String name, List<MetacardType> dynamicMetacardTypes, MetacardType... extraTypes)
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
;public Set<AttributeDescriptor> getAttributeDescriptors()
MetacardType
getAttributeDescriptors
in interface MetacardType
Collections.unmodifiableSet(Set)
public AttributeDescriptor getAttributeDescriptor(String attributeName)
MetacardType
AttributeDescriptor
for a particular Attribute
name.getAttributeDescriptor
in interface MetacardType
AttributeDescriptor
, null
if not found.This work is licensed under a Creative Commons Attribution 4.0 International License.