public class CustomerGroup extends Entity<CustomerGroup>
Modifier and Type | Class and Description |
---|---|
static class |
CustomerGroup.CustomerGroupBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<CustomerGroup,String> |
CUSTOMER_GROUP
Use with available fluent helpers to apply the CustomerGroup field to query operations.
|
Constructor and Description |
---|
CustomerGroup() |
CustomerGroup(String customerGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CustomerGroup.CustomerGroupBuilder |
builder() |
boolean |
equals(Object o) |
List<CustomerGroupText> |
fetchText()
Fetches the CustomerGroupText entities (one to many) associated with this entity.
|
static <T> EntityField<CustomerGroup,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCustomerGroup()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Class<CustomerGroup> |
getType() |
int |
hashCode() |
void |
setCustomerGroup(String customerGroup)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
toString() |
public static final EntityField<CustomerGroup,String> CUSTOMER_GROUP
@Generated(value="lombok") public CustomerGroup()
@ConstructorProperties(value={"customerGroup","erpConfigContext"}) @Generated(value="lombok") public CustomerGroup(@Nullable String customerGroup, ErpConfigContext erpConfigContext)
public Class<CustomerGroup> getType()
getType
in class Entity<CustomerGroup>
public static <T> EntityField<CustomerGroup,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 List<CustomerGroupText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static CustomerGroup.CustomerGroupBuilder builder()
@Nullable @Generated(value="lombok") public String getCustomerGroup()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setCustomerGroup(@Nullable String customerGroup)
customerGroup
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<CustomerGroup>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<CustomerGroup>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<CustomerGroup>
Copyright © 2017 SAP SE. All rights reserved.