Web Dynpro API Documentation

com.sap.tc.webdynpro.services.sal.deployment.api
Class WDDeployableObjectPartType

java.lang.Object
  |
  +--com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPartType

public final class WDDeployableObjectPartType
extends java.lang.Object

Constants identifying deployable object part types.


Field Summary
static WDDeployableObjectPartType APPLICATION
          Constant identifying Web Dynpro application.
static WDDeployableObjectPartType COMPONENT
          Constant identifying Web Dynpro application.
static WDDeployableObjectPartType COMPONENT_CONFIGURATION
          Deprecated. Use constant CONFIGURATION for configuration instead. This constant may be withdrawn with the first new NetWeaver release in 2006.
static WDDeployableObjectPartType COMPONENT_INTERFACE
          Constant identifying Web Dynpro application.
static WDDeployableObjectPartType CONFIGURATION
          Constant identifying a configuration part.
static WDDeployableObjectPartType CUSTOMIZING_LAYER
          Constant identifying layers.
static WDDeployableObjectPartType MODEL
          Constant identifying a model part.
static WDDeployableObjectPartType VARIANT
          Constant identifying variants.
static WDDeployableObjectPartType WEB_RESOURCE
          Constant identifying a Web resource.
 
Method Summary
static java.util.Enumeration getAllWebResourceTypes()
          Returns all defined deployable object part types.
 java.lang.String getFileExtension()
          Returns the file extension of configuration files associated to this deployable object part type.
 java.lang.String getFolderNameForType()
          Returns the name of the folder associated to this type.
 java.lang.String getIconURL()
          Return is the URL to the icon representing the current deployable object part type.
 int getID()
          Returns a unique type identifier.
static int getNumberOfPartTypes()
          Return is the number of part types.
static WDDeployableObjectPartType getType(java.lang.String typeString)
          Deprecated. For better consistency across the Web Dynpro API this method has been renamed to valueOf(String). The method with the old name has been kept for backward compatibility reasons and may be withdrawn with the first new NetWeaver release in 2006.
 java.lang.String toString()
          Returns the name of the deployable object part type.
static WDDeployableObjectPartType valueOf(java.lang.String typeName)
          Return is the WDDeployableObjectPartType instance for the specified typeName.
static WDDeployableObjectPartType valueOfFolderName(java.lang.String folderName)
          Return is the WDDeployableObjectPartType instance for the specified folderName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

APPLICATION

public static final WDDeployableObjectPartType APPLICATION
Constant identifying Web Dynpro application.

COMPONENT

public static final WDDeployableObjectPartType COMPONENT
Constant identifying Web Dynpro application.

COMPONENT_CONFIGURATION

public static final WDDeployableObjectPartType COMPONENT_CONFIGURATION
Deprecated. Use constant CONFIGURATION for configuration instead. This constant may be withdrawn with the first new NetWeaver release in 2006.

Constant identifying Web Dynpro application.

COMPONENT_INTERFACE

public static final WDDeployableObjectPartType COMPONENT_INTERFACE
Constant identifying Web Dynpro application.

WEB_RESOURCE

public static final WDDeployableObjectPartType WEB_RESOURCE
Constant identifying a Web resource.

MODEL

public static final WDDeployableObjectPartType MODEL
Constant identifying a model part.

VARIANT

public static final WDDeployableObjectPartType VARIANT
Constant identifying variants.

CUSTOMIZING_LAYER

public static final WDDeployableObjectPartType CUSTOMIZING_LAYER
Constant identifying layers.

CONFIGURATION

public static final WDDeployableObjectPartType CONFIGURATION
Constant identifying a configuration part.
Method Detail

getAllWebResourceTypes

public static java.util.Enumeration getAllWebResourceTypes()
Returns all defined deployable object part types.
Returns:
all defined deployable object part types

getType

public static WDDeployableObjectPartType getType(java.lang.String typeString)
Deprecated. For better consistency across the Web Dynpro API this method has been renamed to valueOf(String). The method with the old name has been kept for backward compatibility reasons and may be withdrawn with the first new NetWeaver release in 2006.

Returns the WDDEployableObjectPartType specified by the type string.
Parameters:
typeString - specifies the requested WDDeployableObjectPartType
Returns:
the requested WDDeployableObjectPartType

toString

public java.lang.String toString()
Returns the name of the deployable object part type.
Overrides:
toString in class java.lang.Object
Returns:
the name of the deployable object part type

getFolderNameForType

public java.lang.String getFolderNameForType()
Returns the name of the folder associated to this type.
Returns:
the name of the folder associated to this type

getID

public int getID()
Returns a unique type identifier.
Returns:
a unique type identifier

getFileExtension

public java.lang.String getFileExtension()
Returns the file extension of configuration files associated to this deployable object part type.
Returns:
the file extension of configuration files associated to this deployable object part type

getIconURL

public java.lang.String getIconURL()
Return is the URL to the icon representing the current deployable object part type.
Returns:
the URL to the icon representing the current deployable object part type

valueOf

public static WDDeployableObjectPartType valueOf(java.lang.String typeName)
Return is the WDDeployableObjectPartType instance for the specified typeName. If typeName is an undefined name, a WDRuntimeException is thrown.
Parameters:
typeName - name of the part type
Returns:
the WDDeployableObjectPartType instance for the specified typeName

valueOfFolderName

public static WDDeployableObjectPartType valueOfFolderName(java.lang.String folderName)
Return is the WDDeployableObjectPartType instance for the specified folderName. If folderName is an undefined folder name of a deployable object part, a WDRuntimeException is thrown.
Parameters:
folderName - name of the folder of a part type
Returns:
the WDDeployableObjectPartType instance for the specified folderName

getNumberOfPartTypes

public static int getNumberOfPartTypes()
Return is the number of part types.
Returns:
the number of part types

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15