Module org.eclipse.persistence.core
Class AttributeNameTokenizer
java.lang.Object
org.eclipse.persistence.internal.mappings.converters.AttributeNameTokenizer
INTERNAL:
Attribute name tokenizer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classINTERNAL: Attribute name tokenizer parser implemented as anIterator<String>over individual attribute name tokens. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charINTERNAL: Attribute name dot notation separator. -
Constructor Summary
ConstructorsConstructorDescriptionAttributeNameTokenizer(String attributeName) INTERNAL: Creates an instance of attribute name tokenizer. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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()INTERNAL: Returns anIterator<String>over attribute name tokens.INTERNAL: Returns anTokensIteratorover attribute name tokens.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
SEPARATOR
public static final char SEPARATORINTERNAL: Attribute name dot notation separator.- See Also:
-
-
Constructor Details
-
AttributeNameTokenizer
INTERNAL: Creates an instance of attribute name tokenizer.
-
-
Method Details
-
getNameAfterVersion
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
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
INTERNAL: Returns anIterator<String>over attribute name tokens. -
tokensIterator
INTERNAL: Returns anTokensIteratorover attribute name tokens.- Returns:
- An
TokensIteratorover attribute name tokens.
-