com.sapportals.portal.pcd.gl.spi

Class RelationDescriptor

java.lang.Object
  extended by com.sapportals.portal.pcd.gl.spi.RelationDescriptor

public class RelationDescriptor
extends Object

Relation descriptor. This class is to be used by state factories in order to create relations. In order to create a relation, the state factory has to return a RelationDescriptor as object in javax.naming.spi.StateFactory.getStateToBind. The relation source and target have to be passed to the constructor.


Constructor Summary
RelationDescriptor(Name relationSource, Name relationTarget)
          Creates a delta link descriptor.
RelationDescriptor(String relationSource, String relationTarget)
          Creates a delta link descriptor.
 
Method Summary
 Name getRelationSource()
          Returns the relation source
 Name getRelationTarget()
          Returns the relation target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationDescriptor

public RelationDescriptor(String relationSource,
                          String relationTarget)
                   throws NamingException
Creates a delta link descriptor.

Parameters:
relationSource - relation source
relationTarget - relation target
Throws:
NamingException

RelationDescriptor

public RelationDescriptor(Name relationSource,
                          Name relationTarget)
                   throws NamingException
Creates a delta link descriptor.

Parameters:
relationSource - relation source
relationTarget - relation target
Throws:
NamingException
Method Detail

getRelationTarget

public Name getRelationTarget()
Returns the relation target.

Returns:
Name

getRelationSource

public Name getRelationSource()
Returns the relation source

Returns:
Name
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api - EP-PIN
[sap.com] EP-BASIS [sap.com] tc/epbc/pcd/pars/srvgldeprecated api BC-PIN-PCD


Copyright 2011 SAP AG Complete Copyright Notice