org.lsc
Class LscObject

java.lang.Object
  extended by org.lsc.LscObject
Direct Known Subclasses:
fTop, top

Deprecated. This class was used in LSC 1.1 projects, and is no longer necessary, but kept for reverse compatibility. It will be removed in LSC 1.3.

public abstract class LscObject
extends Object

All objects in LSC inherit from this class, both pure-LDAP style objects (including top), and flat, database-style objects.

Author:
Rémy-Christophe Schermesser <rcs@lsc-project.org>

Constructor Summary
LscObject()
          Deprecated.  
 
Method Summary
 String getDistinguishName()
          Deprecated. Returns the full distinguished name of this object.
 List<String> getObjectClass()
          Deprecated. Return the list of values for the objectClass of this object
 void setDistinguishName(String dn)
          Deprecated. Set the full distinguished name for this object.
 void setObjectClass(List<String> objectClass)
          Deprecated. Set the list of values for the objectClass of this object.
 void setObjectClass(String objectClass)
          Deprecated. Add an objectClass value to this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LscObject

public LscObject()
Deprecated. 
Method Detail

getDistinguishName

public final String getDistinguishName()
Deprecated. 
Returns the full distinguished name of this object.

Returns:
distinguished name of this object

setDistinguishName

public final void setDistinguishName(String dn)
Deprecated. 
Set the full distinguished name for this object.

Parameters:
dn - This object's distinguished name

getObjectClass

public final List<String> getObjectClass()
Deprecated. 
Return the list of values for the objectClass of this object

Returns:
list of values for the objectClass of this object

setObjectClass

public final void setObjectClass(List<String> objectClass)
Deprecated. 
Set the list of values for the objectClass of this object.

Note that this will replace any existing list. To add to the existing list instead, see setObjectClass(String).

Parameters:
objectClass - The objectClass list to set

setObjectClass

public final void setObjectClass(String objectClass)
Deprecated. 
Add an objectClass value to this object.

Note that this will add a new value to the existing list, it will not replace it. To replace the full list see setObjectClass(List).

If no list has been set yet, this method will create one.

Parameters:
objectClass - The objectClass name to add


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