Class LdapMapping.AttrPropertyMapping

java.lang.Object
org.bedework.carddav.server.dirHandlers.ldap.LdapMapping
org.bedework.carddav.server.dirHandlers.ldap.LdapMapping.AttrPropertyMapping
Enclosing class:
LdapMapping

public static class LdapMapping.AttrPropertyMapping extends LdapMapping
These represent vcard properties.
  • Constructor Details

    • AttrPropertyMapping

      public AttrPropertyMapping(String attrId, String propertyName, net.fortuna.ical4j.vcard.property.Kind... kinds)
      Simple not-required attr<->property
      Parameters:
      attrId - name of attribute
      propertyName - name of vcard property
      kinds - ical4j kinds
    • AttrPropertyMapping

      public AttrPropertyMapping(String attrId, String propertyName, String parameterName, String parameterValue, net.fortuna.ical4j.vcard.property.Kind... kinds)
      Not-required attr<->property+parameter
      Parameters:
      attrId - name of attribute
      propertyName - name of vcard property
      parameterName - name of vcard param
      parameterValue - value
      kinds - ical4j kinds
    • AttrPropertyMapping

      public AttrPropertyMapping(String attrId, String propertyName, boolean required, net.fortuna.ical4j.vcard.property.Kind... kinds)
      Possibly required attr<->property
      Parameters:
      attrId - name of attribute
      propertyName - name of vcard property
      required - boolean
      kinds - ical4j kinds
    • AttrPropertyMapping

      public AttrPropertyMapping(String attrId, String group, String propertyName, String parameterName, String parameterValue, boolean required, net.fortuna.ical4j.vcard.property.Kind... kinds)
      Possibly required attr<->property+parameter
      Parameters:
      attrId - name of attribute
      group - name of group
      propertyName - name of vcard property
      parameterName - name of vcard param
      parameterValue - value
      required - boolean
      kinds - ical4j kinds
  • Method Details

    • getGroup

      public String getGroup()
      Returns:
      group value
    • getPropertyName

      public String getPropertyName()
      Returns:
      name of property
    • getParameterName

      public String getParameterName()
      Returns:
      name of parameter
    • getParameterValue

      public String getParameterValue()
      Returns:
      name of parameter value
    • getRequired

      public boolean getRequired()
      Returns:
      true if attribute/property is required
    • getKinds

      public List<net.fortuna.ical4j.vcard.property.Kind> getKinds()
      Returns:
      kinds for this property
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object