public class ContactAttributes extends Object implements Contact, MetacardType
CONTRIBUTOR_ADDRESS, CONTRIBUTOR_EMAIL, CONTRIBUTOR_NAME, CONTRIBUTOR_PHONE, CREATOR_ADDRESS, CREATOR_EMAIL, CREATOR_NAME, CREATOR_PHONE, POINT_OF_CONTACT_ADDRESS, POINT_OF_CONTACT_EMAIL, POINT_OF_CONTACT_NAME, POINT_OF_CONTACT_PHONE, PUBLISHER_ADDRESS, PUBLISHER_EMAIL, PUBLISHER_NAME, PUBLISHER_PHONEDEFAULT_METACARD_TYPE_NAME| Constructor and Description |
|---|
ContactAttributes() |
| 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()
MetacardTypegetAttributeDescriptors in interface MetacardTypeCollections.unmodifiableSet(Set)public AttributeDescriptor getAttributeDescriptor(String name)
MetacardTypeAttributeDescriptor for a particular Attribute name.getAttributeDescriptor in interface MetacardTypeAttributeDescriptor, null if not found.public String getName()
MetacardTypeMetacardType. 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 MetacardTypeMetacardType, default is MetacardType.DEFAULT_METACARD_TYPE_NAME;This work is licensed under a Creative Commons Attribution 4.0 International License.