public class CompanyCode extends Entity<CompanyCode>
Modifier and Type | Class and Description |
---|---|
static class |
CompanyCode.CompanyCodeBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<CompanyCode,String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static EntityField<CompanyCode,String> |
COMPANY_CODE_TEXT
Use with available fluent helpers to apply the CompanyCodeText field to query operations.
|
Constructor and Description |
---|
CompanyCode() |
CompanyCode(String companyCode,
String companyCodeText,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CompanyCode.CompanyCodeBuilder |
builder() |
boolean |
equals(Object o) |
static <T> EntityField<CompanyCode,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable
|
String |
getCompanyCodeText()
Constraints: Not nullable, Maximum length: 60
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Class<CompanyCode> |
getType() |
int |
hashCode() |
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable
|
void |
setCompanyCodeText(String companyCodeText)
Constraints: Not nullable, Maximum length: 60
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
toString() |
public static final EntityField<CompanyCode,String> COMPANY_CODE
public static final EntityField<CompanyCode,String> COMPANY_CODE_TEXT
@Generated(value="lombok") public CompanyCode()
@ConstructorProperties(value={"companyCode","companyCodeText","erpConfigContext"}) @Generated(value="lombok") public CompanyCode(@Nullable String companyCode, @Nullable String companyCodeText, ErpConfigContext erpConfigContext)
public Class<CompanyCode> getType()
getType
in class Entity<CompanyCode>
public static <T> EntityField<CompanyCode,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.@Generated(value="lombok") public static CompanyCode.CompanyCodeBuilder builder()
@Nullable @Generated(value="lombok") public String getCompanyCode()
@Nullable @Generated(value="lombok") public String getCompanyCodeText()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setCompanyCode(@Nullable String companyCode)
companyCode
- @Generated(value="lombok") public void setCompanyCodeText(@Nullable String companyCodeText)
companyCodeText
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<CompanyCode>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<CompanyCode>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<CompanyCode>
Copyright © 2017 SAP SE. All rights reserved.