Class LdapMapping.AttrPropertyMapping

  • Enclosing class:
    LdapMapping

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

      • AttrPropertyMapping

        public AttrPropertyMapping​(String attrId,
                                   String propertyName,
                                   net.fortuna.ical4j.vcard.property.Kind... kinds)
        Simple not-required attr<->property
        Parameters:
        attrId -
        propertyName -
        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 -
        propertyName -
        parameterName -
        parameterValue -
        kinds -
      • AttrPropertyMapping

        public AttrPropertyMapping​(String attrId,
                                   String propertyName,
                                   boolean required,
                                   net.fortuna.ical4j.vcard.property.Kind... kinds)
        Possibly required attr<->property
        Parameters:
        attrId -
        propertyName -
        required -
        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 -
        group -
        propertyName -
        parameterName -
        parameterValue -
        required -
        kinds -
    • Method Detail

      • 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