public final class ContextURL extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContextURL.Builder
Builder for a ContextURL instance.
|
static class |
ContextURL.Suffix
Suffix of the OData Context URL
|
Modifier and Type | Method and Description |
---|---|
String |
getDerivedEntity()
Get the derived entity.
|
String |
getEntitySetOrSingletonOrType()
Get the set entity set / singleton / type.
|
String |
getKeyPath()
Get the set key path.
|
String |
getNavOrPropertyPath()
Get the set navigation or property path.
|
String |
getODataPath()
Get the OData path.
|
String |
getSelectList()
Get the select list.
|
URI |
getServiceRoot()
Get the service root.
|
ContextURL.Suffix |
getSuffix()
Get the set suffix.
|
boolean |
isCollection()
Is context result a collection.
|
boolean |
isDelta()
Is context result a delta result.
|
boolean |
isDeltaDeletedEntity()
Is context result a delta deleted entity.
|
boolean |
isDeltaDeletedLink()
Is context result a delta deleted link.
|
boolean |
isDeltaLink()
Is context result a delta link.
|
boolean |
isEntity()
Is context result a entity.
|
boolean |
isReference()
Is context result a reference.
|
static ContextURL.Builder |
with()
Start building a ContextURL instance.
|
public String getODataPath()
public URI getServiceRoot()
public String getEntitySetOrSingletonOrType()
public boolean isCollection()
true
for a collection, otherwise false
public String getDerivedEntity()
public String getSelectList()
public String getNavOrPropertyPath()
public String getKeyPath()
public ContextURL.Suffix getSuffix()
public boolean isEntity()
true
for a reference, otherwise false
public boolean isReference()
true
for a reference, otherwise false
public boolean isDelta()
true
for a delta result, otherwise false
public boolean isDeltaDeletedEntity()
true
for a delta deleted entity, otherwise false
public boolean isDeltaLink()
true
for a delta link, otherwise false
public boolean isDeltaDeletedLink()
true
for a delta deleted link, otherwise false
public static ContextURL.Builder with()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.