public class ODataPathSegmentImpl extends Object implements PathSegment
| Constructor and Description |
|---|
ODataPathSegmentImpl(String path,
Map<String,List<String>> matrixParameters)
Constructor for an path segment object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getMatrixParameters()
Gets the matrix parameters of this path segment.
|
String |
getPath()
Gets a URI path element.
|
public ODataPathSegmentImpl(String path, Map<String,List<String>> matrixParameters)
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)public String getPath()
PathSegmentcolor will be an element.getPath in interface PathSegmentpublic Map<String,List<String>> getMatrixParameters()
PathSegmentGets the matrix parameters of this path segment.
In the PathSegment example, mul, long,
and scale are matrix parameters.
getMatrixParameters in interface PathSegmentCopyright © 2020. All rights reserved.