Class UriResourceComplexPropertyImpl
java.lang.Object
org.apache.olingo.server.core.uri.UriResourceImpl
org.apache.olingo.server.core.uri.UriResourceTypedImpl
org.apache.olingo.server.core.uri.UriResourceComplexPropertyImpl
- All Implemented Interfaces:
UriResource,UriResourceComplexProperty,UriResourcePartTyped,UriResourceProperty
public class UriResourceComplexPropertyImpl
extends UriResourceTypedImpl
implements UriResourceComplexProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBehind a complex property may be a type filter E.g.In case of an EntitySet this method will return the EntitySet name.getType()booleanMethods inherited from class org.apache.olingo.server.core.uri.UriResourceTypedImpl
getSegmentValue, getTypeFilter, setTypeFilter, toStringMethods inherited from class org.apache.olingo.server.core.uri.UriResourceImpl
getKind, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.olingo.server.api.uri.UriResource
getKind, toStringMethods inherited from interface org.apache.olingo.server.api.uri.UriResourcePartTyped
getSegmentValue, toString
-
Constructor Details
-
UriResourceComplexPropertyImpl
-
-
Method Details
-
getProperty
- Specified by:
getPropertyin interfaceUriResourceProperty- Returns:
- Property used in the resource path
-
getComplexType
- Specified by:
getComplexTypein interfaceUriResourceComplexProperty- Returns:
- Complex property used in the resource path
-
getComplexTypeFilter
Description copied from interface:UriResourceComplexPropertyBehind a complex property may be a type filter E.g. http://.../serviceroot/entityset(1)/complexproperty/namespace.complextype- Specified by:
getComplexTypeFilterin interfaceUriResourceComplexProperty- Returns:
- Type filter if found, otherwise null
-
getType
- Specified by:
getTypein interfaceUriResourcePartTyped- Returns:
- Type of the resource part
-
isCollection
public boolean isCollection()- Specified by:
isCollectionin interfaceUriResourcePartTyped- Returns:
- True if the resource part is a collection, otherwise false
-
getSegmentValue
Description copied from interface:UriResourceIn case of an EntitySet this method will return the EntitySet name. In Case of $ref this method will return '$ref" as a String.- Specified by:
getSegmentValuein interfaceUriResource- Returns:
- the value of this URI Resource Segment
-