Package org.apache.olingo.odata2.core
Class ODataPathSegmentImpl
java.lang.Object
org.apache.olingo.odata2.core.ODataPathSegmentImpl
- All Implemented Interfaces:
PathSegment
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ODataPathSegmentImpl
Constructor for an path segment object.- Parameters:
path- path of created path segmentmatrixParameters- Map of Lists of matrix parameters for this path segment (can be null if no matrix parameters should be set for this path segment)
-
-
Method Details
-
getPath
Description copied from interface:PathSegmentGets a URI path element. In the example above,colorwill be an element.- Specified by:
getPathin interfacePathSegment- Returns:
- a URI path element
-
getMatrixParameters
Description copied from interface:PathSegmentGets the matrix parameters of this path segment.
In the
PathSegmentexample,mul,long, andscaleare matrix parameters.- Specified by:
getMatrixParametersin interfacePathSegment- Returns:
- an immutable map of matrix parameters and their values
-