org.lsc.jndi.parser
Class LdapAttributeType

java.lang.Object
  extended by org.lsc.jndi.parser.LdapAttributeType

public class LdapAttributeType
extends Object

Define an ldap attribute type representation. Successfully tested with OpenLDAP 2.3 and 2.4

Author:
Sebastien Bahloul <seb@lsc-project.org>

Constructor Summary
LdapAttributeType()
          The default constructor.
 
Method Summary
 String getName()
          Default getter for name.
 boolean isSingleValue()
          Default getter for singleValue.
static LdapAttributeType parse(String atStr)
          The main object builder.
 void setName(String lname)
          The slightly modify name setter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapAttributeType

public LdapAttributeType()
The default constructor.

Method Detail

parse

public static LdapAttributeType parse(String atStr)
The main object builder.

Parameters:
atStr - the string extracted from the directory describing the attribute type
Returns:
the new completed object

setName

public final void setName(String lname)
The slightly modify name setter.

Parameters:
lname - the name to set

isSingleValue

public final boolean isSingleValue()
Default getter for singleValue.

Returns:
the singleValue

getName

public final String getName()
Default getter for name.

Returns:
the name


Copyright © 2005-2010 LSC project. All Rights Reserved.