public class CustSalesPartnerFunc extends VdmEntity<CustSalesPartnerFunc>
Original entity name from the Odata EDM: A_CustSalesPartnerFuncType
Modifier and Type | Class and Description |
---|---|
static class |
CustSalesPartnerFunc.CustSalesPartnerFuncBuilder |
Modifier and Type | Field and Description |
---|---|
static CustSalesPartnerFuncSelectable |
ALL_FIELDS
Selector for all available fields of CustSalesPartnerFunc.
|
static CustSalesPartnerFuncField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static CustSalesPartnerFuncField<String> |
BP_CUSTOMER_NUMBER
Use with available fluent helpers to apply the BPCustomerNumber field to query operations.
|
static CustSalesPartnerFuncField<String> |
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations.
|
static CustSalesPartnerFuncField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustSalesPartnerFuncField<String> |
CUSTOMER_PARTNER_DESCRIPTION
Use with available fluent helpers to apply the CustomerPartnerDescription field to query operations.
|
static CustSalesPartnerFuncField<Boolean> |
DEFAULT_PARTNER
Use with available fluent helpers to apply the DefaultPartner field to query operations.
|
static CustSalesPartnerFuncField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static CustSalesPartnerFuncField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static CustSalesPartnerFuncField<String> |
PARTNER_COUNTER
Use with available fluent helpers to apply the PartnerCounter field to query operations.
|
static CustSalesPartnerFuncField<String> |
PARTNER_FUNCTION
Use with available fluent helpers to apply the PartnerFunction field to query operations.
|
static CustSalesPartnerFuncField<String> |
PERSONNEL_NUMBER
Use with available fluent helpers to apply the PersonnelNumber field to query operations.
|
static CustSalesPartnerFuncField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static CustSalesPartnerFuncField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustSalesPartnerFunc() |
CustSalesPartnerFunc(String customer,
String salesOrganization,
String distributionChannel,
String division,
String partnerCounter,
String partnerFunction,
String bPCustomerNumber,
String customerPartnerDescription,
Boolean defaultPartner,
String supplier,
String personnelNumber,
String contactPerson,
String authorizationGroup) |
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 CustSalesPartnerFunc.CustSalesPartnerFuncBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustSalesPartnerFuncField<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 |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getBPCustomerNumber()
Constraints: Not nullable, Maximum length: 10
|
String |
getContactPerson()
Constraints: Not nullable, Maximum length: 10
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerPartnerDescription()
Constraints: Not nullable, Maximum length: 30
|
Boolean |
getDefaultPartner()
Constraints: none
|
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.
|
String |
getDistributionChannel()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getDivision()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getPartnerCounter()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getPartnerFunction()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getPersonnelNumber()
Constraints: Not nullable, Maximum length: 8
|
String |
getSalesOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
Class<CustSalesPartnerFunc> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setBPCustomerNumber(String bPCustomerNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerPartnerDescription(String customerPartnerDescription)
Constraints: Not nullable, Maximum length: 30
|
void |
setDefaultPartner(Boolean defaultPartner)
Constraints: none
|
void |
setDistributionChannel(String distributionChannel)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setPartnerCounter(String partnerCounter)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setPartnerFunction(String partnerFunction)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setPersonnelNumber(String personnelNumber)
Constraints: Not nullable, Maximum length: 8
|
void |
setSalesOrganization(String salesOrganization)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
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 CustSalesPartnerFuncSelectable ALL_FIELDS
public static final CustSalesPartnerFuncField<String> CUSTOMER
public static final CustSalesPartnerFuncField<String> SALES_ORGANIZATION
public static final CustSalesPartnerFuncField<String> DISTRIBUTION_CHANNEL
public static final CustSalesPartnerFuncField<String> DIVISION
public static final CustSalesPartnerFuncField<String> PARTNER_COUNTER
public static final CustSalesPartnerFuncField<String> PARTNER_FUNCTION
public static final CustSalesPartnerFuncField<String> BP_CUSTOMER_NUMBER
public static final CustSalesPartnerFuncField<String> CUSTOMER_PARTNER_DESCRIPTION
public static final CustSalesPartnerFuncField<Boolean> DEFAULT_PARTNER
public static final CustSalesPartnerFuncField<String> SUPPLIER
public static final CustSalesPartnerFuncField<String> PERSONNEL_NUMBER
public static final CustSalesPartnerFuncField<String> CONTACT_PERSON
public static final CustSalesPartnerFuncField<String> AUTHORIZATION_GROUP
public CustSalesPartnerFunc()
public CustSalesPartnerFunc(@Nullable String customer, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String partnerCounter, @Nullable String partnerFunction, @Nullable String bPCustomerNumber, @Nullable String customerPartnerDescription, @Nullable Boolean defaultPartner, @Nullable String supplier, @Nullable String personnelNumber, @Nullable String contactPerson, @Nullable String authorizationGroup)
@Nonnull public Class<CustSalesPartnerFunc> getType()
getType
in class VdmObject<CustSalesPartnerFunc>
public void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
customer
- Customer Numberpublic void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: SalesOrganization
salesOrganization
- Sales Organizationpublic void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: DistributionChannel
distributionChannel
- Distribution Channelpublic void setDivision(@Nullable String division)
Original property name from the Odata EDM: Division
division
- Divisionpublic void setPartnerCounter(@Nullable String partnerCounter)
Original property name from the Odata EDM: PartnerCounter
partnerCounter
- Partner counterpublic void setPartnerFunction(@Nullable String partnerFunction)
Original property name from the Odata EDM: PartnerFunction
partnerFunction
- Partner Functionpublic void setBPCustomerNumber(@Nullable String bPCustomerNumber)
Original property name from the Odata EDM: BPCustomerNumber
bPCustomerNumber
- Customer number of business partnerpublic void setCustomerPartnerDescription(@Nullable String customerPartnerDescription)
Original property name from the Odata EDM: CustomerPartnerDescription
customerPartnerDescription
- Customer description of partner (plant, storage location)public void setDefaultPartner(@Nullable Boolean defaultPartner)
Original property name from the Odata EDM: DefaultPartner
defaultPartner
- Default Partnerpublic void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Account Number of Vendor or Creditorpublic void setPersonnelNumber(@Nullable String personnelNumber)
Original property name from the Odata EDM: PersonnelNumber
personnelNumber
- Personnel Numberpublic void setContactPerson(@Nullable String contactPerson)
Original property name from the Odata EDM: ContactPerson
contactPerson
- Number of contact personpublic void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- Authorization Groupprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CustSalesPartnerFunc>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustSalesPartnerFunc>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustSalesPartnerFunc>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustSalesPartnerFunc>
@Nonnull public static <T> CustSalesPartnerFuncField<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> CustSalesPartnerFuncField<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<CustSalesPartnerFunc>
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<CustSalesPartnerFunc>
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<CustSalesPartnerFunc>
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<CustSalesPartnerFunc>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static CustSalesPartnerFunc.CustSalesPartnerFuncBuilder builder()
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: SalesOrganization
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: DistributionChannel
@Nullable public String getDivision()
Original property name from the Odata EDM: Division
@Nullable public String getPartnerCounter()
Original property name from the Odata EDM: PartnerCounter
@Nullable public String getPartnerFunction()
Original property name from the Odata EDM: PartnerFunction
@Nullable public String getBPCustomerNumber()
Original property name from the Odata EDM: BPCustomerNumber
@Nullable public String getCustomerPartnerDescription()
Original property name from the Odata EDM: CustomerPartnerDescription
@Nullable public Boolean getDefaultPartner()
Original property name from the Odata EDM: DefaultPartner
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public String getPersonnelNumber()
Original property name from the Odata EDM: PersonnelNumber
@Nullable public String getContactPerson()
Original property name from the Odata EDM: ContactPerson
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
@Nonnull public String toString()
toString
in class VdmObject<CustSalesPartnerFunc>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CustSalesPartnerFunc>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CustSalesPartnerFunc>
public int hashCode()
hashCode
in class VdmObject<CustSalesPartnerFunc>
Copyright © 2021 SAP SE. All rights reserved.