public class SchAgrmtPartner extends Entity<SchAgrmtPartner>
Modifier and Type | Class and Description |
---|---|
static class |
SchAgrmtPartner.SchAgrmtPartnerBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<SchAgrmtPartner,Boolean> |
DEFAULT_PARTNER
Use with available fluent helpers to apply the DefaultPartner field to query operations.
|
static EntityField<SchAgrmtPartner,String> |
PARTNER_COUNTER
Use with available fluent helpers to apply the PartnerCounter field to query operations.
|
static EntityField<SchAgrmtPartner,String> |
PARTNER_FUNCTION
Use with available fluent helpers to apply the PartnerFunction field to query operations.
|
static EntityField<SchAgrmtPartner,String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static EntityField<SchAgrmtPartner,String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static EntityField<SchAgrmtPartner,String> |
SCHEDULING_AGREEMENT
Use with available fluent helpers to apply the SchedulingAgreement field to query operations.
|
static EntityField<SchAgrmtPartner,String> |
SCHEDULING_AGREEMENT_ITEM
Use with available fluent helpers to apply the SchedulingAgreementItem field to query operations.
|
static EntityField<SchAgrmtPartner,String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static EntityField<SchAgrmtPartner,String> |
SUPPLIER_SUBRANGE
Use with available fluent helpers to apply the SupplierSubrange field to query operations.
|
Constructor and Description |
---|
SchAgrmtPartner() |
SchAgrmtPartner(String schedulingAgreement,
String schedulingAgreementItem,
String purchasingOrganization,
String supplierSubrange,
String plant,
String partnerFunction,
String partnerCounter,
String supplier,
Boolean defaultPartner,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static SchAgrmtPartner.SchAgrmtPartnerBuilder |
builder() |
boolean |
equals(Object o) |
SchAgrmtItem |
fetchSchedgAgrmtItm()
Fetches the SchAgrmtItem entity (one to one) associated with this entity.
|
static <T> EntityField<SchAgrmtPartner,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
Boolean |
getDefaultPartner()
Constraints: none
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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 |
getSchedulingAgreement()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSchedulingAgreementItem()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierSubrange()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
Class<SchAgrmtPartner> |
getType() |
int |
hashCode() |
void |
setDefaultPartner(Boolean defaultPartner)
Constraints: none
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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 |
setSchedulingAgreement(String schedulingAgreement)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSchedulingAgreementItem(String schedulingAgreementItem)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
void |
setSupplierSubrange(String supplierSubrange)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
toString() |
public static final EntityField<SchAgrmtPartner,String> SCHEDULING_AGREEMENT
public static final EntityField<SchAgrmtPartner,String> SCHEDULING_AGREEMENT_ITEM
public static final EntityField<SchAgrmtPartner,String> PURCHASING_ORGANIZATION
public static final EntityField<SchAgrmtPartner,String> SUPPLIER_SUBRANGE
public static final EntityField<SchAgrmtPartner,String> PLANT
public static final EntityField<SchAgrmtPartner,String> PARTNER_FUNCTION
public static final EntityField<SchAgrmtPartner,String> PARTNER_COUNTER
public static final EntityField<SchAgrmtPartner,String> SUPPLIER
public static final EntityField<SchAgrmtPartner,Boolean> DEFAULT_PARTNER
@Generated(value="lombok") public SchAgrmtPartner()
@ConstructorProperties(value={"schedulingAgreement","schedulingAgreementItem","purchasingOrganization","supplierSubrange","plant","partnerFunction","partnerCounter","supplier","defaultPartner","erpConfigContext"}) @Generated(value="lombok") public SchAgrmtPartner(@Nullable String schedulingAgreement, @Nullable String schedulingAgreementItem, @Nullable String purchasingOrganization, @Nullable String supplierSubrange, @Nullable String plant, @Nullable String partnerFunction, @Nullable String partnerCounter, @Nullable String supplier, @Nullable Boolean defaultPartner, ErpConfigContext erpConfigContext)
public Class<SchAgrmtPartner> getType()
getType
in class Entity<SchAgrmtPartner>
public static <T> EntityField<SchAgrmtPartner,T> field(String fieldName, Class<T> fieldType)
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.public SchAgrmtItem fetchSchedgAgrmtItm() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static SchAgrmtPartner.SchAgrmtPartnerBuilder builder()
@Nullable @Generated(value="lombok") public String getSchedulingAgreement()
@Nullable @Generated(value="lombok") public String getSchedulingAgreementItem()
@Nullable @Generated(value="lombok") public String getPurchasingOrganization()
@Nullable @Generated(value="lombok") public String getSupplierSubrange()
@Nullable @Generated(value="lombok") public String getPlant()
@Nullable @Generated(value="lombok") public String getPartnerFunction()
@Nullable @Generated(value="lombok") public String getPartnerCounter()
@Nullable @Generated(value="lombok") public String getSupplier()
@Nullable @Generated(value="lombok") public Boolean getDefaultPartner()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setSchedulingAgreement(@Nullable String schedulingAgreement)
schedulingAgreement
- @Generated(value="lombok") public void setSchedulingAgreementItem(@Nullable String schedulingAgreementItem)
schedulingAgreementItem
- @Generated(value="lombok") public void setPurchasingOrganization(@Nullable String purchasingOrganization)
purchasingOrganization
- @Generated(value="lombok") public void setSupplierSubrange(@Nullable String supplierSubrange)
supplierSubrange
- @Generated(value="lombok") public void setPlant(@Nullable String plant)
plant
- @Generated(value="lombok") public void setPartnerFunction(@Nullable String partnerFunction)
partnerFunction
- @Generated(value="lombok") public void setPartnerCounter(@Nullable String partnerCounter)
partnerCounter
- @Generated(value="lombok") public void setSupplier(@Nullable String supplier)
supplier
- @Generated(value="lombok") public void setDefaultPartner(@Nullable Boolean defaultPartner)
defaultPartner
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<SchAgrmtPartner>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<SchAgrmtPartner>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<SchAgrmtPartner>
Copyright © 2017 SAP SE. All rights reserved.