public class SubscriptionContractHeader extends VdmEntity<SubscriptionContractHeader>
Original entity name from the Odata EDM: SubscriptionContractHeaderType
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionContractHeader.SubscriptionContractHeaderBuilder
Helper class to allow for fluent creation of SubscriptionContractHeader instances.
|
Modifier and Type | Field and Description |
---|---|
static SubscriptionContractHeaderSelectable |
ALL_FIELDS
Selector for all available fields of SubscriptionContractHeader.
|
static SubscriptionContractHeaderField<String> |
BILL_TO_PARTY
Use with available fluent helpers to apply the BillToParty field to query operations.
|
static SubscriptionContractHeaderField<String> |
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations.
|
static SubscriptionContractHeaderField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static SubscriptionContractHeaderField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static SubscriptionContractHeaderField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static SubscriptionContractHeaderField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static SubscriptionContractHeaderField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static SubscriptionContractHeaderField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static SubscriptionContractHeaderField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static SubscriptionContractHeaderField<String> |
PAYER_PARTY
Use with available fluent helpers to apply the PayerParty field to query operations.
|
static SubscriptionContractHeaderField<String> |
PERSON_RESPONSIBLE
Use with available fluent helpers to apply the PersonResponsible field to query operations.
|
static SubscriptionContractHeaderField<String> |
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations.
|
static SubscriptionContractHeaderField<String> |
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations.
|
static SubscriptionContractHeaderField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static SubscriptionContractHeaderField<String> |
SHIP_TO_PARTY
Use with available fluent helpers to apply the ShipToParty field to query operations.
|
static SubscriptionContractHeaderField<String> |
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations.
|
static SubscriptionContractHeaderField<String> |
SUBSCRIPTION_CONTRACT
Use with available fluent helpers to apply the SubscriptionContract field to query operations.
|
static SubscriptionContractHeaderField<String> |
SUBSCRIPTION_CONTRACT_TYPE
Use with available fluent helpers to apply the SubscriptionContractType field to query operations.
|
static SubscriptionContractHeaderField<UUID> |
SUBSCRIPTION_CONTRACT_UUID
Use with available fluent helpers to apply the SubscriptionContractUUID field to query operations.
|
static SubscriptionContractHeaderField<String> |
SUBSCRPN_CONTRACT_DESCRIPTION
Use with available fluent helpers to apply the SubscrpnContractDescription field to query operations.
|
static SubscriptionContractHeaderField<String> |
SUBSCRPN_CONTRACT_IS_COMPLETED
Use with available fluent helpers to apply the SubscrpnContractIsCompleted field to query operations.
|
static SubscriptionContractHeaderLink<SbscrContrFUPSubscrpnOrd> |
TO_FOLLOW_UP_SUBSCRIPTION_ORDER
Use with available fluent helpers to apply the to_FollowUpSubscriptionOrder navigation property to query
operations.
|
static SubscriptionContractHeaderLink<SubscriptionContractItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static SubscriptionContractHeaderLink<SbscrContrPrdcssrBusSolnQtn> |
TO_PREDECESSOR_SOLUTION_QUOTATION
Use with available fluent helpers to apply the to_PredecessorSolutionQuotation navigation property to
query operations.
|
static SubscriptionContractHeaderLink<SbscrContrPrdcssrSubscrpnOrd> |
TO_PREDECESSOR_SUBSCRIPTION_ORDER
Use with available fluent helpers to apply the to_PredecessorSubscriptionOrder navigation property to
query operations.
|
static SubscriptionContractHeaderLink<SubscriptionContractText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SubscriptionContractHeader() |
SubscriptionContractHeader(String subscriptionContract,
String subscriptionContractType,
String subscrpnContractDescription,
UUID subscriptionContractUUID,
String language,
String subscrpnContractIsCompleted,
String salesOrganization,
String distributionChannel,
String division,
String salesOffice,
String salesGroup,
String soldToParty,
String shipToParty,
String billToParty,
String payerParty,
String personResponsible,
String contactPerson,
String createdByUser,
ZonedDateTime creationDateTime,
String lastChangedByUser,
ZonedDateTime lastChangeDateTime,
List<SbscrContrFUPSubscrpnOrd> toFollowUpSubscriptionOrder,
List<SubscriptionContractItem> toItem,
List<SbscrContrPrdcssrBusSolnQtn> toPredecessorSolutionQuotation,
List<SbscrContrPrdcssrSubscrpnOrd> toPredecessorSubscriptionOrder,
List<SubscriptionContractText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addFollowUpSubscriptionOrder(SbscrContrFUPSubscrpnOrd... entity)
Adds elements to the list of associated SbscrContrFUPSubscrpnOrd entities.
|
void |
addItem(SubscriptionContractItem... entity)
Adds elements to the list of associated SubscriptionContractItem entities.
|
void |
addPredecessorSolutionQuotation(SbscrContrPrdcssrBusSolnQtn... entity)
Adds elements to the list of associated SbscrContrPrdcssrBusSolnQtn entities.
|
void |
addPredecessorSubscriptionOrder(SbscrContrPrdcssrSubscrpnOrd... entity)
Adds elements to the list of associated SbscrContrPrdcssrSubscrpnOrd entities.
|
void |
addText(SubscriptionContractText... entity)
Adds elements to the list of associated SubscriptionContractText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SubscriptionContractHeader.SubscriptionContractHeaderBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<SbscrContrFUPSubscrpnOrd> |
fetchFollowUpSubscriptionOrder()
Fetches the SbscrContrFUPSubscrpnOrd entities (one to many) associated with this entity.
|
List<SubscriptionContractItem> |
fetchItem()
Fetches the SubscriptionContractItem entities (one to many) associated with this entity.
|
List<SbscrContrPrdcssrBusSolnQtn> |
fetchPredecessorSolutionQuotation()
Fetches the SbscrContrPrdcssrBusSolnQtn entities (one to many) associated with this entity.
|
List<SbscrContrPrdcssrSubscrpnOrd> |
fetchPredecessorSubscriptionOrder()
Fetches the SbscrContrPrdcssrSubscrpnOrd entities (one to many) associated with this entity.
|
List<SubscriptionContractText> |
fetchText()
Fetches the SubscriptionContractText entities (one to many) associated with this entity.
|
static <T> SubscriptionContractHeaderField<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 |
getBillToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getContactPerson()
Constraints: Not nullable, Maximum length: 10
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
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<SbscrContrFUPSubscrpnOrd>> |
getFollowUpSubscriptionOrderIfPresent()
Retrieval of associated SbscrContrFUPSubscrpnOrd entities (one to many).
|
List<SbscrContrFUPSubscrpnOrd> |
getFollowUpSubscriptionOrderOrFetch()
Retrieval of associated SbscrContrFUPSubscrpnOrd entities (one to many).
|
io.vavr.control.Option<List<SubscriptionContractItem>> |
getItemIfPresent()
Retrieval of associated SubscriptionContractItem entities (one to many).
|
List<SubscriptionContractItem> |
getItemOrFetch()
Retrieval of associated SubscriptionContractItem entities (one to many).
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getPayerParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getPersonResponsible()
Constraints: Not nullable, Maximum length: 12
|
io.vavr.control.Option<List<SbscrContrPrdcssrBusSolnQtn>> |
getPredecessorSolutionQuotationIfPresent()
Retrieval of associated SbscrContrPrdcssrBusSolnQtn entities (one to many).
|
List<SbscrContrPrdcssrBusSolnQtn> |
getPredecessorSolutionQuotationOrFetch()
Retrieval of associated SbscrContrPrdcssrBusSolnQtn entities (one to many).
|
io.vavr.control.Option<List<SbscrContrPrdcssrSubscrpnOrd>> |
getPredecessorSubscriptionOrderIfPresent()
Retrieval of associated SbscrContrPrdcssrSubscrpnOrd entities (one to many).
|
List<SbscrContrPrdcssrSubscrpnOrd> |
getPredecessorSubscriptionOrderOrFetch()
Retrieval of associated SbscrContrPrdcssrSubscrpnOrd entities (one to many).
|
String |
getSalesGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getSalesOffice()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getShipToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getSoldToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getSubscriptionContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSubscriptionContractType()
Constraints: Not nullable, Maximum length: 4
|
UUID |
getSubscriptionContractUUID()
Constraints: none
|
String |
getSubscrpnContractDescription()
Constraints: Not nullable, Maximum length: 40
|
String |
getSubscrpnContractIsCompleted()
Constraints: Not nullable, Maximum length: 1
|
io.vavr.control.Option<List<SubscriptionContractText>> |
getTextIfPresent()
Retrieval of associated SubscriptionContractText entities (one to many).
|
List<SubscriptionContractText> |
getTextOrFetch()
Retrieval of associated SubscriptionContractText entities (one to many).
|
Class<SubscriptionContractHeader> |
getType() |
int |
hashCode() |
void |
setBillToParty(String billToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
Constraints: Not nullable, Maximum length: 2
|
void |
setFollowUpSubscriptionOrder(List<SbscrContrFUPSubscrpnOrd> value)
Overwrites the list of associated SbscrContrFUPSubscrpnOrd entities for the loaded navigation property
to_FollowUpSubscriptionOrder.
|
void |
setItem(List<SubscriptionContractItem> value)
Overwrites the list of associated SubscriptionContractItem entities for the loaded navigation property
to_Item.
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setPayerParty(String payerParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setPersonResponsible(String personResponsible)
Constraints: Not nullable, Maximum length: 12
|
void |
setPredecessorSolutionQuotation(List<SbscrContrPrdcssrBusSolnQtn> value)
Overwrites the list of associated SbscrContrPrdcssrBusSolnQtn entities for the loaded navigation property
to_PredecessorSolutionQuotation.
|
void |
setPredecessorSubscriptionOrder(List<SbscrContrPrdcssrSubscrpnOrd> value)
Overwrites the list of associated SbscrContrPrdcssrSubscrpnOrd entities for the loaded navigation property
to_PredecessorSubscriptionOrder.
|
void |
setSalesGroup(String salesGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setSalesOffice(String salesOffice)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganization(String salesOrganization)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setShipToParty(String shipToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setSoldToParty(String soldToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setSubscriptionContract(String subscriptionContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSubscriptionContractType(String subscriptionContractType)
Constraints: Not nullable, Maximum length: 4
|
void |
setSubscriptionContractUUID(UUID subscriptionContractUUID)
Constraints: none
|
void |
setSubscrpnContractDescription(String subscrpnContractDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setSubscrpnContractIsCompleted(String subscrpnContractIsCompleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setText(List<SubscriptionContractText> value)
Overwrites the list of associated SubscriptionContractText 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 SubscriptionContractHeaderSelectable ALL_FIELDS
public static final SubscriptionContractHeaderField<String> SUBSCRIPTION_CONTRACT
public static final SubscriptionContractHeaderField<String> SUBSCRIPTION_CONTRACT_TYPE
public static final SubscriptionContractHeaderField<String> SUBSCRPN_CONTRACT_DESCRIPTION
public static final SubscriptionContractHeaderField<UUID> SUBSCRIPTION_CONTRACT_UUID
public static final SubscriptionContractHeaderField<String> LANGUAGE
public static final SubscriptionContractHeaderField<String> SUBSCRPN_CONTRACT_IS_COMPLETED
public static final SubscriptionContractHeaderField<String> SALES_ORGANIZATION
public static final SubscriptionContractHeaderField<String> DISTRIBUTION_CHANNEL
public static final SubscriptionContractHeaderField<String> DIVISION
public static final SubscriptionContractHeaderField<String> SALES_OFFICE
public static final SubscriptionContractHeaderField<String> SALES_GROUP
public static final SubscriptionContractHeaderField<String> SOLD_TO_PARTY
public static final SubscriptionContractHeaderField<String> SHIP_TO_PARTY
public static final SubscriptionContractHeaderField<String> BILL_TO_PARTY
public static final SubscriptionContractHeaderField<String> PAYER_PARTY
public static final SubscriptionContractHeaderField<String> PERSON_RESPONSIBLE
public static final SubscriptionContractHeaderField<String> CONTACT_PERSON
public static final SubscriptionContractHeaderField<String> CREATED_BY_USER
public static final SubscriptionContractHeaderField<ZonedDateTime> CREATION_DATE_TIME
public static final SubscriptionContractHeaderField<String> LAST_CHANGED_BY_USER
public static final SubscriptionContractHeaderField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final SubscriptionContractHeaderLink<SbscrContrFUPSubscrpnOrd> TO_FOLLOW_UP_SUBSCRIPTION_ORDER
public static final SubscriptionContractHeaderLink<SubscriptionContractItem> TO_ITEM
public static final SubscriptionContractHeaderLink<SbscrContrPrdcssrBusSolnQtn> TO_PREDECESSOR_SOLUTION_QUOTATION
public static final SubscriptionContractHeaderLink<SbscrContrPrdcssrSubscrpnOrd> TO_PREDECESSOR_SUBSCRIPTION_ORDER
public static final SubscriptionContractHeaderLink<SubscriptionContractText> TO_TEXT
public SubscriptionContractHeader()
public SubscriptionContractHeader(@Nullable String subscriptionContract, @Nullable String subscriptionContractType, @Nullable String subscrpnContractDescription, @Nullable UUID subscriptionContractUUID, @Nullable String language, @Nullable String subscrpnContractIsCompleted, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String salesOffice, @Nullable String salesGroup, @Nullable String soldToParty, @Nullable String shipToParty, @Nullable String billToParty, @Nullable String payerParty, @Nullable String personResponsible, @Nullable String contactPerson, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable ZonedDateTime lastChangeDateTime, List<SbscrContrFUPSubscrpnOrd> toFollowUpSubscriptionOrder, List<SubscriptionContractItem> toItem, List<SbscrContrPrdcssrBusSolnQtn> toPredecessorSolutionQuotation, List<SbscrContrPrdcssrSubscrpnOrd> toPredecessorSubscriptionOrder, List<SubscriptionContractText> toText)
@Nonnull public Class<SubscriptionContractHeader> getType()
getType
in class VdmObject<SubscriptionContractHeader>
public void setSubscriptionContract(@Nullable String subscriptionContract)
Original property name from the Odata EDM: SubscriptionContract
subscriptionContract
- Transaction IDpublic void setSubscriptionContractType(@Nullable String subscriptionContractType)
Original property name from the Odata EDM: SubscriptionContractType
subscriptionContractType
- Business Transaction Typepublic void setSubscrpnContractDescription(@Nullable String subscrpnContractDescription)
Original property name from the Odata EDM: SubscrpnContractDescription
subscrpnContractDescription
- Transaction Descriptionpublic void setSubscriptionContractUUID(@Nullable UUID subscriptionContractUUID)
Original property name from the Odata EDM: SubscriptionContractUUID
subscriptionContractUUID
- GUID of a CRM Order Objectpublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Key of Descriptionpublic void setSubscrpnContractIsCompleted(@Nullable String subscrpnContractIsCompleted)
Original property name from the Odata EDM: SubscrpnContractIsCompleted
subscrpnContractIsCompleted
- The subscrpnContractIsCompleted to set.public void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: SalesOrganization
salesOrganization
- Sales Organizationpublic 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 setSalesOffice(@Nullable String salesOffice)
Original property name from the Odata EDM: SalesOffice
salesOffice
- Sales officepublic void setSalesGroup(@Nullable String salesGroup)
Original property name from the Odata EDM: SalesGroup
salesGroup
- Sales grouppublic void setSoldToParty(@Nullable String soldToParty)
Original property name from the Odata EDM: SoldToParty
soldToParty
- Sold-To Partypublic void setShipToParty(@Nullable String shipToParty)
Original property name from the Odata EDM: ShipToParty
shipToParty
- Ship-To Partypublic void setBillToParty(@Nullable String billToParty)
Original property name from the Odata EDM: BillToParty
billToParty
- Bill-To Partypublic void setPayerParty(@Nullable String payerParty)
Original property name from the Odata EDM: PayerParty
payerParty
- Payerpublic void setPersonResponsible(@Nullable String personResponsible)
Original property name from the Odata EDM: PersonResponsible
personResponsible
- The personResponsible to set.public void setContactPerson(@Nullable String contactPerson)
Original property name from the Odata EDM: ContactPerson
contactPerson
- The contactPerson to set.public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- User that Created the Transactionpublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Created Atpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Transaction Last Changed Bypublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Changed Atprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SubscriptionContractHeader>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SubscriptionContractHeader>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SubscriptionContractHeader>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SubscriptionContractHeader>
@Nonnull public static <T> SubscriptionContractHeaderField<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> SubscriptionContractHeaderField<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<SubscriptionContractHeader>
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<SubscriptionContractHeader>
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<SubscriptionContractHeader>
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<SubscriptionContractHeader>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SubscriptionContractHeader>
@Nonnull public List<SbscrContrFUPSubscrpnOrd> fetchFollowUpSubscriptionOrder() 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<SbscrContrFUPSubscrpnOrd> getFollowUpSubscriptionOrderOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_FollowUpSubscriptionOrder of a queried SubscriptionContractHeader 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<SbscrContrFUPSubscrpnOrd>> getFollowUpSubscriptionOrderIfPresent()
If the navigation property for an entity SubscriptionContractHeader 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 setFollowUpSubscriptionOrder(@Nonnull List<SbscrContrFUPSubscrpnOrd> value)
If the navigation property to_FollowUpSubscriptionOrder of a queried SubscriptionContractHeader 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 SbscrContrFUPSubscrpnOrd entities.public void addFollowUpSubscriptionOrder(SbscrContrFUPSubscrpnOrd... entity)
If the navigation property to_FollowUpSubscriptionOrder of a queried SubscriptionContractHeader 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 SbscrContrFUPSubscrpnOrd entities.@Nonnull public List<SubscriptionContractItem> 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<SubscriptionContractItem> getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried SubscriptionContractHeader 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<SubscriptionContractItem>> getItemIfPresent()
If the navigation property for an entity SubscriptionContractHeader 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<SubscriptionContractItem> value)
If the navigation property to_Item of a queried SubscriptionContractHeader 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 SubscriptionContractItem entities.public void addItem(SubscriptionContractItem... entity)
If the navigation property to_Item of a queried SubscriptionContractHeader 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 SubscriptionContractItem entities.@Nonnull public List<SbscrContrPrdcssrBusSolnQtn> fetchPredecessorSolutionQuotation() 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<SbscrContrPrdcssrBusSolnQtn> getPredecessorSolutionQuotationOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PredecessorSolutionQuotation of a queried SubscriptionContractHeader 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<SbscrContrPrdcssrBusSolnQtn>> getPredecessorSolutionQuotationIfPresent()
If the navigation property for an entity SubscriptionContractHeader 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 setPredecessorSolutionQuotation(@Nonnull List<SbscrContrPrdcssrBusSolnQtn> value)
If the navigation property to_PredecessorSolutionQuotation of a queried SubscriptionContractHeader 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 SbscrContrPrdcssrBusSolnQtn entities.public void addPredecessorSolutionQuotation(SbscrContrPrdcssrBusSolnQtn... entity)
If the navigation property to_PredecessorSolutionQuotation of a queried SubscriptionContractHeader 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 SbscrContrPrdcssrBusSolnQtn entities.@Nonnull public List<SbscrContrPrdcssrSubscrpnOrd> fetchPredecessorSubscriptionOrder() 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<SbscrContrPrdcssrSubscrpnOrd> getPredecessorSubscriptionOrderOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PredecessorSubscriptionOrder of a queried SubscriptionContractHeader 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<SbscrContrPrdcssrSubscrpnOrd>> getPredecessorSubscriptionOrderIfPresent()
If the navigation property for an entity SubscriptionContractHeader 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 setPredecessorSubscriptionOrder(@Nonnull List<SbscrContrPrdcssrSubscrpnOrd> value)
If the navigation property to_PredecessorSubscriptionOrder of a queried SubscriptionContractHeader 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 SbscrContrPrdcssrSubscrpnOrd entities.public void addPredecessorSubscriptionOrder(SbscrContrPrdcssrSubscrpnOrd... entity)
If the navigation property to_PredecessorSubscriptionOrder of a queried SubscriptionContractHeader 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 SbscrContrPrdcssrSubscrpnOrd entities.@Nonnull public List<SubscriptionContractText> 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<SubscriptionContractText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried SubscriptionContractHeader 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<SubscriptionContractText>> getTextIfPresent()
If the navigation property for an entity SubscriptionContractHeader 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<SubscriptionContractText> value)
If the navigation property to_Text of a queried SubscriptionContractHeader 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 SubscriptionContractText entities.public void addText(SubscriptionContractText... entity)
If the navigation property to_Text of a queried SubscriptionContractHeader 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 SubscriptionContractText entities.@Nonnull public static SubscriptionContractHeader.SubscriptionContractHeaderBuilder builder()
@Nullable public String getSubscriptionContract()
Original property name from the Odata EDM: SubscriptionContract
@Nullable public String getSubscriptionContractType()
Original property name from the Odata EDM: SubscriptionContractType
@Nullable public String getSubscrpnContractDescription()
Original property name from the Odata EDM: SubscrpnContractDescription
@Nullable public UUID getSubscriptionContractUUID()
Original property name from the Odata EDM: SubscriptionContractUUID
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getSubscrpnContractIsCompleted()
Original property name from the Odata EDM: SubscrpnContractIsCompleted
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: SalesOrganization
@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 getSalesOffice()
Original property name from the Odata EDM: SalesOffice
@Nullable public String getSalesGroup()
Original property name from the Odata EDM: SalesGroup
@Nullable public String getSoldToParty()
Original property name from the Odata EDM: SoldToParty
@Nullable public String getShipToParty()
Original property name from the Odata EDM: ShipToParty
@Nullable public String getBillToParty()
Original property name from the Odata EDM: BillToParty
@Nullable public String getPayerParty()
Original property name from the Odata EDM: PayerParty
@Nullable public String getPersonResponsible()
Original property name from the Odata EDM: PersonResponsible
@Nullable public String getContactPerson()
Original property name from the Odata EDM: ContactPerson
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nonnull public String toString()
toString
in class VdmObject<SubscriptionContractHeader>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SubscriptionContractHeader>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SubscriptionContractHeader>
public int hashCode()
hashCode
in class VdmObject<SubscriptionContractHeader>
Copyright © 2021 SAP SE. All rights reserved.