public interface PRObjectWrapperGenerator
Modifier and Type | Field and Description |
---|---|
static double |
COMPAT_42SP1 |
static double |
COMPAT_42SP2 |
static java.lang.String |
COPYRIGHT |
static java.lang.String |
PRPC_WRAPPER_PACKAGE
Last component of the package name for wrappers we will generate.
|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
generateWrapper(java.lang.String wrapperClassName)
Generate the specified wrapper.
|
java.lang.Class |
generateWrapper(java.lang.String wrapperClassName,
java.util.List userSelectedProperties)
Generate the specified wrapper, only include properties listed.
|
double |
getCompatibility()
Return the compatibility setting for this Object Wrapper Generator.
|
boolean |
getDesignTime()
Get the current value of the design time flag.
|
java.lang.String |
getSchema()
Get the associated schema document.
|
void |
setDesignTime(boolean designTime)
Set flag to indicate that this generation is taking place at design time.
|
java.lang.String |
typeNameFromWrapperName(java.lang.String wrapperName)
Given a fully qualified wrapper name, return the type name.
|
java.lang.String |
wrapperNameFromType(java.lang.Class type)
Given a java type, return the wrapper name.
|
java.lang.String |
wrapperNameFromTypeName(java.lang.String typeName)
Given a fully qualified type name, return the wrapper name.
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
static final double COMPAT_42SP2
static final double COMPAT_42SP1
static final java.lang.String PRPC_WRAPPER_PACKAGE
double getCompatibility()
java.lang.String wrapperNameFromTypeName(java.lang.String typeName)
typeName
- name of the type to be wrappedjava.lang.String typeNameFromWrapperName(java.lang.String wrapperName)
wrapperName
- name of the wrapperjava.lang.String wrapperNameFromType(java.lang.Class type)
type
- type to be wrappedvoid setDesignTime(boolean designTime)
designTime
- true if we are in design time, false otherwise.boolean getDesignTime()
java.lang.String getSchema()
java.lang.Class generateWrapper(java.lang.String wrapperClassName) throws PRObjectWrapperException
wrapperClassName
- PRObjectWrapperException
- if the wrapper should not be generated.java.lang.Class generateWrapper(java.lang.String wrapperClassName, java.util.List userSelectedProperties) throws PRObjectWrapperException
wrapperClassName
- Names of the wrapper class to generate.userSelectedProperties
- Names of the properties we are interested in.PRObjectWrapperException
Copyright © 2015 Pegasystems Inc. All Rights Reserved.