oracle.jbo.common
Class JboNameUtil
java.lang.Object
oracle.jbo.common.JboNameUtil
- public class JboNameUtil
- extends java.lang.Object
Internal: Applications should not use this class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INNER_CLASS_DESIGNATOR
public static final char INNER_CLASS_DESIGNATOR
- See Also:
- Constant Field Values
JboNameUtil
public JboNameUtil()
isNameValid
public static boolean isNameValid(java.lang.String nam)
isAttributeNameValid
public static boolean isAttributeNameValid(java.lang.String nam)
isFullNameValid
public static boolean isFullNameValid(java.lang.String fullNam)
isFlattenedName
public static boolean isFlattenedName(java.lang.String name)
flattenName
public static java.lang.String flattenName(java.lang.String name)
unflattenName
public static java.lang.String unflattenName(java.lang.String name)
shortenDefName
public static java.lang.String shortenDefName(java.lang.String beanInfoName)
lengthenDefName
public static java.lang.String lengthenDefName(java.lang.String shortName)
getInstNameFromClassName
public static java.lang.String getInstNameFromClassName(java.lang.String className)
getInstNameFromDefName
public static java.lang.String getInstNameFromDefName(java.lang.String beanInfoName)
getFirstPartOfName
public static java.lang.String getFirstPartOfName(java.lang.String name)
getRemainingPartOfName
public static java.lang.String getRemainingPartOfName(java.lang.String name)
getLastPartOfName
public static java.lang.String getLastPartOfName(java.lang.String name)
getContainerPartOfName
public static java.lang.String getContainerPartOfName(java.lang.String name)
getDefNameFromInstName
public static java.lang.String getDefNameFromInstName(java.lang.String instName)
getInfoNameFromJNDIName
public static java.lang.String getInfoNameFromJNDIName(java.lang.String jndiName)
getJNDINameFromDefName
public static java.lang.String getJNDINameFromDefName(java.util.Hashtable env,
java.lang.String beanInfoName)
getXMLNameFromDefName
public static java.lang.String getXMLNameFromDefName(java.lang.String beanInfoName)
getDefObject
public static java.lang.Object getDefObject(java.lang.String beanInfoName)
throws java.lang.Exception
- Throws:
java.lang.Exception
isSQLReservedWord
public static boolean isSQLReservedWord(java.lang.String testName)
isJavaReservedWord
public static boolean isJavaReservedWord(java.lang.String testName,
boolean respectCase)
findMethod
public static java.lang.reflect.Method findMethod(java.lang.Class cls,
java.lang.String methodName,
java.lang.Class[] parameterTypes,
java.lang.Class stopClass)
toXMLString
public static java.lang.String toXMLString(java.lang.String valStr)
xmlValidateTagName
public static boolean xmlValidateTagName(java.lang.String nameStr)
getLocaleName
public static java.lang.String getLocaleName(LocaleContext locale,
java.lang.String sName)
stripToValidName
public static java.lang.String stripToValidName(java.lang.String name)
fastTrim
public static java.lang.String fastTrim(java.lang.String str)
toUpperCaseFirstChar
public static java.lang.String toUpperCaseFirstChar(java.lang.String keyStr)
Copyright © 1997, 2004, Oracle. All rights reserved.