public class PartnerCompany extends VdmEntity<PartnerCompany>
Modifier and Type | Class and Description |
---|---|
static class |
PartnerCompany.PartnerCompanyBuilder |
Modifier and Type | Field and Description |
---|---|
static PartnerCompanySelectable |
ALL_FIELDS
Selector for all available fields of PartnerCompany.
|
static PartnerCompanyField<String> |
COMPANY_NAME
Use with available fluent helpers to apply the CompanyName field to query operations.
|
static PartnerCompanyField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static PartnerCompanyField<String> |
PARTNER_COMPANY
Use with available fluent helpers to apply the PartnerCompany field to query operations.
|
Constructor and Description |
---|
PartnerCompany() |
PartnerCompany(String partnerCompany,
String companyName,
String language,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static PartnerCompany.PartnerCompanyBuilder |
builder() |
boolean |
equals(Object o) |
static <T> PartnerCompanyField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCompanyName()
Constraints: Not nullable, Maximum length: 30
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2 - the language in which texts are displayed,
- the language in which you enter texts,
- the language in which the system prints texts.
|
String |
getPartnerCompany()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
Class<PartnerCompany> |
getType() |
int |
hashCode() |
void |
setCompanyName(String companyName)
Constraints: Not nullable, Maximum length: 30
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2 - the language in which texts are displayed,
- the language in which you enter texts,
- the language in which the system prints texts.
|
void |
setPartnerCompany(String partnerCompany)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final PartnerCompanySelectable ALL_FIELDS
public static final PartnerCompanyField<String> PARTNER_COMPANY
public static final PartnerCompanyField<String> COMPANY_NAME
public static final PartnerCompanyField<String> LANGUAGE
public Class<PartnerCompany> getType()
getType
in class VdmObject<PartnerCompany>
public static <T> PartnerCompanyField<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 static PartnerCompany.PartnerCompanyBuilder builder()
@Nullable public String getPartnerCompany()
@Nullable public String getCompanyName()
@Nullable public String getLanguage()
- the language in which texts are displayed, - the language in which you enter texts, - the language in which the system prints texts.
@Nullable public ErpConfigContext getErpConfigContext()
public void setPartnerCompany(@Nullable String partnerCompany)
partnerCompany
- public void setCompanyName(@Nullable String companyName)
companyName
- public void setLanguage(@Nullable String language)
- the language in which texts are displayed, - the language in which you enter texts, - the language in which the system prints texts.
language
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<PartnerCompany>
public boolean equals(Object o)
equals
in class VdmObject<PartnerCompany>
public int hashCode()
hashCode
in class VdmObject<PartnerCompany>
Copyright © 2018 SAP SE. All rights reserved.