public class DataStoreField extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DataStoreField.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
name |
protected String |
odataType |
protected Boolean |
searchable |
protected Boolean |
unique |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DataStoreField() |
| Modifier and Type | Method and Description |
|---|---|
static DataStoreField.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getName() |
Optional<Boolean> |
getSearchable() |
Optional<Boolean> |
getUnique() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DataStoreField |
withName(String name) |
DataStoreField |
withSearchable(Boolean searchable) |
DataStoreField |
withUnique(Boolean unique) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String name
protected Boolean unique
protected Boolean searchable
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic DataStoreField withName(String name)
public DataStoreField withUnique(Boolean unique)
public DataStoreField withSearchable(Boolean searchable)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DataStoreField.Builder builder()
Copyright © 2018–2020. All rights reserved.