com.novell.admin.ns.nds
Class BackLinkFacade

java.lang.Object
  extended bycom.novell.admin.ns.ValueListFacade
      extended bycom.novell.admin.ns.nds.BackLinkFacade

public final class BackLinkFacade
extends ValueListFacade

Facade for the NDS Backlink syntax. This is the same as LDAP "Tagged Name" syntax. It consists of a DN and an integer.


Field Summary
 
Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
BackLinkFacade(ValueList valueList)
          Facade constructor
 
Method Summary
static ValueList createValueList(java.lang.String objectName, long remoteId)
          Creates a BackLink ValueList.
static ValueList createValueList(java.lang.String objectName, long remoteId, Syntax syn)
          Creates a BackLink ValueList.
 java.lang.String getObjectName()
          Returns the object name from the valuelist.
 long getRemoteId()
          Returns the remote ID from the valuelist.
 void setObjectName(java.lang.String objectName)
          Sets the object name in the valuelist.
 void setRemoteId(long id)
          Sets the remote ID in the valuelist.
 
Methods inherited from class com.novell.admin.ns.ValueListFacade
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackLinkFacade

public BackLinkFacade(ValueList valueList)
               throws IncompatibleComponentException
Facade constructor

Parameters:
valueList - The ValueList that represents the BackLink data.
Throws:
IncompatibleComponentException - Thrown if the 'valueList' syntax is not "Back Link" or "Tagged Name".
Method Detail

createValueList

public static ValueList createValueList(java.lang.String objectName,
                                        long remoteId)
Creates a BackLink ValueList. This form is provided for backward compatibility and assumes NDS syntax.

Parameters:
objectName - Refer to NDS Schema Specification.
remoteId - Refer to NDS Schema Specification.
Returns:
A new BackLink ValueList.

createValueList

public static ValueList createValueList(java.lang.String objectName,
                                        long remoteId,
                                        Syntax syn)
Creates a BackLink ValueList.

Parameters:
objectName - Refer to NDS Schema Specification.
remoteId - Refer to NDS Schema Specification.
syn - The syntax for this value, either NDSSyntax.SYN_BACKLINK or LDAPSyntax.SYN_TAGGED_NAME.
Returns:
A new BackLink ValueList.

getObjectName

public java.lang.String getObjectName()
Returns the object name from the valuelist.

Returns:
The object name.

getRemoteId

public long getRemoteId()
Returns the remote ID from the valuelist.

Returns:
The remote Id.

setObjectName

public void setObjectName(java.lang.String objectName)
Sets the object name in the valuelist.

Parameters:
objectName - The object name.

setRemoteId

public void setRemoteId(long id)
Sets the remote ID in the valuelist.

Parameters:
id - The remote ID.


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.