Modifier and Type | Class and Description |
---|---|
static class |
LeadItem.LeadItemBuilder |
Modifier and Type | Field and Description |
---|---|
static LeadItemSelectable |
ALL_FIELDS
Selector for all available fields of LeadItem.
|
static LeadItemField<String> |
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations.
|
static LeadItemField<String> |
LEAD
Use with available fluent helpers to apply the Lead field to query operations.
|
static LeadItemField<String> |
LEAD_ITEM
Use with available fluent helpers to apply the LeadItem field to query operations.
|
static LeadItemField<String> |
LEAD_ITEM_CATEGORY
Use with available fluent helpers to apply the LeadItemCategory field to query operations.
|
static LeadItemField<String> |
LEAD_ITEM_DESCRIPTION
Use with available fluent helpers to apply the LeadItemDescription field to query operations.
|
static LeadItemField<UUID> |
LEAD_ITEM_UUID
Use with available fluent helpers to apply the LeadItemUUID field to query operations.
|
static LeadItemField<UUID> |
LEAD_UUID
Use with available fluent helpers to apply the LeadUUID field to query operations.
|
static LeadItemField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static LeadItemField<String> |
PRODUCT_HIERARCHY
Use with available fluent helpers to apply the ProductHierarchy field to query operations.
|
static LeadItemField<BigDecimal> |
PRODUCT_QUANTITY
Use with available fluent helpers to apply the ProductQuantity field to query operations.
|
static LeadItemField<String> |
SALES_QUANTITY_UNIT
Use with available fluent helpers to apply the SalesQuantityUnit field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
LeadItem() |
LeadItem(String lead,
String leadItem,
UUID leadUUID,
String leadItemCategory,
UUID leadItemUUID,
String leadItemDescription,
String product,
String productHierarchy,
BigDecimal productQuantity,
String salesQuantityUnit,
String contactPerson) |
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 LeadItem.LeadItemBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> LeadItemField<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 |
getContactPerson()
Constraints: Not nullable, Maximum length: 10
|
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 |
getLead()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getLeadItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getLeadItemCategory()
Constraints: Not nullable, Maximum length: 4
|
String |
getLeadItemDescription()
Constraints: Not nullable, Maximum length: 40
|
UUID |
getLeadItemUUID()
Constraints: none
|
UUID |
getLeadUUID()
Constraints: none
|
String |
getProduct()
Constraints: Not nullable, Maximum length: 54
|
String |
getProductHierarchy()
Constraints: Not nullable, Maximum length: 20
|
BigDecimal |
getProductQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getSalesQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
Class<LeadItem> |
getType() |
int |
hashCode() |
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setLead(String lead)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setLeadItem(String leadItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setLeadItemCategory(String leadItemCategory)
Constraints: Not nullable, Maximum length: 4
|
void |
setLeadItemDescription(String leadItemDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setLeadItemUUID(UUID leadItemUUID)
Constraints: none
|
void |
setLeadUUID(UUID leadUUID)
Constraints: none
|
void |
setProduct(String product)
Constraints: Not nullable, Maximum length: 54
|
void |
setProductHierarchy(String productHierarchy)
Constraints: Not nullable, Maximum length: 20
|
void |
setProductQuantity(BigDecimal productQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setSalesQuantityUnit(String salesQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 LeadItemSelectable ALL_FIELDS
public static final LeadItemField<String> LEAD
public static final LeadItemField<String> LEAD_ITEM
public static final LeadItemField<UUID> LEAD_UUID
public static final LeadItemField<String> LEAD_ITEM_CATEGORY
public static final LeadItemField<UUID> LEAD_ITEM_UUID
public static final LeadItemField<String> LEAD_ITEM_DESCRIPTION
public static final LeadItemField<String> PRODUCT
public static final LeadItemField<String> PRODUCT_HIERARCHY
public static final LeadItemField<BigDecimal> PRODUCT_QUANTITY
public static final LeadItemField<String> SALES_QUANTITY_UNIT
public static final LeadItemField<String> CONTACT_PERSON
public LeadItem()
public LeadItem(@Nullable String lead, @Nullable String leadItem, @Nullable UUID leadUUID, @Nullable String leadItemCategory, @Nullable UUID leadItemUUID, @Nullable String leadItemDescription, @Nullable String product, @Nullable String productHierarchy, @Nullable BigDecimal productQuantity, @Nullable String salesQuantityUnit, @Nullable String contactPerson)
public void setLead(@Nullable String lead)
Original property name from the Odata EDM: Lead
lead
- Transaction IDpublic void setLeadItem(@Nullable String leadItem)
Original property name from the Odata EDM: LeadItem
leadItem
- Shortened Item Number in Documentpublic void setLeadUUID(@Nullable UUID leadUUID)
Original property name from the Odata EDM: LeadUUID
leadUUID
- GUID of a CRM Order Objectpublic void setLeadItemCategory(@Nullable String leadItemCategory)
Original property name from the Odata EDM: LeadItemCategory
leadItemCategory
- Item Categorypublic void setLeadItemUUID(@Nullable UUID leadItemUUID)
Original property name from the Odata EDM: LeadItemUUID
leadItemUUID
- GUID of a CRM Order Objectpublic void setLeadItemDescription(@Nullable String leadItemDescription)
Original property name from the Odata EDM: LeadItemDescription
leadItemDescription
- Product Descriptionpublic void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Product Name Enteredpublic void setProductHierarchy(@Nullable String productHierarchy)
Original property name from the Odata EDM: ProductHierarchy
productHierarchy
- Product Categorypublic void setProductQuantity(@Nullable BigDecimal productQuantity)
Original property name from the Odata EDM: ProductQuantity
productQuantity
- CRM: Order Quantitypublic void setSalesQuantityUnit(@Nullable String salesQuantityUnit)
Original property name from the Odata EDM: SalesQuantityUnit
salesQuantityUnit
- Unit of Measure in Which the Product Is Soldpublic void setContactPerson(@Nullable String contactPerson)
Original property name from the Odata EDM: ContactPerson
contactPerson
- Customer Contact Personprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<LeadItem>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<LeadItem>
@Nonnull public static <T> LeadItemField<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> LeadItemField<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<LeadItem>
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<LeadItem>
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<LeadItem>
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<LeadItem>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static LeadItem.LeadItemBuilder builder()
@Nullable public String getLead()
Original property name from the Odata EDM: Lead
@Nullable public String getLeadItem()
Original property name from the Odata EDM: LeadItem
@Nullable public UUID getLeadUUID()
Original property name from the Odata EDM: LeadUUID
@Nullable public String getLeadItemCategory()
Original property name from the Odata EDM: LeadItemCategory
@Nullable public UUID getLeadItemUUID()
Original property name from the Odata EDM: LeadItemUUID
@Nullable public String getLeadItemDescription()
Original property name from the Odata EDM: LeadItemDescription
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getProductHierarchy()
Original property name from the Odata EDM: ProductHierarchy
@Nullable public BigDecimal getProductQuantity()
Original property name from the Odata EDM: ProductQuantity
@Nullable public String getSalesQuantityUnit()
Original property name from the Odata EDM: SalesQuantityUnit
@Nullable public String getContactPerson()
Original property name from the Odata EDM: ContactPerson
Copyright © 2021 SAP SE. All rights reserved.