com.sapportals.wcm.repository
Class PropertyDefInterpreter
java.lang.Object
com.sapportals.wcm.repository.PropertyDefInterpreter
public class PropertyDefInterpreter
- extends Object
This is a very simple interpreter class that allows one to write JDK 1.5
compliant code.
Use this class to call methods using the old deprecated enum objects.
For each method in class X (X.doExample(oldEnumType)), you'll find a corresponding method
of the form doExample(instanceOfX,newEnumType) in this class.
- Since:
- NW 7.1
|
Method Summary |
static PropertyType |
getType(IPropertyDef instance)
|
static PropertyDef |
newInstance_PropertyDef(PropertyType type,
boolean isMultivalued)
|
static PropertyDef |
newInstance_PropertyDef(PropertyType type,
boolean isMultivalued,
boolean isRequired,
boolean isReadonly,
boolean isIndexed,
boolean isHidden)
|
static PropertyDef |
newInstance_PropertyDef(PropertyType type,
boolean isMultivalued,
boolean isRequired,
boolean isReadonly,
boolean isIndexed,
boolean isHidden,
Properties attributes)
|
static PropertyDef |
valueOf(PropertyType type,
boolean isMultivalued)
|
static PropertyDef |
valueOf(PropertyType type,
boolean isMultivalued,
boolean isReadOnly,
boolean isHidden)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyDefInterpreter
public PropertyDefInterpreter()
getType
public static PropertyType getType(IPropertyDef instance)
valueOf
public static PropertyDef valueOf(PropertyType type,
boolean isMultivalued)
valueOf
public static PropertyDef valueOf(PropertyType type,
boolean isMultivalued,
boolean isReadOnly,
boolean isHidden)
newInstance_PropertyDef
public static PropertyDef newInstance_PropertyDef(PropertyType type,
boolean isMultivalued)
newInstance_PropertyDef
public static PropertyDef newInstance_PropertyDef(PropertyType type,
boolean isMultivalued,
boolean isRequired,
boolean isReadonly,
boolean isIndexed,
boolean isHidden)
throws ResourceException
- Throws:
ResourceException
newInstance_PropertyDef
public static PropertyDef newInstance_PropertyDef(PropertyType type,
boolean isMultivalued,
boolean isRequired,
boolean isReadonly,
boolean isIndexed,
boolean isHidden,
Properties attributes)
throws ResourceException
- Throws:
ResourceException
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
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