org.apache.directory.shared.ldap.entry.client
Interface ClientAttribute

All Superinterfaces:
java.lang.Cloneable, EntryAttribute, java.io.Externalizable, java.lang.Iterable<Value<?>>, java.io.Serializable
All Known Implementing Classes:
DefaultClientAttribute

public interface ClientAttribute
extends EntryAttribute

The server specific interface extending the EntryAttribute interface. It adds three more methods which are Server side.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Method Summary
 boolean isValid(SyntaxChecker checker)
          Checks to see if this attribute is valid along with the values it contains.
 
Methods inherited from interface org.apache.directory.shared.ldap.entry.EntryAttribute
add, add, add, clear, clone, contains, contains, contains, get, get, getAll, getBytes, getId, getString, getUpId, isHR, put, put, put, put, remove, remove, remove, setHR, setId, setUpId, size
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

isValid

boolean isValid(SyntaxChecker checker)
                throws javax.naming.NamingException
Checks to see if this attribute is valid along with the values it contains.

Parameters:
checker - The syntax checker
Returns:
true if the attribute and it's values are valid, false otherwise
Throws:
javax.naming.NamingException - if there is a failure to check syntaxes of values


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.