com.sapportals.wcm.repository.so

Interface ITypeCast

All Known Subinterfaces:
ICollection, IResource, ISessionSO
All Known Implementing Classes:
AbstractTypeCast

public interface ITypeCast

The ITypeCast interface provides means to access additional interfaces that an object may support. The full set of available interfaces generally generally is only known at runtime and may change with the state of a resource.

Copyright (c) SAP AG 2001-2004

See Also:
for usage example

Method Summary
 Object as(Class classRef)
          Tries to obtain an object of the specified class.
 boolean isA(Class classRef)
          Checks whether the specified class can be obtained.
 Collection listTypes()
           
 

Method Detail

isA

boolean isA(Class classRef)
Checks whether the specified class can be obtained.

Parameters:
classRef - requested class
Returns:
true if the specified class can be obtained.

as

Object as(Class classRef)
          throws Exception
Tries to obtain an object of the specified class.

Parameters:
classRef - requested class
Returns:
an object implementing the specified class or null when not available
Throws:
Exception

listTypes

Collection listTypes()
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 2011 SAP AG Complete Copyright Notice