com.sapportals.wcm.repository.so

Class AbstractTypeCast

java.lang.Object
  extended by com.sapportals.wcm.repository.so.AbstractTypeCast
All Implemented Interfaces:
ITypeCast

public abstract class AbstractTypeCast
extends Object
implements ITypeCast


Field Summary
protected  IResource resource
           
 
Constructor Summary
AbstractTypeCast(IResource resource)
          Construct object of class AbstractTypeCast.
 
Method Summary
 Object as(Class classRef)
          Tries to obtain an object of the specified class.
 boolean isA(Class classRef)
          Get the A attribute of the AbstractTypeCast object.
 Collection listTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

protected IResource resource
Constructor Detail

AbstractTypeCast

public AbstractTypeCast(IResource resource)
Construct object of class AbstractTypeCast.

Parameters:
resource -
Method Detail

isA

public final boolean isA(Class classRef)
Get the A attribute of the AbstractTypeCast object.

Specified by:
isA in interface ITypeCast
Parameters:
classRef -
Returns:
The A value

as

public final Object as(Class classRef)
                throws Exception
Description copied from interface: ITypeCast
Tries to obtain an object of the specified class.

Specified by:
as in interface ITypeCast
Parameters:
classRef -
Returns:
Throws:
Exception - Exception raised in failure situation

listTypes

public Collection listTypes()
Specified by:
listTypes in interface ITypeCast
Returns:
Access Rights

This class can be accessed from:


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


Copyright 2012 SAP AG Complete Copyright Notice