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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bedework.carddav.server.dirHandlers.ldap.LdapMapping
LdapMapping.AttrPropertyMapping, LdapMapping.AttrValue
-
-
Field Summary
-
Fields inherited from class org.bedework.carddav.server.dirHandlers.ldap.LdapMapping
attrToVcardProperty, defaultAttrIdList, toLdapAttrNoGroup
-
-
Constructor Summary
Constructors Constructor Description AttrPropertyMapping(String attrId, String propertyName, boolean required, net.fortuna.ical4j.vcard.property.Kind... kinds)Possibly required attr<->propertyAttrPropertyMapping(String attrId, String group, String propertyName, String parameterName, String parameterValue, boolean required, net.fortuna.ical4j.vcard.property.Kind... kinds)Possibly required attr<->property+parameterAttrPropertyMapping(String attrId, String propertyName, String parameterName, String parameterValue, net.fortuna.ical4j.vcard.property.Kind... kinds)Not-required attr<->property+parameterAttrPropertyMapping(String attrId, String propertyName, net.fortuna.ical4j.vcard.property.Kind... kinds)Simple not-required attr<->property
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetGroup()List<net.fortuna.ical4j.vcard.property.Kind>getKinds()StringgetParameterName()StringgetParameterValue()StringgetPropertyName()booleangetRequired()inthashCode()-
Methods inherited from class org.bedework.carddav.server.dirHandlers.ldap.LdapMapping
getAttrId, getKindAttrId, getKindMapping, getOcKindMapping, simplePropertyToLdapAttr
-
-
-
-
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
-
-