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


Field Summary
 
Fields inherited from interface com.sapportals.connector.metadata.objects.IElement
BUSINESS_OBJECT, BUSINESS_OBJECT_GROUP
 
Method Summary
 IAttribute getAttribute(String attributeUniqueName)
          Returns an attribute of the business object.
 Set getAttributes()
          Returns the attributes of the business object.
 IIndex getIndex(String indexUniqueName)
          Return an IIndex object with the given uniqueName.
 Set getIndexes()
          Returns the indexes of this element.
 IMethod getMethod(String methodUniqueName)
          Returns a method of the element.
 Set getMethods()
          Returns the methods of this element.
 IRelation getRelation(String relationUniqueName)
          Returns a relation of this element given the unique name.
 Set getRelations()
          Deprecated. Use getRelationsEx()
 List getRelationsEx()
          Returns the relations of this business object.
 Set getRelationsToObject(String targetBusinessObject)
          Deprecated. Use getRelationsToObjectEx(String)
 List getRelationsToObjectEx(String targetBusinessObject)
          Returns the relations of this object to a target object ordered
 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 Set getAttributes()
                  throws ConnectorException
Returns the attributes of the business object.

Returns:
A Set of IAttribute
Throws:
ConnectorException
See Also:
IAttribute

getAttribute

public IAttribute getAttribute(String attributeUniqueName)
                        throws AttributeNotFoundException,
                               ConnectorException
Returns an attribute of the business object.

Parameters:
attributeUniqueName - The unique name of the attribute.
Returns:
IAttribute interface.
Throws:
AttributeNotFoundException
ConnectorException
See Also:
IAttribute

getMethods

public Set getMethods()
               throws ConnectorException
Returns the methods of this element.

Returns:
A Set of IMethod.
Throws:
ConnectorException
See Also:
IMethod

getMethod

public IMethod getMethod(String methodUniqueName)
                  throws MethodNotFoundException,
                         ConnectorException
Returns a method of the element.

Parameters:
methodUniqueName - The unique name of the method.
Returns:
IMethod interface.
Throws:
MethodNotFoundException
ConnectorException
See Also:
IMethod

getRelations

public 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.
Throws:
ConnectorException
See Also:
IRelation

getRelationsEx

public 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
Throws:
ConnectorException
See Also:
IRelation

getReversedRelationsEx

public 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
Throws:
ConnectorException
See Also:
IRelation

getRelation

public IRelation getRelation(String relationUniqueName)
                      throws RelationNotFoundException,
                             ConnectorException
Returns a relation of this element given the unique name.

Parameters:
relationUniqueName - The relation unique name.
Returns:
IRelation
Throws:
RelationNotFoundException
ConnectorException
See Also:
IRelation

getRelationsToObject

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

Returns the relations of this object to a target object

Parameters:
targetBusinessObject - the targetBusinessObject
Returns:
Set
Throws:
ConnectorException

getRelationsToObjectEx

public List getRelationsToObjectEx(String targetBusinessObject)
                            throws ConnectorException
Returns the relations of this object to a target object ordered

Parameters:
targetBusinessObject - the targetBusinessObject
Returns:
List
Throws:
ConnectorException

getIndexes

public Set getIndexes()
               throws ConnectorException
Returns the indexes of this element.

Returns:
A Set of IIndex.
Throws:
ConnectorException
See Also:
IIndex

getIndex

public IIndex getIndex(String indexUniqueName)
                throws IndexNotFoundException,
                       ConnectorException
Return an IIndex object with the given uniqueName.

Parameters:
indexUniqueName - The index unique name.
Returns:
IIndex.
Throws:
IndexNotFoundException
ConnectorException
See Also:
IIndex

retrievePrimaryKeyIndex

public IIndex retrievePrimaryKeyIndex()
                               throws ConnectorException
Return an IIndex object of the primary key

Returns:
IIndex the primary key
Throws:
ConnectorException
See Also:
IIndex


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.