com.sap.netweaver.bc.rf.common

Class OpaqueLockTokenUri

java.lang.Object
  extended by com.sap.netweaver.bc.rf.common.OpaqueLockTokenUri
All Implemented Interfaces:
IAbsoluteUri

public class OpaqueLockTokenUri
extends Object
implements IAbsoluteUri

A RFC2518 IUri implementation.

      lturl      := "opaquelocktoken:" UUID [ext]
      ext        := path
 

Copyright (c) SAP AG 2001-2003


Constructor Summary
OpaqueLockTokenUri(String remainder)
           
 
Method Summary
 boolean equals(IAbsoluteUri other)
           
 boolean equals(Object other)
           
 String getRemainder()
          Get the remainder of this AbsoluteUri (part after scheme without ':').
 String getScheme()
          Get the scheme of this AbsoluteUri (without ':').
 int hashCode()
           
protected  IAbsoluteUri newInstance(String remainder)
           
 IAbsoluteUri resolve(IUriReference ref)
          Resolve the URI reference in the context of this AbsoluteUri (as per RFC2396, section 5.2).
 String toExternalForm()
          Returns a string representation according to RFC 2396 of this uri.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpaqueLockTokenUri

public OpaqueLockTokenUri(String remainder)
                   throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

newInstance

protected IAbsoluteUri newInstance(String remainder)
                            throws IllegalArgumentException
Throws:
IllegalArgumentException

getRemainder

public String getRemainder()
Description copied from interface: IAbsoluteUri
Get the remainder of this AbsoluteUri (part after scheme without ':').

Specified by:
getRemainder in interface IAbsoluteUri
Returns:
remainder of this AbsoluteUri

getScheme

public String getScheme()
Description copied from interface: IAbsoluteUri
Get the scheme of this AbsoluteUri (without ':').

Specified by:
getScheme in interface IAbsoluteUri
Returns:
scheme of this AbsoluteUri

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toExternalForm

public String toExternalForm()
Description copied from interface: IAbsoluteUri
Returns a string representation according to RFC 2396 of this uri.

Specified by:
toExternalForm in interface IAbsoluteUri
Returns:
string in URI format

toString

public String toString()
Overrides:
toString in class Object

resolve

public IAbsoluteUri resolve(IUriReference ref)
                     throws IllegalArgumentException
Description copied from interface: IAbsoluteUri
Resolve the URI reference in the context of this AbsoluteUri (as per RFC2396, section 5.2).

Specified by:
resolve in interface IAbsoluteUri
Parameters:
ref - URI reference to be resolved
Returns:
resolved reference as absolute URI without fragment identifier
Throws:
IllegalArgumentException - Exception raised in failure situation

equals

public boolean equals(Object other)
Overrides:
equals in class Object

equals

public boolean equals(IAbsoluteUri other)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice