Module org.eclipse.persistence.core
Class AttributeNameTokenizer
- java.lang.Object
-
- org.eclipse.persistence.internal.mappings.converters.AttributeNameTokenizer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeNameTokenizer.TokensIteratorINTERNAL: Attribute name tokenizer parser implemented as anIterator<String>over individual attribute name tokens.
-
Field Summary
Fields Modifier and Type Field Description static charSEPARATORINTERNAL: Attribute name dot notation separator.
-
Constructor Summary
Constructors Constructor Description AttributeNameTokenizer(String attributeName)INTERNAL: Creates an instance of attribute name tokenizer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetNameAfterKey(String attributeName)INTERNAL: Return an attribute name withoutkey.dot notation prefix.static StringgetNameAfterVersion(String attributeName)INTERNAL: Return an attribute name withoutvalue.dot notation prefix.Iterator<String>iterator()INTERNAL: Returns anIterator<String>over attribute name tokens.AttributeNameTokenizer.TokensIteratortokensIterator()INTERNAL: Returns anTokensIteratorover attribute name tokens.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
SEPARATOR
public static final char SEPARATOR
INTERNAL: Attribute name dot notation separator.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AttributeNameTokenizer
public AttributeNameTokenizer(String attributeName)
INTERNAL: Creates an instance of attribute name tokenizer.
-
-
Method Detail
-
getNameAfterVersion
public static String getNameAfterVersion(String attributeName)
INTERNAL: Return an attribute name withoutvalue.dot notation prefix.- Parameters:
attributeName- Attribute name containingvalue.prefix.- Returns:
- Attribute name without
value.prefix ornullwhen no prefix was found.
-
getNameAfterKey
public static String getNameAfterKey(String attributeName)
INTERNAL: Return an attribute name withoutkey.dot notation prefix.- Parameters:
attributeName- Attribute name containingkey.prefix.- Returns:
- Attribute name without
key.prefix ornullwhen no prefix was found.
-
iterator
public Iterator<String> iterator()
INTERNAL: Returns anIterator<String>over attribute name tokens.
-
tokensIterator
public AttributeNameTokenizer.TokensIterator tokensIterator()
INTERNAL: Returns anTokensIteratorover attribute name tokens.- Returns:
- An
TokensIteratorover attribute name tokens.
-
-