public class BusinessProcess extends VdmEntity<BusinessProcess>
Original entity name from the Odata EDM: BusinessProcess
Modifier and Type | Class and Description |
---|---|
static class |
BusinessProcess.BusinessProcessBuilder |
Modifier and Type | Field and Description |
---|---|
static BusinessProcessSelectable |
ALL_FIELDS
Selector for all available fields of BusinessProcess.
|
static BusinessProcessField<String> |
BUSINESS_PROCESS
Use with available fluent helpers to apply the BusinessProcess field to query operations.
|
static BusinessProcessField<String> |
BUSINESS_PROCESS_TEXT
Use with available fluent helpers to apply the BusinessProcessText field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BusinessProcess() |
BusinessProcess(String businessProcess,
String businessProcessText) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static BusinessProcess.BusinessProcessBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BusinessProcessField<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) |
String |
getBusinessProcess()
(Key Field) Constraints: Not nullable
|
String |
getBusinessProcessText()
Constraints: Not nullable, Maximum length: 60
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
Class<BusinessProcess> |
getType() |
int |
hashCode() |
void |
setBusinessProcess(String businessProcess)
(Key Field) Constraints: Not nullable
|
void |
setBusinessProcessText(String businessProcessText)
Constraints: Not nullable, Maximum length: 60
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final BusinessProcessSelectable ALL_FIELDS
public static final BusinessProcessField<String> BUSINESS_PROCESS
public static final BusinessProcessField<String> BUSINESS_PROCESS_TEXT
@Nonnull public Class<BusinessProcess> getType()
getType
in class VdmObject<BusinessProcess>
public void setBusinessProcess(@Nullable String businessProcess)
Original property name from the Odata EDM: BusinessProcess
businessProcess
- Business Processpublic void setBusinessProcessText(@Nullable String businessProcessText)
Original property name from the Odata EDM: BusinessProcessText
businessProcessText
- Business Process (Description)protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BusinessProcess>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BusinessProcess>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BusinessProcess>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BusinessProcess>
@Nonnull public static <T> BusinessProcessField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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> BusinessProcessField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<BusinessProcess>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<BusinessProcess>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<BusinessProcess>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BusinessProcess>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static BusinessProcess.BusinessProcessBuilder builder()
@Nullable public String getBusinessProcess()
Original property name from the Odata EDM: BusinessProcess
@Nullable public String getBusinessProcessText()
Original property name from the Odata EDM: BusinessProcessText
@Nonnull public String toString()
toString
in class VdmObject<BusinessProcess>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BusinessProcess>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BusinessProcess>
public int hashCode()
hashCode
in class VdmObject<BusinessProcess>
Copyright © 2020 SAP SE. All rights reserved.