public class Opportunity extends VdmEntity<Opportunity>
Original entity name from the Odata EDM: A_OpportunityType
Modifier and Type | Class and Description |
---|---|
static class |
Opportunity.OpportunityBuilder
Helper class to allow for fluent creation of Opportunity instances.
|
Modifier and Type | Field and Description |
---|---|
static OpportunitySelectable |
ALL_FIELDS
Selector for all available fields of Opportunity.
|
static OpportunityField<String> |
CHANCE_OF_SUCCESS_PERCENT
Use with available fluent helpers to apply the ChanceOfSuccessPercent field to query operations.
|
static OpportunityField<String> |
COMPETITOR
Use with available fluent helpers to apply the Competitor field to query operations.
|
static OpportunityField<String> |
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations.
|
static OpportunityField<String> |
CURRENT_SALES_STAGE
Use with available fluent helpers to apply the CurrentSalesStage field to query operations.
|
static OpportunityField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static OpportunityField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static OpportunityField<String> |
OPPORTUNITY
Use with available fluent helpers to apply the Opportunity field to query operations.
|
static OpportunityField<String> |
OPPORTUNITY_DESCRIPTION
Use with available fluent helpers to apply the OpportunityDescription field to query operations.
|
static OpportunityField<LocalDateTime> |
OPPORTUNITY_END_DATE
Use with available fluent helpers to apply the OpportunityEndDate field to query operations.
|
static OpportunityField<String> |
OPPORTUNITY_GROUP
Use with available fluent helpers to apply the OpportunityGroup field to query operations.
|
static OpportunityField<String> |
OPPORTUNITY_ORIGIN
Use with available fluent helpers to apply the OpportunityOrigin field to query operations.
|
static OpportunityField<String> |
OPPORTUNITY_PRIORITY
Use with available fluent helpers to apply the OpportunityPriority field to query operations.
|
static OpportunityField<String> |
OPPORTUNITY_PROCESS_TYPE
Use with available fluent helpers to apply the OpportunityProcessType field to query operations.
|
static OpportunityField<LocalDateTime> |
OPPORTUNITY_START_DATE
Use with available fluent helpers to apply the OpportunityStartDate field to query operations.
|
static OpportunityField<String> |
OPPORTUNITY_STATUS
Use with available fluent helpers to apply the OpportunityStatus field to query operations.
|
static OpportunityField<UUID> |
OPPORTUNITY_UUID
Use with available fluent helpers to apply the OpportunityUUID field to query operations.
|
static OpportunityField<String> |
PAYER_PARTY
Use with available fluent helpers to apply the PayerParty field to query operations.
|
static OpportunityField<LocalDateTime> |
POSTING_DATE
Use with available fluent helpers to apply the PostingDate field to query operations.
|
static OpportunityField<String> |
PROSPECT
Use with available fluent helpers to apply the Prospect field to query operations.
|
static OpportunityField<String> |
REFERENCE_LEAD
Use with available fluent helpers to apply the ReferenceLead field to query operations.
|
static OpportunityField<String> |
RESPONSIBLE_SALES_ORGANIZATION
Use with available fluent helpers to apply the ResponsibleSalesOrganization field to query operations.
|
static OpportunityField<String> |
SALES_GROUP_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesGroupOrgUnitID field to query operations.
|
static OpportunityField<String> |
SALES_OFFICE_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesOfficeOrgUnitID field to query operations.
|
static OpportunityField<String> |
SALES_ORGANIZATION_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesOrganizationOrgUnitID field to query operations.
|
static OpportunityField<String> |
SERVICE_ORGANIZATION
Use with available fluent helpers to apply the ServiceOrganization field to query operations.
|
static OpportunityLink<OpportunityItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static OpportunityLink<OpportunityPersonResp> |
TO_PERSON_RESPONSIBLE
Use with available fluent helpers to apply the to_PersonResponsible navigation property to query
operations.
|
static OpportunityLink<OpportunityFUPSalesOrder> |
TO_SALES_ORDER
Use with available fluent helpers to apply the to_SalesOrder navigation property to query operations.
|
static OpportunityLink<OpportunityFUPSalesQuotation> |
TO_SALES_QUOTATION
Use with available fluent helpers to apply the to_SalesQuotation navigation property to query operations.
|
static OpportunityLink<OpportunitySalesRep> |
TO_SALES_REPRESENTATIVE
Use with available fluent helpers to apply the to_SalesRepresentative navigation property to query
operations.
|
static OpportunityLink<OpportunityFUPServiceOrder> |
TO_SERVICE_ORDER
Use with available fluent helpers to apply the to_ServiceOrder navigation property to query operations.
|
static OpportunityLink<OpportunityText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Opportunity() |
Opportunity(String opportunity,
String opportunityProcessType,
String opportunityDescription,
UUID opportunityUUID,
String opportunityOrigin,
String opportunityPriority,
String opportunityGroup,
String opportunityStatus,
LocalDateTime opportunityStartDate,
LocalDateTime opportunityEndDate,
String chanceOfSuccessPercent,
String currentSalesStage,
LocalDateTime postingDate,
String distributionChannel,
String division,
String salesOrganizationOrgUnitID,
String salesOfficeOrgUnitID,
String salesGroupOrgUnitID,
String responsibleSalesOrganization,
String serviceOrganization,
String contactPerson,
String prospect,
String payerParty,
String competitor,
String referenceLead,
List<OpportunityItem> toItem,
List<OpportunityPersonResp> toPersonResponsible,
List<OpportunityFUPSalesOrder> toSalesOrder,
List<OpportunityFUPSalesQuotation> toSalesQuotation,
List<OpportunitySalesRep> toSalesRepresentative,
List<OpportunityFUPServiceOrder> toServiceOrder,
List<OpportunityText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(OpportunityItem... entity)
Adds elements to the list of associated OpportunityItem entities.
|
void |
addPersonResponsible(OpportunityPersonResp... entity)
Adds elements to the list of associated OpportunityPersonResp entities.
|
void |
addSalesOrder(OpportunityFUPSalesOrder... entity)
Adds elements to the list of associated OpportunityFUPSalesOrder entities.
|
void |
addSalesQuotation(OpportunityFUPSalesQuotation... entity)
Adds elements to the list of associated OpportunityFUPSalesQuotation entities.
|
void |
addSalesRepresentative(OpportunitySalesRep... entity)
Adds elements to the list of associated OpportunitySalesRep entities.
|
void |
addServiceOrder(OpportunityFUPServiceOrder... entity)
Adds elements to the list of associated OpportunityFUPServiceOrder entities.
|
void |
addText(OpportunityText... entity)
Adds elements to the list of associated OpportunityText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static Opportunity.OpportunityBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<OpportunityItem> |
fetchItem()
Fetches the OpportunityItem entities (one to many) associated with this entity.
|
List<OpportunityPersonResp> |
fetchPersonResponsible()
Fetches the OpportunityPersonResp entities (one to many) associated with this entity.
|
List<OpportunityFUPSalesOrder> |
fetchSalesOrder()
Fetches the OpportunityFUPSalesOrder entities (one to many) associated with this entity.
|
List<OpportunityFUPSalesQuotation> |
fetchSalesQuotation()
Fetches the OpportunityFUPSalesQuotation entities (one to many) associated with this entity.
|
List<OpportunitySalesRep> |
fetchSalesRepresentative()
Fetches the OpportunitySalesRep entities (one to many) associated with this entity.
|
List<OpportunityFUPServiceOrder> |
fetchServiceOrder()
Fetches the OpportunityFUPServiceOrder entities (one to many) associated with this entity.
|
List<OpportunityText> |
fetchText()
Fetches the OpportunityText entities (one to many) associated with this entity.
|
static <T> OpportunityField<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 |
getChanceOfSuccessPercent()
Constraints: Not nullable, Maximum length: 3
|
String |
getCompetitor()
Constraints: Not nullable, Maximum length: 10
|
String |
getContactPerson()
Constraints: Not nullable, Maximum length: 10
|
String |
getCurrentSalesStage()
Constraints: Not nullable, Maximum length: 3
|
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<OpportunityItem>> |
getItemIfPresent()
Retrieval of associated OpportunityItem entities (one to many).
|
List<OpportunityItem> |
getItemOrFetch()
Retrieval of associated OpportunityItem entities (one to many).
|
protected Map<String,Object> |
getKey() |
String |
getOpportunity()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getOpportunityDescription()
Constraints: Not nullable, Maximum length: 40
|
LocalDateTime |
getOpportunityEndDate()
Constraints: Not nullable, Precision: 0
|
String |
getOpportunityGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getOpportunityOrigin()
Constraints: Not nullable, Maximum length: 3
|
String |
getOpportunityPriority()
Constraints: Not nullable, Maximum length: 1
|
String |
getOpportunityProcessType()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getOpportunityStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getOpportunityStatus()
Constraints: Not nullable, Maximum length: 4
|
UUID |
getOpportunityUUID()
Constraints: none
|
String |
getPayerParty()
Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<OpportunityPersonResp>> |
getPersonResponsibleIfPresent()
Retrieval of associated OpportunityPersonResp entities (one to many).
|
List<OpportunityPersonResp> |
getPersonResponsibleOrFetch()
Retrieval of associated OpportunityPersonResp entities (one to many).
|
LocalDateTime |
getPostingDate()
Constraints: Not nullable, Precision: 0
|
String |
getProspect()
Constraints: Not nullable, Maximum length: 10
|
String |
getReferenceLead()
Constraints: Not nullable, Maximum length: 10
|
String |
getResponsibleSalesOrganization()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesGroupOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesOfficeOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
io.vavr.control.Option<List<OpportunityFUPSalesOrder>> |
getSalesOrderIfPresent()
Retrieval of associated OpportunityFUPSalesOrder entities (one to many).
|
List<OpportunityFUPSalesOrder> |
getSalesOrderOrFetch()
Retrieval of associated OpportunityFUPSalesOrder entities (one to many).
|
String |
getSalesOrganizationOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
io.vavr.control.Option<List<OpportunityFUPSalesQuotation>> |
getSalesQuotationIfPresent()
Retrieval of associated OpportunityFUPSalesQuotation entities (one to many).
|
List<OpportunityFUPSalesQuotation> |
getSalesQuotationOrFetch()
Retrieval of associated OpportunityFUPSalesQuotation entities (one to many).
|
io.vavr.control.Option<List<OpportunitySalesRep>> |
getSalesRepresentativeIfPresent()
Retrieval of associated OpportunitySalesRep entities (one to many).
|
List<OpportunitySalesRep> |
getSalesRepresentativeOrFetch()
Retrieval of associated OpportunitySalesRep entities (one to many).
|
io.vavr.control.Option<List<OpportunityFUPServiceOrder>> |
getServiceOrderIfPresent()
Retrieval of associated OpportunityFUPServiceOrder entities (one to many).
|
List<OpportunityFUPServiceOrder> |
getServiceOrderOrFetch()
Retrieval of associated OpportunityFUPServiceOrder entities (one to many).
|
String |
getServiceOrganization()
Constraints: Not nullable, Maximum length: 14
|
io.vavr.control.Option<List<OpportunityText>> |
getTextIfPresent()
Retrieval of associated OpportunityText entities (one to many).
|
List<OpportunityText> |
getTextOrFetch()
Retrieval of associated OpportunityText entities (one to many).
|
Class<Opportunity> |
getType() |
int |
hashCode() |
void |
setChanceOfSuccessPercent(String chanceOfSuccessPercent)
Constraints: Not nullable, Maximum length: 3
|
void |
setCompetitor(String competitor)
Constraints: Not nullable, Maximum length: 10
|
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setCurrentSalesStage(String currentSalesStage)
Constraints: Not nullable, Maximum length: 3
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
Constraints: Not nullable, Maximum length: 2
|
void |
setItem(List<OpportunityItem> value)
Overwrites the list of associated OpportunityItem entities for the loaded navigation property
to_Item.
|
void |
setOpportunity(String opportunity)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setOpportunityDescription(String opportunityDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setOpportunityEndDate(LocalDateTime opportunityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setOpportunityGroup(String opportunityGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setOpportunityOrigin(String opportunityOrigin)
Constraints: Not nullable, Maximum length: 3
|
void |
setOpportunityPriority(String opportunityPriority)
Constraints: Not nullable, Maximum length: 1
|
void |
setOpportunityProcessType(String opportunityProcessType)
Constraints: Not nullable, Maximum length: 4
|
void |
setOpportunityStartDate(LocalDateTime opportunityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setOpportunityStatus(String opportunityStatus)
Constraints: Not nullable, Maximum length: 4
|
void |
setOpportunityUUID(UUID opportunityUUID)
Constraints: none
|
void |
setPayerParty(String payerParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setPersonResponsible(List<OpportunityPersonResp> value)
Overwrites the list of associated OpportunityPersonResp entities for the loaded navigation property
to_PersonResponsible.
|
void |
setPostingDate(LocalDateTime postingDate)
Constraints: Not nullable, Precision: 0
|
void |
setProspect(String prospect)
Constraints: Not nullable, Maximum length: 10
|
void |
setReferenceLead(String referenceLead)
Constraints: Not nullable, Maximum length: 10
|
void |
setResponsibleSalesOrganization(String responsibleSalesOrganization)
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 |
setSalesOrder(List<OpportunityFUPSalesOrder> value)
Overwrites the list of associated OpportunityFUPSalesOrder entities for the loaded navigation property
to_SalesOrder.
|
void |
setSalesOrganizationOrgUnitID(String salesOrganizationOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesQuotation(List<OpportunityFUPSalesQuotation> value)
Overwrites the list of associated OpportunityFUPSalesQuotation entities for the loaded navigation property
to_SalesQuotation.
|
void |
setSalesRepresentative(List<OpportunitySalesRep> value)
Overwrites the list of associated OpportunitySalesRep entities for the loaded navigation property
to_SalesRepresentative.
|
void |
setServiceOrder(List<OpportunityFUPServiceOrder> value)
Overwrites the list of associated OpportunityFUPServiceOrder entities for the loaded navigation property
to_ServiceOrder.
|
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 |
setText(List<OpportunityText> value)
Overwrites the list of associated OpportunityText 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 OpportunitySelectable ALL_FIELDS
public static final OpportunityField<String> OPPORTUNITY
public static final OpportunityField<String> OPPORTUNITY_PROCESS_TYPE
public static final OpportunityField<String> OPPORTUNITY_DESCRIPTION
public static final OpportunityField<UUID> OPPORTUNITY_UUID
public static final OpportunityField<String> OPPORTUNITY_ORIGIN
public static final OpportunityField<String> OPPORTUNITY_PRIORITY
public static final OpportunityField<String> OPPORTUNITY_GROUP
public static final OpportunityField<String> OPPORTUNITY_STATUS
public static final OpportunityField<LocalDateTime> OPPORTUNITY_START_DATE
public static final OpportunityField<LocalDateTime> OPPORTUNITY_END_DATE
public static final OpportunityField<String> CHANCE_OF_SUCCESS_PERCENT
public static final OpportunityField<String> CURRENT_SALES_STAGE
public static final OpportunityField<LocalDateTime> POSTING_DATE
public static final OpportunityField<String> DISTRIBUTION_CHANNEL
public static final OpportunityField<String> DIVISION
public static final OpportunityField<String> SALES_ORGANIZATION_ORG_UNIT_ID
public static final OpportunityField<String> SALES_OFFICE_ORG_UNIT_ID
public static final OpportunityField<String> SALES_GROUP_ORG_UNIT_ID
public static final OpportunityField<String> RESPONSIBLE_SALES_ORGANIZATION
public static final OpportunityField<String> SERVICE_ORGANIZATION
public static final OpportunityField<String> CONTACT_PERSON
public static final OpportunityField<String> PROSPECT
public static final OpportunityField<String> PAYER_PARTY
public static final OpportunityField<String> COMPETITOR
public static final OpportunityField<String> REFERENCE_LEAD
public static final OpportunityLink<OpportunityItem> TO_ITEM
public static final OpportunityLink<OpportunityPersonResp> TO_PERSON_RESPONSIBLE
public static final OpportunityLink<OpportunityFUPSalesOrder> TO_SALES_ORDER
public static final OpportunityLink<OpportunityFUPSalesQuotation> TO_SALES_QUOTATION
public static final OpportunityLink<OpportunitySalesRep> TO_SALES_REPRESENTATIVE
public static final OpportunityLink<OpportunityFUPServiceOrder> TO_SERVICE_ORDER
public static final OpportunityLink<OpportunityText> TO_TEXT
public Opportunity()
public Opportunity(@Nullable String opportunity, @Nullable String opportunityProcessType, @Nullable String opportunityDescription, @Nullable UUID opportunityUUID, @Nullable String opportunityOrigin, @Nullable String opportunityPriority, @Nullable String opportunityGroup, @Nullable String opportunityStatus, @Nullable LocalDateTime opportunityStartDate, @Nullable LocalDateTime opportunityEndDate, @Nullable String chanceOfSuccessPercent, @Nullable String currentSalesStage, @Nullable LocalDateTime postingDate, @Nullable String distributionChannel, @Nullable String division, @Nullable String salesOrganizationOrgUnitID, @Nullable String salesOfficeOrgUnitID, @Nullable String salesGroupOrgUnitID, @Nullable String responsibleSalesOrganization, @Nullable String serviceOrganization, @Nullable String contactPerson, @Nullable String prospect, @Nullable String payerParty, @Nullable String competitor, @Nullable String referenceLead, List<OpportunityItem> toItem, List<OpportunityPersonResp> toPersonResponsible, List<OpportunityFUPSalesOrder> toSalesOrder, List<OpportunityFUPSalesQuotation> toSalesQuotation, List<OpportunitySalesRep> toSalesRepresentative, List<OpportunityFUPServiceOrder> toServiceOrder, List<OpportunityText> toText)
@Nonnull public Class<Opportunity> getType()
getType
in class VdmObject<Opportunity>
public void setOpportunity(@Nullable String opportunity)
Original property name from the Odata EDM: Opportunity
opportunity
- Transaction IDpublic void setOpportunityProcessType(@Nullable String opportunityProcessType)
Original property name from the Odata EDM: OpportunityProcessType
opportunityProcessType
- Business Transaction Typepublic void setOpportunityDescription(@Nullable String opportunityDescription)
Original property name from the Odata EDM: OpportunityDescription
opportunityDescription
- Transaction Descriptionpublic void setOpportunityUUID(@Nullable UUID opportunityUUID)
Original property name from the Odata EDM: OpportunityUUID
opportunityUUID
- GUID of a CRM Order Objectpublic void setOpportunityOrigin(@Nullable String opportunityOrigin)
Original property name from the Odata EDM: OpportunityOrigin
opportunityOrigin
- Origin of Opportunity/Leadpublic void setOpportunityPriority(@Nullable String opportunityPriority)
Original property name from the Odata EDM: OpportunityPriority
opportunityPriority
- Activity Prioritypublic void setOpportunityGroup(@Nullable String opportunityGroup)
Original property name from the Odata EDM: OpportunityGroup
opportunityGroup
- Opportunity Typepublic void setOpportunityStatus(@Nullable String opportunityStatus)
Original property name from the Odata EDM: OpportunityStatus
opportunityStatus
- Opportunity Lifecycle Statuspublic void setOpportunityStartDate(@Nullable LocalDateTime opportunityStartDate)
Original property name from the Odata EDM: OpportunityStartDate
opportunityStartDate
- Opportunity Start Datepublic void setOpportunityEndDate(@Nullable LocalDateTime opportunityEndDate)
Original property name from the Odata EDM: OpportunityEndDate
opportunityEndDate
- Expected Closing Datepublic void setChanceOfSuccessPercent(@Nullable String chanceOfSuccessPercent)
Original property name from the Odata EDM: ChanceOfSuccessPercent
chanceOfSuccessPercent
- Order Probabilitypublic void setCurrentSalesStage(@Nullable String currentSalesStage)
Original property name from the Odata EDM: CurrentSalesStage
currentSalesStage
- Sales Stagepublic void setPostingDate(@Nullable LocalDateTime postingDate)
Original property name from the Odata EDM: PostingDate
postingDate
- Posting Date for a Business Transactionpublic 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 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 Prospectpublic void setPayerParty(@Nullable String payerParty)
Original property name from the Odata EDM: PayerParty
payerParty
- Payerpublic void setCompetitor(@Nullable String competitor)
Original property name from the Odata EDM: Competitor
competitor
- Competitorpublic void setReferenceLead(@Nullable String referenceLead)
Original property name from the Odata EDM: ReferenceLead
referenceLead
- Transaction IDprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<Opportunity>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<Opportunity>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Opportunity>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<Opportunity>
@Nonnull public static <T> OpportunityField<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> OpportunityField<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<Opportunity>
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<Opportunity>
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<Opportunity>
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<Opportunity>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<Opportunity>
@Nonnull public List<OpportunityItem> 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<OpportunityItem> getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried Opportunity 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<OpportunityItem>> getItemIfPresent()
If the navigation property for an entity Opportunity 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<OpportunityItem> value)
If the navigation property to_Item of a queried Opportunity 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 OpportunityItem entities.public void addItem(OpportunityItem... entity)
If the navigation property to_Item of a queried Opportunity 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 OpportunityItem entities.@Nonnull public List<OpportunityPersonResp> 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<OpportunityPersonResp> getPersonResponsibleOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PersonResponsible of a queried Opportunity 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<OpportunityPersonResp>> getPersonResponsibleIfPresent()
If the navigation property for an entity Opportunity 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<OpportunityPersonResp> value)
If the navigation property to_PersonResponsible of a queried Opportunity 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 OpportunityPersonResp entities.public void addPersonResponsible(OpportunityPersonResp... entity)
If the navigation property to_PersonResponsible of a queried Opportunity 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 OpportunityPersonResp entities.@Nonnull public List<OpportunityFUPSalesOrder> fetchSalesOrder() 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<OpportunityFUPSalesOrder> getSalesOrderOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SalesOrder of a queried Opportunity 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<OpportunityFUPSalesOrder>> getSalesOrderIfPresent()
If the navigation property for an entity Opportunity 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 setSalesOrder(@Nonnull List<OpportunityFUPSalesOrder> value)
If the navigation property to_SalesOrder of a queried Opportunity 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 OpportunityFUPSalesOrder entities.public void addSalesOrder(OpportunityFUPSalesOrder... entity)
If the navigation property to_SalesOrder of a queried Opportunity 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 OpportunityFUPSalesOrder entities.@Nonnull public List<OpportunityFUPSalesQuotation> fetchSalesQuotation() 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<OpportunityFUPSalesQuotation> getSalesQuotationOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SalesQuotation of a queried Opportunity 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<OpportunityFUPSalesQuotation>> getSalesQuotationIfPresent()
If the navigation property for an entity Opportunity 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 setSalesQuotation(@Nonnull List<OpportunityFUPSalesQuotation> value)
If the navigation property to_SalesQuotation of a queried Opportunity 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 OpportunityFUPSalesQuotation entities.public void addSalesQuotation(OpportunityFUPSalesQuotation... entity)
If the navigation property to_SalesQuotation of a queried Opportunity 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 OpportunityFUPSalesQuotation entities.@Nonnull public List<OpportunitySalesRep> fetchSalesRepresentative() 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<OpportunitySalesRep> getSalesRepresentativeOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SalesRepresentative of a queried Opportunity 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<OpportunitySalesRep>> getSalesRepresentativeIfPresent()
If the navigation property for an entity Opportunity 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 setSalesRepresentative(@Nonnull List<OpportunitySalesRep> value)
If the navigation property to_SalesRepresentative of a queried Opportunity 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 OpportunitySalesRep entities.public void addSalesRepresentative(OpportunitySalesRep... entity)
If the navigation property to_SalesRepresentative of a queried Opportunity 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 OpportunitySalesRep entities.@Nonnull public List<OpportunityFUPServiceOrder> fetchServiceOrder() 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<OpportunityFUPServiceOrder> getServiceOrderOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ServiceOrder of a queried Opportunity 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<OpportunityFUPServiceOrder>> getServiceOrderIfPresent()
If the navigation property for an entity Opportunity 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 setServiceOrder(@Nonnull List<OpportunityFUPServiceOrder> value)
If the navigation property to_ServiceOrder of a queried Opportunity 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 OpportunityFUPServiceOrder entities.public void addServiceOrder(OpportunityFUPServiceOrder... entity)
If the navigation property to_ServiceOrder of a queried Opportunity 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 OpportunityFUPServiceOrder entities.@Nonnull public List<OpportunityText> 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<OpportunityText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried Opportunity 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<OpportunityText>> getTextIfPresent()
If the navigation property for an entity Opportunity 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<OpportunityText> value)
If the navigation property to_Text of a queried Opportunity 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 OpportunityText entities.public void addText(OpportunityText... entity)
If the navigation property to_Text of a queried Opportunity 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 OpportunityText entities.@Nonnull public static Opportunity.OpportunityBuilder builder()
@Nullable public String getOpportunity()
Original property name from the Odata EDM: Opportunity
@Nullable public String getOpportunityProcessType()
Original property name from the Odata EDM: OpportunityProcessType
@Nullable public String getOpportunityDescription()
Original property name from the Odata EDM: OpportunityDescription
@Nullable public UUID getOpportunityUUID()
Original property name from the Odata EDM: OpportunityUUID
@Nullable public String getOpportunityOrigin()
Original property name from the Odata EDM: OpportunityOrigin
@Nullable public String getOpportunityPriority()
Original property name from the Odata EDM: OpportunityPriority
@Nullable public String getOpportunityGroup()
Original property name from the Odata EDM: OpportunityGroup
@Nullable public String getOpportunityStatus()
Original property name from the Odata EDM: OpportunityStatus
@Nullable public LocalDateTime getOpportunityStartDate()
Original property name from the Odata EDM: OpportunityStartDate
@Nullable public LocalDateTime getOpportunityEndDate()
Original property name from the Odata EDM: OpportunityEndDate
@Nullable public String getChanceOfSuccessPercent()
Original property name from the Odata EDM: ChanceOfSuccessPercent
@Nullable public String getCurrentSalesStage()
Original property name from the Odata EDM: CurrentSalesStage
@Nullable public LocalDateTime getPostingDate()
Original property name from the Odata EDM: PostingDate
@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 getContactPerson()
Original property name from the Odata EDM: ContactPerson
@Nullable public String getProspect()
Original property name from the Odata EDM: Prospect
@Nullable public String getPayerParty()
Original property name from the Odata EDM: PayerParty
@Nullable public String getCompetitor()
Original property name from the Odata EDM: Competitor
@Nullable public String getReferenceLead()
Original property name from the Odata EDM: ReferenceLead
@Nonnull public String toString()
toString
in class VdmObject<Opportunity>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<Opportunity>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<Opportunity>
public int hashCode()
hashCode
in class VdmObject<Opportunity>
Copyright © 2021 SAP SE. All rights reserved.