com.sapportals.connector.metadata.functions

Interface ExtensibleMetadataFunction

All Superinterfaces:
IConnectorObject, IFunction, IGenericElement, ISOAPSerializable

public interface ExtensibleMetadataFunction
extends IFunction

An interface to a function that can hold extra metadata.


Field Summary
 
Fields inherited from interface com.sapportals.connector.metadata.functions.IFunction
RECIEVE_FUNCTION, SEND_FUNCTION, SEND_RECIEVE_FUNCTION, UNKNOWN_TYPE_FUNCTION
 
Fields inherited from interface com.sapportals.connector.metadata.objects.IGenericElement
ATTRIBUTE, BUSINESS_OBJECT, BUSINESS_OBJECT_GROUP, FUNCTION, RELATION
 
Method Summary
<T> T
getProperty(String name, T def)
          Get the value of the given property name, or return a default value if not available The type of the returned value is determined by the given default value type.
 void setProperty(String name, Object value)
          Set the given value to the given property
 
Methods inherited from interface com.sapportals.connector.metadata.functions.IFunction
getExceptions, getFunctionType, getParameter, getParameters, getParameters
 
Methods inherited from interface com.sapportals.connector.metadata.objects.IGenericElement
getDescription, getElementType, getMetaType, getName, getNamespace, getUniqueName, retrieveTerm
 
Methods inherited from interface com.sapportals.connector.IConnectorObject
retrieveConnection
 

Method Detail

setProperty

void setProperty(String name,
                 Object value)
Set the given value to the given property

Parameters:
name - The name of the property
value - The value to set for the property

getProperty

<T> T getProperty(String name,
                  T def)
              throws ClassCastException
Get the value of the given property name, or return a default value if not available The type of the returned value is determined by the given default value type. If the type of the actual value does no match - a ClassCastException is thrown.

Parameters:
name - The name of the property
def - The default retrieved in case the actual property value could not be retrieved
Returns:
The value of the property for this instance, or the default value
Throws:
ClassCastException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/connectivityfw/api api EP-PIN
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated - EP-CON-CF
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated default EP-CON-CF


Copyright 2011 SAP AG Complete Copyright Notice