com.sapportals.wcm.rendering.base

Class IDCounter

java.lang.Object
  extended by com.sapportals.wcm.rendering.base.IDCounter

Deprecated. As of NetWeaver 7.1

public final class IDCounter
extends Object

returns an integer or a String representing that integer while counting it up. So, two calls in a row receive different values. The highest value returned is Integer.MAX_VALUE, the lowest is Integer.MIN_VALUE.
Do not use this to create IDs that will be used for a longer period of time or for a cache/ HashMap etc. Only usable for elements which will be used in a smaller, better defined context, such as an DynPage.

Since:
EP6 FP3

Constructor Summary
IDCounter()
          Deprecated.  
 
Method Summary
static String currentID()
          Deprecated. As of NetWeaver 7.1
static int currentVal()
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDCounter

public IDCounter()
Deprecated. 
Method Detail

currentVal

public static int currentVal()
Deprecated. As of NetWeaver 7.1

returns the incremented IDCounter value as integer


currentID

public static String currentID()
Deprecated. As of NetWeaver 7.1

returns the incremented IDCounter value as hex-presentated String

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice