public class CustProjSlsOrdPartner extends VdmEntity<CustProjSlsOrdPartner>
Original entity name from the Odata EDM: A_CustProjSlsOrdPartnerType
Modifier and Type | Class and Description |
---|---|
static class |
CustProjSlsOrdPartner.CustProjSlsOrdPartnerBuilder |
Modifier and Type | Field and Description |
---|---|
static CustProjSlsOrdPartnerSelectable |
ALL_FIELDS
Selector for all available fields of CustProjSlsOrdPartner.
|
static CustProjSlsOrdPartnerField<String> |
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations.
|
static CustProjSlsOrdPartnerField<String> |
CUSTOMER_PROJECT
Use with available fluent helpers to apply the CustomerProject field to query operations.
|
static CustProjSlsOrdPartnerField<String> |
PARTNER_FUNCTION
Use with available fluent helpers to apply the PartnerFunction field to query operations.
|
static CustProjSlsOrdPartnerField<String> |
SALES_ORDER
Use with available fluent helpers to apply the SalesOrder field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustProjSlsOrdPartner() |
CustProjSlsOrdPartner(String customerProject,
String partnerFunction,
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 CustProjSlsOrdPartner.CustProjSlsOrdPartnerBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustProjSlsOrdPartnerField<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() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
protected Map<String,Object> |
getKey() |
String |
getPartnerFunction()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getSalesOrder()
Constraints: Not nullable, Maximum length: 10
|
Class<CustProjSlsOrdPartner> |
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
|
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 CustProjSlsOrdPartnerSelectable ALL_FIELDS
public static final CustProjSlsOrdPartnerField<String> CUSTOMER_PROJECT
public static final CustProjSlsOrdPartnerField<String> PARTNER_FUNCTION
public static final CustProjSlsOrdPartnerField<String> SALES_ORDER
public static final CustProjSlsOrdPartnerField<String> BUSINESS_PARTNER
@Nonnull public Class<CustProjSlsOrdPartner> getType()
getType
in class VdmObject<CustProjSlsOrdPartner>
public void setCustomerProject(@Nullable String customerProject)
Original property name from the Odata EDM: CustomerProject
customerProject
- Identifies a master 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 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()
getEntityCollection
in class VdmEntity<CustProjSlsOrdPartner>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustProjSlsOrdPartner>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustProjSlsOrdPartner>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustProjSlsOrdPartner>
@Nonnull public static <T> CustProjSlsOrdPartnerField<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> CustProjSlsOrdPartnerField<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<CustProjSlsOrdPartner>
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<CustProjSlsOrdPartner>
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<CustProjSlsOrdPartner>
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()
getDefaultServicePath
in class VdmEntity<CustProjSlsOrdPartner>
public static CustProjSlsOrdPartner.CustProjSlsOrdPartnerBuilder 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 getSalesOrder()
Original property name from the Odata EDM: SalesOrder
@Nullable public String getBusinessPartner()
Original property name from the Odata EDM: BusinessPartner
public String toString()
toString
in class VdmObject<CustProjSlsOrdPartner>
public boolean equals(Object o)
equals
in class VdmObject<CustProjSlsOrdPartner>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<CustProjSlsOrdPartner>
public int hashCode()
hashCode
in class VdmObject<CustProjSlsOrdPartner>
Copyright © 2019 SAP SE. All rights reserved.