org.openanzo.common.ldap.container
Interface AttributeBinding

All Known Implementing Classes:
BasicAttributeBinding

public interface AttributeBinding

Maps an LDAP attribute to RDF statements with a common subject and predicate. LDAP allows multiple values for an attribute, so for an entries attribute there will be as many RDF statements as there are are values, all with the same subject and predicate.

The object may be either a plain literal (default) or a typed literal if the literalDatatype property is set. The object may also be a URI if the isValueUri property is set. In this case, the attribute value will be passed to LdapRdfMapping.dnToUri to be converted to a URI.

Author:
Joe Betz

Method Summary
 java.lang.String getAttribute()
          Gets the Ldap attribute.
 IRIReference getPredicateUri()
          Gets the URI list.
 ValueTransform getValueTransform()
          Gets the binding used to transform the value of this attribute to an RDF statement object.
 

Method Detail

getPredicateUri

IRIReference getPredicateUri()
Gets the URI list.

Returns:
List of URIs.

getAttribute

java.lang.String getAttribute()
Gets the Ldap attribute.

Returns:
Ldap attribute.

getValueTransform

ValueTransform getValueTransform()
Gets the binding used to transform the value of this attribute to an RDF statement object.

Returns:
A value binding.


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.