public class SupplierPartnerFunc extends VdmEntity<SupplierPartnerFunc>
Original entity name from the Odata EDM: A_SupplierPartnerFuncType
Modifier and Type | Class and Description |
---|---|
static class |
SupplierPartnerFunc.SupplierPartnerFuncBuilder |
Modifier and Type | Field and Description |
---|---|
static SupplierPartnerFuncSelectable |
ALL_FIELDS
Selector for all available fields of SupplierPartnerFunc.
|
static SupplierPartnerFuncField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static SupplierPartnerFuncField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static SupplierPartnerFuncField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static SupplierPartnerFuncField<Boolean> |
DEFAULT_PARTNER
Use with available fluent helpers to apply the DefaultPartner field to query operations.
|
static SupplierPartnerFuncField<String> |
PARTNER_COUNTER
Use with available fluent helpers to apply the PartnerCounter field to query operations.
|
static SupplierPartnerFuncField<String> |
PARTNER_FUNCTION
Use with available fluent helpers to apply the PartnerFunction field to query operations.
|
static SupplierPartnerFuncField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static SupplierPartnerFuncField<String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static SupplierPartnerFuncField<String> |
REFERENCE_SUPPLIER
Use with available fluent helpers to apply the ReferenceSupplier field to query operations.
|
static SupplierPartnerFuncField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static SupplierPartnerFuncField<String> |
SUPPLIER_SUBRANGE
Use with available fluent helpers to apply the SupplierSubrange field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SupplierPartnerFunc() |
SupplierPartnerFunc(String supplier,
String purchasingOrganization,
String supplierSubrange,
String plant,
String partnerFunction,
String partnerCounter,
Boolean defaultPartner,
LocalDateTime creationDate,
String createdByUser,
String referenceSupplier,
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 SupplierPartnerFunc.SupplierPartnerFuncBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SupplierPartnerFuncField<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 |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
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.
|
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 |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getReferenceSupplier()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplier()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierSubrange()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
Class<SupplierPartnerFunc> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setDefaultPartner(Boolean defaultPartner)
Constraints: none
|
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 |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingOrganization(String purchasingOrganization)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setReferenceSupplier(String referenceSupplier)
Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplier(String supplier)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSupplierSubrange(String supplierSubrange)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
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 SupplierPartnerFuncSelectable ALL_FIELDS
public static final SupplierPartnerFuncField<String> SUPPLIER
public static final SupplierPartnerFuncField<String> PURCHASING_ORGANIZATION
public static final SupplierPartnerFuncField<String> SUPPLIER_SUBRANGE
public static final SupplierPartnerFuncField<String> PLANT
public static final SupplierPartnerFuncField<String> PARTNER_FUNCTION
public static final SupplierPartnerFuncField<String> PARTNER_COUNTER
public static final SupplierPartnerFuncField<Boolean> DEFAULT_PARTNER
public static final SupplierPartnerFuncField<LocalDateTime> CREATION_DATE
public static final SupplierPartnerFuncField<String> CREATED_BY_USER
public static final SupplierPartnerFuncField<String> REFERENCE_SUPPLIER
public static final SupplierPartnerFuncField<String> AUTHORIZATION_GROUP
public SupplierPartnerFunc()
public SupplierPartnerFunc(@Nullable String supplier, @Nullable String purchasingOrganization, @Nullable String supplierSubrange, @Nullable String plant, @Nullable String partnerFunction, @Nullable String partnerCounter, @Nullable Boolean defaultPartner, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable String referenceSupplier, @Nullable String authorizationGroup)
@Nonnull public Class<SupplierPartnerFunc> getType()
getType
in class VdmObject<SupplierPartnerFunc>
public void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Account Number of Vendor or Creditorpublic void setPurchasingOrganization(@Nullable String purchasingOrganization)
Original property name from the Odata EDM: PurchasingOrganization
purchasingOrganization
- Purchasing organizationpublic void setSupplierSubrange(@Nullable String supplierSubrange)
Original property name from the Odata EDM: SupplierSubrange
supplierSubrange
- Supplier Subrangepublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setPartnerFunction(@Nullable String partnerFunction)
Original property name from the Odata EDM: PartnerFunction
partnerFunction
- Partner Functionpublic void setPartnerCounter(@Nullable String partnerCounter)
Original property name from the Odata EDM: PartnerCounter
partnerCounter
- Partner counterpublic void setDefaultPartner(@Nullable Boolean defaultPartner)
Original property name from the Odata EDM: DefaultPartner
defaultPartner
- Default Partnerpublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on which the record was createdpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setReferenceSupplier(@Nullable String referenceSupplier)
Original property name from the Odata EDM: ReferenceSupplier
referenceSupplier
- Reference to other vendorpublic void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- Authorization Groupprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SupplierPartnerFunc>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SupplierPartnerFunc>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SupplierPartnerFunc>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SupplierPartnerFunc>
@Nonnull public static <T> SupplierPartnerFuncField<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> SupplierPartnerFuncField<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<SupplierPartnerFunc>
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<SupplierPartnerFunc>
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<SupplierPartnerFunc>
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<SupplierPartnerFunc>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static SupplierPartnerFunc.SupplierPartnerFuncBuilder builder()
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public String getPurchasingOrganization()
Original property name from the Odata EDM: PurchasingOrganization
@Nullable public String getSupplierSubrange()
Original property name from the Odata EDM: SupplierSubrange
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getPartnerFunction()
Original property name from the Odata EDM: PartnerFunction
@Nullable public String getPartnerCounter()
Original property name from the Odata EDM: PartnerCounter
@Nullable public Boolean getDefaultPartner()
Original property name from the Odata EDM: DefaultPartner
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public String getReferenceSupplier()
Original property name from the Odata EDM: ReferenceSupplier
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
@Nonnull public String toString()
toString
in class VdmObject<SupplierPartnerFunc>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SupplierPartnerFunc>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SupplierPartnerFunc>
public int hashCode()
hashCode
in class VdmObject<SupplierPartnerFunc>
Copyright © 2021 SAP SE. All rights reserved.