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