Class ClassificationClassPath
java.lang.Object
de.hybris.platform.cockpit.model.meta.impl.ClassificationClassPath
Represents the classification class as fully qualified path containing the classification system, version and the
classification class code.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClassificationClassPath(String classCode) Parses the given classification class path. -
Method Summary
Modifier and TypeMethodDescriptionReturns the classification class code.static StringgetClassCode(ClassificationClass cclass) Returns the classification system name.Returns the classification system version.getPath()protected voidparseClassCode(String classCode)
-
Field Details
-
PATH_DELIMITER
public static final char PATH_DELIMITER- See Also:
-
ESCAPE_PATTERN
- See Also:
-
ESCAPED_PATH_DELIMITER
- See Also:
-
-
Constructor Details
-
ClassificationClassPath
Parses the given classification class path.- Parameters:
classCode- the classification class path (/ / ). - Throws:
IllegalArgumentException- if the path is incorrect/unparsable
-
-
Method Details
-
parseClassCode
-
getClassSystem
Returns the classification system name.- Returns:
- classification system name
-
getClassVersion
Returns the classification system version.- Returns:
- classification system version
-
getClassClass
Returns the classification class code.- Returns:
- classification class code
-
getPath
-
getClassCode
-