public class CustProjSlsOrdItemPartner extends VdmEntity<CustProjSlsOrdItemPartner>
Original entity name from the Odata EDM: A_CustProjSlsOrdItemPartnerType
Modifier and Type | Class and Description |
---|---|
static class |
CustProjSlsOrdItemPartner.CustProjSlsOrdItemPartnerBuilder |
Modifier and Type | Field and Description |
---|---|
static CustProjSlsOrdItemPartnerSelectable |
ALL_FIELDS
Selector for all available fields of CustProjSlsOrdItemPartner.
|
static CustProjSlsOrdItemPartnerField<String> |
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations.
|
static CustProjSlsOrdItemPartnerField<String> |
CUSTOMER_PROJECT
Use with available fluent helpers to apply the CustomerProject field to query operations.
|
static CustProjSlsOrdItemPartnerField<String> |
PARTNER_FUNCTION
Use with available fluent helpers to apply the PartnerFunction field to query operations.
|
static CustProjSlsOrdItemPartnerField<String> |
SALES_ORDER
Use with available fluent helpers to apply the SalesOrder field to query operations.
|
static CustProjSlsOrdItemPartnerField<String> |
SALES_ORDER_ITEM
Use with available fluent helpers to apply the SalesOrderItem field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustProjSlsOrdItemPartner() |
CustProjSlsOrdItemPartner(String customerProject,
String partnerFunction,
String salesOrderItem,
String salesOrder,
String businessPartner) |
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 CustProjSlsOrdItemPartner.CustProjSlsOrdItemPartnerBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustProjSlsOrdItemPartnerField<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 |
getBusinessPartner()
Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerProject()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
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() |
String |
getPartnerFunction()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getSalesOrder()
Constraints: Not nullable, Maximum length: 10
|
String |
getSalesOrderItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
Class<CustProjSlsOrdItemPartner> |
getType() |
int |
hashCode() |
void |
setBusinessPartner(String businessPartner)
Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerProject(String customerProject)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setPartnerFunction(String partnerFunction)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setSalesOrder(String salesOrder)
Constraints: Not nullable, Maximum length: 10
|
void |
setSalesOrderItem(String salesOrderItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
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 CustProjSlsOrdItemPartnerSelectable ALL_FIELDS
public static final CustProjSlsOrdItemPartnerField<String> CUSTOMER_PROJECT
public static final CustProjSlsOrdItemPartnerField<String> PARTNER_FUNCTION
public static final CustProjSlsOrdItemPartnerField<String> SALES_ORDER_ITEM
public static final CustProjSlsOrdItemPartnerField<String> SALES_ORDER
public static final CustProjSlsOrdItemPartnerField<String> BUSINESS_PARTNER
@Nonnull public Class<CustProjSlsOrdItemPartner> getType()
getType
in class VdmObject<CustProjSlsOrdItemPartner>
public void setCustomerProject(@Nullable String customerProject)
Original property name from the Odata EDM: CustomerProject
customerProject
- Identifies a customer or internal project.public void setPartnerFunction(@Nullable String partnerFunction)
Original property name from the Odata EDM: PartnerFunction
partnerFunction
- The abbreviated form of the name that identifies the partner function.public void setSalesOrderItem(@Nullable String salesOrderItem)
Original property name from the Odata EDM: SalesOrderItem
salesOrderItem
- Sales Order Itempublic void setSalesOrder(@Nullable String salesOrder)
Original property name from the Odata EDM: SalesOrder
salesOrder
- Sales Orderpublic void setBusinessPartner(@Nullable String businessPartner)
Original property name from the Odata EDM: BusinessPartner
businessPartner
- Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CustProjSlsOrdItemPartner>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustProjSlsOrdItemPartner>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustProjSlsOrdItemPartner>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustProjSlsOrdItemPartner>
@Nonnull public static <T> CustProjSlsOrdItemPartnerField<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> CustProjSlsOrdItemPartnerField<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<CustProjSlsOrdItemPartner>
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<CustProjSlsOrdItemPartner>
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<CustProjSlsOrdItemPartner>
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<CustProjSlsOrdItemPartner>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static CustProjSlsOrdItemPartner.CustProjSlsOrdItemPartnerBuilder builder()
@Nullable public String getCustomerProject()
Original property name from the Odata EDM: CustomerProject
@Nullable public String getPartnerFunction()
Original property name from the Odata EDM: PartnerFunction
@Nullable public String getSalesOrderItem()
Original property name from the Odata EDM: SalesOrderItem
@Nullable public String getSalesOrder()
Original property name from the Odata EDM: SalesOrder
@Nullable public String getBusinessPartner()
Original property name from the Odata EDM: BusinessPartner
@Nonnull public String toString()
toString
in class VdmObject<CustProjSlsOrdItemPartner>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CustProjSlsOrdItemPartner>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CustProjSlsOrdItemPartner>
public int hashCode()
hashCode
in class VdmObject<CustProjSlsOrdItemPartner>
Copyright © 2021 SAP SE. All rights reserved.