com.sap.portal.obn.semanticlayer.businessobject

Class BusinessObjectType

java.lang.Object
  extended by com.sap.portal.obn.semanticlayer.businessobject.BusinessObjectType

public class BusinessObjectType
extends Object

A class that represents a type of a business object.

The following are the available types:


Field Summary
static BusinessObjectType BUSINESS_OBJECT_DEFAULT_TYPE
          A constant that represents the default business object type.
static BusinessObjectType BUSINESS_OBJECT_TYPE_CONTEXT
          A constant that represents the context business object type.
static BusinessObjectType BUSINESS_OBJECT_TYPE_SYSTEM
          A constant that represents the system business object type.
 
Method Summary
static BusinessObjectType getBusinessObjectTypeByString(String typeString)
          Gets a BusinessObjectType object of the specified type.
 String toString()
          Gets a string that represents this business object type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUSINESS_OBJECT_TYPE_CONTEXT

public static final BusinessObjectType BUSINESS_OBJECT_TYPE_CONTEXT
A constant that represents the context business object type.


BUSINESS_OBJECT_TYPE_SYSTEM

public static final BusinessObjectType BUSINESS_OBJECT_TYPE_SYSTEM
A constant that represents the system business object type.


BUSINESS_OBJECT_DEFAULT_TYPE

public static final BusinessObjectType BUSINESS_OBJECT_DEFAULT_TYPE
A constant that represents the default business object type.

Method Detail

getBusinessObjectTypeByString

public static BusinessObjectType getBusinessObjectTypeByString(String typeString)
                                                        throws IllegalArgumentException
Gets a BusinessObjectType object of the specified type. Usage:
                BusinessObjectType myBOType = getBusinessObjectTypeByString(BUSINESS_OBJECT_TYPE_CONTEXT.toString());
 

Parameters:
typeString - a string that represents the business object type
Returns:
a BusinessObjectType object of the specified type
Throws:
IllegalArgumentException

toString

public String toString()
Gets a string that represents this business object type.

Overrides:
toString in class Object
Returns:
a string that represents this business object type.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/navigation/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice