Class CoreAttributeConverter
- java.lang.Object
-
- org.eclipse.persistence.internal.core.queries.CoreAttributeConverter
-
public class CoreAttributeConverter extends java.lang.Object
INTERNAL: AttributeGroup attribute names converter.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]
convert(java.lang.String... nameOrPath)
INTERNAL: Splits givennameOrPath[0]
argument around'.'
character whennameOrPath.length
is equal to 1.
-
-
-
Method Detail
-
convert
public static final java.lang.String[] convert(java.lang.String... nameOrPath) throws java.lang.IllegalArgumentException
INTERNAL: Splits givennameOrPath[0]
argument around'.'
character whennameOrPath.length
is equal to 1. Arrays ofnameOrPath
containing more than one element are only validated an passed without any changes. Zero length arrays are considered as invalid.- Parameters:
nameOrPath
-String
to be split.- Returns:
- An array of
String
s computed by splitting providednameOrPath[0]
argument around'.'
character. - Throws:
java.lang.IllegalArgumentException
- IfnameOrPath
argument isnull
or any element to be returned after split isnull
, empty or contains whitespace at the beginning or end.
-
-