public static final class ContextURL.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ContextURL.Builder |
asCollection()
Define the result as a collection.
|
ContextURL |
build()
Create the ContextURL instance based on set values.
|
ContextURL.Builder |
derived(EdmEntityType derivedType)
Set the derived edm entity type.
|
ContextURL.Builder |
derivedEntity(String derivedEntity)
Set the derived entity name.
|
ContextURL.Builder |
entitySet(EdmEntitySet entitySet)
Set the edm entity set.
|
ContextURL.Builder |
entitySetOrSingletonOrType(String entitySetOrSingletonOrType)
Set the entity set / singleton / type name.
|
ContextURL.Builder |
keyPath(String keyPath)
Set the key path.
|
ContextURL.Builder |
navOrPropertyPath(String navOrPropertyPath)
Set the navigation or property path.
|
ContextURL.Builder |
oDataPath(String oDataPath)
Set the OData path.
|
ContextURL.Builder |
selectList(String selectList)
Set the select list.
|
ContextURL.Builder |
serviceRoot(URI serviceRoot)
Set the service root.
|
ContextURL.Builder |
suffix(ContextURL.Suffix suffix)
Set the suffix.
|
ContextURL.Builder |
type(EdmType type)
Set the edm entity type.
|
public ContextURL.Builder oDataPath(String oDataPath)
oDataPath - the OData pathpublic ContextURL.Builder serviceRoot(URI serviceRoot)
serviceRoot - the service rootpublic ContextURL.Builder entitySet(EdmEntitySet entitySet)
entitySet - the edm entity setpublic ContextURL.Builder keyPath(String keyPath)
keyPath - the key pathpublic ContextURL.Builder entitySetOrSingletonOrType(String entitySetOrSingletonOrType)
entitySetOrSingletonOrType - the entity set / singleton / type namepublic ContextURL.Builder type(EdmType type)
type - the edm entity typepublic ContextURL.Builder asCollection()
public ContextURL.Builder derived(EdmEntityType derivedType)
derivedType - the derived edm entity typepublic ContextURL.Builder derivedEntity(String derivedEntity)
derivedEntity - the derived entity namepublic ContextURL.Builder navOrPropertyPath(String navOrPropertyPath)
navOrPropertyPath - the navigation or property pathpublic ContextURL.Builder selectList(String selectList)
selectList - the select listpublic ContextURL.Builder suffix(ContextURL.Suffix suffix)
suffix - the suffixpublic ContextURL build()
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.