Modifier and Type | Class and Description |
---|---|
static class |
Project.ProjectBuilder |
Modifier and Type | Field and Description |
---|---|
static ProjectSelectable |
ALL_FIELDS
Selector for all available fields of Project.
|
static ProjectField<String> |
PROJECT
Use with available fluent helpers to apply the Project field to query operations.
|
static ProjectField<String> |
PROJECT_TEXT
Use with available fluent helpers to apply the ProjectText field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Project() |
Project(String project,
String projectText,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static Project.ProjectBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProjectField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getProject()
(Key Field) Constraints: Not nullable
|
String |
getProjectText()
Constraints: Not nullable, Maximum length: 60
|
Class<Project> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setProject(String project)
(Key Field) Constraints: Not nullable
|
void |
setProjectText(String projectText)
Constraints: Not nullable, Maximum length: 60
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProjectSelectable ALL_FIELDS
public static final ProjectField<String> PROJECT
public static final ProjectField<String> PROJECT_TEXT
public void setProject(@Nullable String project)
Original property name from the Odata EDM: Project
project
- Project Definitionpublic void setProjectText(@Nullable String projectText)
Original property name from the Odata EDM: ProjectText
projectText
- Project Definitionprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<Project>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Project>
@Nonnull public static <T> ProjectField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> ProjectField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.public static Project.ProjectBuilder builder()
@Nullable public String getProject()
Original property name from the Odata EDM: Project
@Nullable public String getProjectText()
Original property name from the Odata EDM: ProjectText
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<Project>
erpConfigContext
- Copyright © 2018 SAP SE. All rights reserved.