Package org.opencms.gwt.shared.property
Class CmsPathValue
java.lang.Object
org.opencms.gwt.shared.property.CmsPathValue
A bean which represents a value together with a path which indicates from where the value has been read.
- Since:
- 8.0.0
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CmsPathValue
Creates a new instance.- Parameters:
value
- the valuepath
- the path
-
-
Method Details
-
getPath
Gets the path.- Returns:
- the path
-
getValue
Gets the value.- Returns:
- the value
-
prepend
Creates a new path value with the same value as this one, but with a prefix prepended to the path.- Parameters:
pathPart
- the path part which should be prepended to the path- Returns:
- the new path value
-