|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.helper.extension.SDOUtil
public class SDOUtil
Purpose: Common functions in support of SDO.
Responsibilities:
Constructor Summary | |
---|---|
SDOUtil()
|
Method Summary | |
---|---|
static java.lang.String |
className(java.lang.String s,
boolean isClass)
INTERNAL: Return a valid Java class name or method name for a given string |
static java.lang.String |
className(java.lang.String s,
boolean flag,
boolean isClass,
boolean logOn)
INTERNAL: Return a valid Java class name or method name for a given string |
static java.lang.String |
constantName(java.lang.String s)
INTERNAL: |
static java.lang.String |
getBooleanGetMethodName(java.lang.String s,
java.lang.String returnType)
INTERNAL: Return a valid Java get method name for a given string. |
static java.lang.String |
getBuiltInType(java.lang.String typeName)
|
static java.lang.String |
getDefaultPackageName()
INTERNAL: Get default package name when no targetNamespace URI exists. |
static java.lang.String |
getJavaTypeForProperty(SDOProperty property)
|
static java.lang.String |
getMethodName(java.lang.String s,
java.lang.String returnType)
INTERNAL: Return a valid Java get method name for a given string. |
static java.lang.String |
getPackageNameFromURI(java.lang.String uriString)
INTERNAL: Get default package name from a namespace URI. |
static java.lang.String |
methodName(java.lang.String s)
INTERNAL: Return a valid Java method name for a given string |
static java.lang.String |
methodName(java.lang.String s,
boolean flag)
INTERNAL: Return a valid Java method name for a given string |
static java.lang.String |
setMethodName(java.lang.String s)
INTERNAL: Return a valid Java set method name for a given string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDOUtil()
Method Detail |
---|
public static java.lang.String getDefaultPackageName()
public static java.lang.String getPackageNameFromURI(java.lang.String uriString)
uriString
- - a namespace URL or URN
public static java.lang.String className(java.lang.String s, boolean isClass)
s
- isClass
- (flag whether called from a method context)
public static java.lang.String className(java.lang.String s, boolean flag, boolean isClass, boolean logOn)
s
- isClass
- (flag whether called from a method context)flag
-
public static java.lang.String methodName(java.lang.String s)
s
-
public static java.lang.String methodName(java.lang.String s, boolean flag)
s
- flag
-
public static java.lang.String setMethodName(java.lang.String s)
s
-
public static java.lang.String getMethodName(java.lang.String s, java.lang.String returnType)
s
- returnType
-
public static java.lang.String getBooleanGetMethodName(java.lang.String s, java.lang.String returnType)
s
- returnType
-
public static java.lang.String constantName(java.lang.String s)
s
-
public static java.lang.String getJavaTypeForProperty(SDOProperty property)
public static java.lang.String getBuiltInType(java.lang.String typeName)
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |