Modifier and Type | Class and Description |
---|---|
static class |
Lead.LeadBuilder
Helper class to allow for fluent creation of Lead instances.
|
Modifier and Type | Field and Description |
---|---|
static LeadSelectable |
ALL_FIELDS
Selector for all available fields of Lead.
|
static LeadField<String> |
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations.
|
static LeadField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static LeadField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static LeadField<String> |
LEAD
Use with available fluent helpers to apply the Lead field to query operations.
|
static LeadField<String> |
LEAD_DESCRIPTION
Use with available fluent helpers to apply the LeadDescription field to query operations.
|
static LeadField<ZonedDateTime> |
LEAD_END_DATE_TIME
Use with available fluent helpers to apply the LeadEndDateTime field to query operations.
|
static LeadField<String> |
LEAD_GROUP
Use with available fluent helpers to apply the LeadGroup field to query operations.
|
static LeadField<String> |
LEAD_IS_COMPLETED
Use with available fluent helpers to apply the LeadIsCompleted field to query operations.
|
static LeadField<String> |
LEAD_ORIGIN
Use with available fluent helpers to apply the LeadOrigin field to query operations.
|
static LeadField<String> |
LEAD_PRIORITY
Use with available fluent helpers to apply the LeadPriority field to query operations.
|
static LeadField<String> |
LEAD_PROCESS_TYPE
Use with available fluent helpers to apply the LeadProcessType field to query operations.
|
static LeadField<String> |
LEAD_QUALIFICATION_LEVEL
Use with available fluent helpers to apply the LeadQualificationLevel field to query operations.
|
static LeadField<ZonedDateTime> |
LEAD_START_DATE_TIME
Use with available fluent helpers to apply the LeadStartDateTime field to query operations.
|
static LeadField<UUID> |
LEAD_UUID
Use with available fluent helpers to apply the LeadUUID field to query operations.
|
static LeadField<String> |
PROSPECT
Use with available fluent helpers to apply the Prospect field to query operations.
|
static LeadField<String> |
RESPONSIBLE_SALES_ORGANIZATION
Use with available fluent helpers to apply the ResponsibleSalesOrganization field to query operations.
|
static LeadField<String> |
RESPONSIBLE_SERVICE_ORGANIZATION
Use with available fluent helpers to apply the ResponsibleServiceOrganization field to query operations.
|
static LeadField<String> |
SALES_GROUP_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesGroupOrgUnitID field to query operations.
|
static LeadField<String> |
SALES_OFFICE_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesOfficeOrgUnitID field to query operations.
|
static LeadField<String> |
SALES_ORGANIZATION_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesOrganizationOrgUnitID field to query operations.
|
static LeadField<String> |
SALES_REPRESENTATIVE
Use with available fluent helpers to apply the SalesRepresentative field to query operations.
|
static LeadField<String> |
SERVICE_ORGANIZATION
Use with available fluent helpers to apply the ServiceOrganization field to query operations.
|
static LeadField<LocalDateTime> |
STATUS_ACTIVE_SINCE_DATE
Use with available fluent helpers to apply the StatusActiveSinceDate field to query operations.
|
static LeadLink<LeadItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static LeadLink<LeadPersonResp> |
TO_PERSON_RESPONSIBLE
Use with available fluent helpers to apply the to_PersonResponsible navigation property to query
operations.
|
static LeadLink<LeadText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Lead() |
Lead(String lead,
String leadProcessType,
String leadDescription,
UUID leadUUID,
String leadOrigin,
String leadPriority,
LocalDateTime statusActiveSinceDate,
String leadGroup,
String leadQualificationLevel,
ZonedDateTime leadEndDateTime,
ZonedDateTime leadStartDateTime,
String leadIsCompleted,
String distributionChannel,
String division,
String salesOrganizationOrgUnitID,
String salesOfficeOrgUnitID,
String salesGroupOrgUnitID,
String responsibleSalesOrganization,
String serviceOrganization,
String responsibleServiceOrganization,
String salesRepresentative,
String contactPerson,
String prospect,
List<LeadItem> toItem,
List<LeadPersonResp> toPersonResponsible,
List<LeadText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(LeadItem... entity)
Adds elements to the list of associated LeadItem entities.
|
void |
addPersonResponsible(LeadPersonResp... entity)
Adds elements to the list of associated LeadPersonResp entities.
|
void |
addText(LeadText... entity)
Adds elements to the list of associated LeadText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static Lead.LeadBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<LeadItem> |
fetchItem()
Fetches the LeadItem entities (one to many) associated with this entity.
|
List<LeadPersonResp> |
fetchPersonResponsible()
Fetches the LeadPersonResp entities (one to many) associated with this entity.
|
List<LeadText> |
fetchText()
Fetches the LeadText entities (one to many) associated with this entity.
|
static <T> LeadField<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.
|
String |
getDistributionChannel()
Constraints: Not nullable, Maximum length: 2
|
String |
getDivision()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
io.vavr.control.Option<List<LeadItem>> |
getItemIfPresent()
Retrieval of associated LeadItem entities (one to many).
|
List<LeadItem> |
getItemOrFetch()
Retrieval of associated LeadItem entities (one to many).
|
protected Map<String,Object> |
getKey() |
String |
getLead()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getLeadDescription()
Constraints: Not nullable, Maximum length: 40
|
ZonedDateTime |
getLeadEndDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getLeadGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getLeadIsCompleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getLeadOrigin()
Constraints: Not nullable, Maximum length: 3
|
String |
getLeadPriority()
Constraints: Not nullable, Maximum length: 1
|
String |
getLeadProcessType()
Constraints: Not nullable, Maximum length: 4
|
String |
getLeadQualificationLevel()
Constraints: Not nullable, Maximum length: 2
|
ZonedDateTime |
getLeadStartDateTime()
Constraints: Not nullable, Precision: 0
|
UUID |
getLeadUUID()
Constraints: none
|
io.vavr.control.Option<List<LeadPersonResp>> |
getPersonResponsibleIfPresent()
Retrieval of associated LeadPersonResp entities (one to many).
|
List<LeadPersonResp> |
getPersonResponsibleOrFetch()
Retrieval of associated LeadPersonResp entities (one to many).
|
String |
getProspect()
Constraints: Not nullable, Maximum length: 10
|
String |
getResponsibleSalesOrganization()
Constraints: Not nullable, Maximum length: 14
|
String |
getResponsibleServiceOrganization()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesGroupOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesOfficeOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesOrganizationOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesRepresentative()
Constraints: Not nullable, Maximum length: 10
|
String |
getServiceOrganization()
Constraints: Not nullable, Maximum length: 14
|
LocalDateTime |
getStatusActiveSinceDate()
Constraints: Not nullable, Precision: 0
|
io.vavr.control.Option<List<LeadText>> |
getTextIfPresent()
Retrieval of associated LeadText entities (one to many).
|
List<LeadText> |
getTextOrFetch()
Retrieval of associated LeadText entities (one to many).
|
Class<Lead> |
getType() |
int |
hashCode() |
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
Constraints: Not nullable, Maximum length: 2
|
void |
setItem(List<LeadItem> value)
Overwrites the list of associated LeadItem entities for the loaded navigation property to_Item.
|
void |
setLead(String lead)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setLeadDescription(String leadDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setLeadEndDateTime(ZonedDateTime leadEndDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLeadGroup(String leadGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setLeadIsCompleted(String leadIsCompleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setLeadOrigin(String leadOrigin)
Constraints: Not nullable, Maximum length: 3
|
void |
setLeadPriority(String leadPriority)
Constraints: Not nullable, Maximum length: 1
|
void |
setLeadProcessType(String leadProcessType)
Constraints: Not nullable, Maximum length: 4
|
void |
setLeadQualificationLevel(String leadQualificationLevel)
Constraints: Not nullable, Maximum length: 2
|
void |
setLeadStartDateTime(ZonedDateTime leadStartDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLeadUUID(UUID leadUUID)
Constraints: none
|
void |
setPersonResponsible(List<LeadPersonResp> value)
Overwrites the list of associated LeadPersonResp entities for the loaded navigation property
to_PersonResponsible.
|
void |
setProspect(String prospect)
Constraints: Not nullable, Maximum length: 10
|
void |
setResponsibleSalesOrganization(String responsibleSalesOrganization)
Constraints: Not nullable, Maximum length: 14
|
void |
setResponsibleServiceOrganization(String responsibleServiceOrganization)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesGroupOrgUnitID(String salesGroupOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesOfficeOrgUnitID(String salesOfficeOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesOrganizationOrgUnitID(String salesOrganizationOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesRepresentative(String salesRepresentative)
Constraints: Not nullable, Maximum length: 10
|
void |
setServiceOrganization(String serviceOrganization)
Constraints: Not nullable, Maximum length: 14
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStatusActiveSinceDate(LocalDateTime statusActiveSinceDate)
Constraints: Not nullable, Precision: 0
|
void |
setText(List<LeadText> value)
Overwrites the list of associated LeadText entities for the loaded navigation property to_Text.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final LeadSelectable ALL_FIELDS
public static final LeadField<String> LEAD
public static final LeadField<String> LEAD_PROCESS_TYPE
public static final LeadField<String> LEAD_DESCRIPTION
public static final LeadField<UUID> LEAD_UUID
public static final LeadField<String> LEAD_ORIGIN
public static final LeadField<String> LEAD_PRIORITY
public static final LeadField<LocalDateTime> STATUS_ACTIVE_SINCE_DATE
public static final LeadField<String> LEAD_GROUP
public static final LeadField<String> LEAD_QUALIFICATION_LEVEL
public static final LeadField<ZonedDateTime> LEAD_END_DATE_TIME
public static final LeadField<ZonedDateTime> LEAD_START_DATE_TIME
public static final LeadField<String> LEAD_IS_COMPLETED
public static final LeadField<String> DISTRIBUTION_CHANNEL
public static final LeadField<String> DIVISION
public static final LeadField<String> SALES_ORGANIZATION_ORG_UNIT_ID
public static final LeadField<String> SALES_OFFICE_ORG_UNIT_ID
public static final LeadField<String> SALES_GROUP_ORG_UNIT_ID
public static final LeadField<String> RESPONSIBLE_SALES_ORGANIZATION
public static final LeadField<String> SERVICE_ORGANIZATION
public static final LeadField<String> RESPONSIBLE_SERVICE_ORGANIZATION
public static final LeadField<String> SALES_REPRESENTATIVE
public static final LeadField<String> CONTACT_PERSON
public static final LeadField<String> PROSPECT
public static final LeadLink<LeadItem> TO_ITEM
public static final LeadLink<LeadPersonResp> TO_PERSON_RESPONSIBLE
public Lead()
public Lead(@Nullable String lead, @Nullable String leadProcessType, @Nullable String leadDescription, @Nullable UUID leadUUID, @Nullable String leadOrigin, @Nullable String leadPriority, @Nullable LocalDateTime statusActiveSinceDate, @Nullable String leadGroup, @Nullable String leadQualificationLevel, @Nullable ZonedDateTime leadEndDateTime, @Nullable ZonedDateTime leadStartDateTime, @Nullable String leadIsCompleted, @Nullable String distributionChannel, @Nullable String division, @Nullable String salesOrganizationOrgUnitID, @Nullable String salesOfficeOrgUnitID, @Nullable String salesGroupOrgUnitID, @Nullable String responsibleSalesOrganization, @Nullable String serviceOrganization, @Nullable String responsibleServiceOrganization, @Nullable String salesRepresentative, @Nullable String contactPerson, @Nullable String prospect, List<LeadItem> toItem, List<LeadPersonResp> toPersonResponsible, List<LeadText> toText)
public void setLead(@Nullable String lead)
Original property name from the Odata EDM: Lead
lead
- Transaction IDpublic void setLeadProcessType(@Nullable String leadProcessType)
Original property name from the Odata EDM: LeadProcessType
leadProcessType
- Business Transaction Typepublic void setLeadDescription(@Nullable String leadDescription)
Original property name from the Odata EDM: LeadDescription
leadDescription
- Transaction Descriptionpublic void setLeadUUID(@Nullable UUID leadUUID)
Original property name from the Odata EDM: LeadUUID
leadUUID
- GUID of a CRM Order Objectpublic void setLeadOrigin(@Nullable String leadOrigin)
Original property name from the Odata EDM: LeadOrigin
leadOrigin
- Origin of Opportunity/Leadpublic void setLeadPriority(@Nullable String leadPriority)
Original property name from the Odata EDM: LeadPriority
leadPriority
- Activity Prioritypublic void setStatusActiveSinceDate(@Nullable LocalDateTime statusActiveSinceDate)
Original property name from the Odata EDM: StatusActiveSinceDate
statusActiveSinceDate
- Status Sincepublic void setLeadGroup(@Nullable String leadGroup)
Original property name from the Odata EDM: LeadGroup
leadGroup
- Lead Grouppublic void setLeadQualificationLevel(@Nullable String leadQualificationLevel)
Original property name from the Odata EDM: LeadQualificationLevel
leadQualificationLevel
- Lead Qualification Levelpublic void setLeadEndDateTime(@Nullable ZonedDateTime leadEndDateTime)
Original property name from the Odata EDM: LeadEndDateTime
leadEndDateTime
- End Datepublic void setLeadStartDateTime(@Nullable ZonedDateTime leadStartDateTime)
Original property name from the Odata EDM: LeadStartDateTime
leadStartDateTime
- Start Datepublic void setLeadIsCompleted(@Nullable String leadIsCompleted)
Original property name from the Odata EDM: LeadIsCompleted
leadIsCompleted
- The leadIsCompleted to set.public void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: DistributionChannel
distributionChannel
- Distribution Channelpublic void setDivision(@Nullable String division)
Original property name from the Odata EDM: Division
division
- Divisionpublic void setSalesOrganizationOrgUnitID(@Nullable String salesOrganizationOrgUnitID)
Original property name from the Odata EDM: SalesOrganizationOrgUnitID
salesOrganizationOrgUnitID
- Sales Organization IDpublic void setSalesOfficeOrgUnitID(@Nullable String salesOfficeOrgUnitID)
Original property name from the Odata EDM: SalesOfficeOrgUnitID
salesOfficeOrgUnitID
- Sales Officepublic void setSalesGroupOrgUnitID(@Nullable String salesGroupOrgUnitID)
Original property name from the Odata EDM: SalesGroupOrgUnitID
salesGroupOrgUnitID
- Sales Grouppublic void setResponsibleSalesOrganization(@Nullable String responsibleSalesOrganization)
Original property name from the Odata EDM: ResponsibleSalesOrganization
responsibleSalesOrganization
- Organizational Unit (Sales)public void setServiceOrganization(@Nullable String serviceOrganization)
Original property name from the Odata EDM: ServiceOrganization
serviceOrganization
- Service Organizationpublic void setResponsibleServiceOrganization(@Nullable String responsibleServiceOrganization)
Original property name from the Odata EDM: ResponsibleServiceOrganization
responsibleServiceOrganization
- Organizational Unit (Service)public void setSalesRepresentative(@Nullable String salesRepresentative)
Original property name from the Odata EDM: SalesRepresentative
salesRepresentative
- Sales Reppublic void setContactPerson(@Nullable String contactPerson)
Original property name from the Odata EDM: ContactPerson
contactPerson
- Customer Contact Personpublic void setProspect(@Nullable String prospect)
Original property name from the Odata EDM: Prospect
prospect
- Sales Prospectprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<Lead>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Lead>
@Nonnull public static <T> LeadField<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> LeadField<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<Lead>
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<Lead>
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<Lead>
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<Lead>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<Lead>
@Nonnull public List<LeadItem> fetchItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<LeadItem> getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<LeadItem>> getItemIfPresent()
If the navigation property for an entity Lead has not been resolved yet, this method will not query
further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setItem(@Nonnull List<LeadItem> value)
If the navigation property to_Item of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of LeadItem entities.public void addItem(LeadItem... entity)
If the navigation property to_Item of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of LeadItem entities.@Nonnull public List<LeadPersonResp> fetchPersonResponsible() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<LeadPersonResp> getPersonResponsibleOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PersonResponsible of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<LeadPersonResp>> getPersonResponsibleIfPresent()
If the navigation property for an entity Lead has not been resolved yet, this method will not query
further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setPersonResponsible(@Nonnull List<LeadPersonResp> value)
If the navigation property to_PersonResponsible of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of LeadPersonResp entities.public void addPersonResponsible(LeadPersonResp... entity)
If the navigation property to_PersonResponsible of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of LeadPersonResp entities.@Nonnull public List<LeadText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<LeadText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<LeadText>> getTextIfPresent()
If the navigation property for an entity Lead has not been resolved yet, this method will not query
further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setText(@Nonnull List<LeadText> value)
If the navigation property to_Text of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of LeadText entities.public void addText(LeadText... entity)
If the navigation property to_Text of a queried Lead is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of LeadText entities.@Nonnull public static Lead.LeadBuilder builder()
@Nullable public String getLead()
Original property name from the Odata EDM: Lead
@Nullable public String getLeadProcessType()
Original property name from the Odata EDM: LeadProcessType
@Nullable public String getLeadDescription()
Original property name from the Odata EDM: LeadDescription
@Nullable public UUID getLeadUUID()
Original property name from the Odata EDM: LeadUUID
@Nullable public String getLeadOrigin()
Original property name from the Odata EDM: LeadOrigin
@Nullable public String getLeadPriority()
Original property name from the Odata EDM: LeadPriority
@Nullable public LocalDateTime getStatusActiveSinceDate()
Original property name from the Odata EDM: StatusActiveSinceDate
@Nullable public String getLeadGroup()
Original property name from the Odata EDM: LeadGroup
@Nullable public String getLeadQualificationLevel()
Original property name from the Odata EDM: LeadQualificationLevel
@Nullable public ZonedDateTime getLeadEndDateTime()
Original property name from the Odata EDM: LeadEndDateTime
@Nullable public ZonedDateTime getLeadStartDateTime()
Original property name from the Odata EDM: LeadStartDateTime
@Nullable public String getLeadIsCompleted()
Original property name from the Odata EDM: LeadIsCompleted
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: DistributionChannel
@Nullable public String getDivision()
Original property name from the Odata EDM: Division
@Nullable public String getSalesOrganizationOrgUnitID()
Original property name from the Odata EDM: SalesOrganizationOrgUnitID
@Nullable public String getSalesOfficeOrgUnitID()
Original property name from the Odata EDM: SalesOfficeOrgUnitID
@Nullable public String getSalesGroupOrgUnitID()
Original property name from the Odata EDM: SalesGroupOrgUnitID
@Nullable public String getResponsibleSalesOrganization()
Original property name from the Odata EDM: ResponsibleSalesOrganization
@Nullable public String getServiceOrganization()
Original property name from the Odata EDM: ServiceOrganization
@Nullable public String getResponsibleServiceOrganization()
Original property name from the Odata EDM: ResponsibleServiceOrganization
@Nullable public String getSalesRepresentative()
Original property name from the Odata EDM: SalesRepresentative
@Nullable public String getContactPerson()
Original property name from the Odata EDM: ContactPerson
@Nullable public String getProspect()
Original property name from the Odata EDM: Prospect
Copyright © 2021 SAP SE. All rights reserved.