SAP J2EE Engine

Version 6.40


com.sapportals.connector.metadata.objects
Interface IBusinessObject

All Superinterfaces:
IConnectorObject, IElement, ISOAPSerializable

public interface IBusinessObject
extends IElement, ISOAPSerializable

This interface exposes metadata for an EIS Business Object

Version:
1.0

Fields inherited from interface com.sapportals.connector.metadata.objects.IElement
BUSINESS_OBJECT, BUSINESS_OBJECT_GROUP
 
Method Summary
 IAttribute getAttribute(java.lang.String attributeUniqueName)
          Returns an attribute of the business object.
 java.util.Set getAttributes()
          Returns the attributes of the business object.
 IIndex getIndex(java.lang.String indexUniqueName)
          Return an IIndex object with the given uniqueName.
 java.util.Set getIndexes()
          Returns the indexes of this element.
 IMethod getMethod(java.lang.String methodUniqueName)
          Returns a method of the element.
 java.util.Set getMethods()
          Returns the methods of this element.
 IRelation getRelation(java.lang.String relationUniqueName)
          Returns a relation of this element given the unique name.
 java.util.Set getRelations()
          Deprecated. Use getRelationsEx()
 java.util.List getRelationsEx()
          Returns the relations of this business object.
 java.util.Set getRelationsToObject(java.lang.String targetBusinessObject)
          Deprecated. Use getRelationsToObjectEx(String)
 java.util.List getRelationsToObjectEx(java.lang.String targetBusinessObject)
          Returns the relations of this object to a target object ordered
 java.util.List getReversedRelationsEx()
          Returns the relations of this business object.
 IIndex retrievePrimaryKeyIndex()
          Return an IIndex object of the primary key
 
Methods inherited from interface com.sapportals.connector.metadata.objects.IElement
getDescription, getMetaType, getName, getType, getUniqueName, retrieveContainingGroup, retrieveTerm
 
Methods inherited from interface com.sapportals.connector.IConnectorObject
retrieveConnection
 

Method Detail

getAttributes

public java.util.Set getAttributes()
                            throws ConnectorException
Returns the attributes of the business object.
Returns:
A Set of IAttribute
See Also:
IAttribute

getAttribute

public IAttribute getAttribute(java.lang.String attributeUniqueName)
                        throws AttributeNotFoundException,
                               ConnectorException
Returns an attribute of the business object.
Parameters:
attributeUniqueName - The unique name of the attribute.
Returns:
IAttribute interface.
See Also:
IAttribute

getMethods

public java.util.Set getMethods()
                         throws ConnectorException
Returns the methods of this element.
Returns:
A Set of IMethod.
See Also:
IMethod

getMethod

public IMethod getMethod(java.lang.String methodUniqueName)
                  throws MethodNotFoundException,
                         ConnectorException
Returns a method of the element.
Parameters:
methodUniqueName - The unique name of the method.
Returns:
IMethod interface.
See Also:
IMethod

getRelations

public java.util.Set getRelations()
                           throws ConnectorException
Deprecated. Use getRelationsEx()

Returns the relations of this business object. Only relations wherein the business object is the source object are exposed. For example A.x1 -> B. y1 will be exposed and not C.z1 -> A.x3
Returns:
A Set of IRelation.
See Also:
IRelation

getRelationsEx

public java.util.List getRelationsEx()
                              throws ConnectorException
Returns the relations of this business object. Only relations wherein the business object is the source object are exposed. For example A.x1 -> B.y1 will be exposed and not C.z1 -> A.x3
Returns:
A Set of IRelation
See Also:
IRelation

getReversedRelationsEx

public java.util.List getReversedRelationsEx()
                                      throws ConnectorException
Returns the relations of this business object. Only relations wherein the business object is the target object are exposed. For example C.z1 -> A.x3 will be exposed and not A.x1 -> B.y1
Returns:
A Set of IRelation
See Also:
IRelation

getRelation

public IRelation getRelation(java.lang.String relationUniqueName)
                      throws RelationNotFoundException,
                             ConnectorException
Returns a relation of this element given the unique name.
Parameters:
relationUniqueName - The relation unique name.
Returns:
IRelation
See Also:
IRelation

getRelationsToObject

public java.util.Set getRelationsToObject(java.lang.String targetBusinessObject)
                                   throws ConnectorException
Deprecated. Use getRelationsToObjectEx(String)

Returns the relations of this object to a target object
Parameters:
targetBusinessObject - the targetBusinessObject
Returns:
Set

getRelationsToObjectEx

public java.util.List getRelationsToObjectEx(java.lang.String targetBusinessObject)
                                      throws ConnectorException
Returns the relations of this object to a target object ordered
Parameters:
targetBusinessObject - the targetBusinessObject
Returns:
List

getIndexes

public java.util.Set getIndexes()
                         throws ConnectorException
Returns the indexes of this element.
Returns:
A Set of IIndex.
See Also:
IIndex

getIndex

public IIndex getIndex(java.lang.String indexUniqueName)
                throws IndexNotFoundException,
                       ConnectorException
Return an IIndex object with the given uniqueName.
Parameters:
indexUniqueName - The index unique name.
Returns:
IIndex.
See Also:
IIndex

retrievePrimaryKeyIndex

public IIndex retrievePrimaryKeyIndex()
                               throws ConnectorException
Return an IIndex object of the primary key
Returns:
IIndex the primary key
See Also:
IIndex

SAP J2EE Engine

Version 6.40


Copyright © 2001-2005 SAP AG. All Rights Reserved.