Class SupplierActivity
Original entity name from the Odata EDM: A_SupplierActivityType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SupplierActivity instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SupplierActivitySelectableSelector for all available fields of SupplierActivity.static final SupplierActivityField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final SupplierActivityField<ZonedDateTime>Use with available fluent helpers to apply the CreationDateTime field to query operations.static final SupplierActivityField<LocalDateTime>Use with available fluent helpers to apply the EndDate field to query operations.static final SupplierActivityField<String>Use with available fluent helpers to apply the Language field to query operations.static final SupplierActivityField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final SupplierActivityField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final SupplierActivityField<UUID>Use with available fluent helpers to apply the PurgCatUUID field to query operations.static final SupplierActivityField<LocalDateTime>Use with available fluent helpers to apply the StartDate field to query operations.static final SupplierActivityField<String>Use with available fluent helpers to apply the SuplrActyLifecycleStatus field to query operations.static final SupplierActivityField<String>Use with available fluent helpers to apply the SuplrActyName field to query operations.static final SupplierActivityField<String>Use with available fluent helpers to apply the SuplrActyPriority field to query operations.static final SupplierActivityField<String>Use with available fluent helpers to apply the SuplrActyType field to query operations.static final SupplierActivityField<UUID>Use with available fluent helpers to apply the SuplrActyUUID field to query operations.static final SupplierActivityField<String>Use with available fluent helpers to apply the SupplierActivity field to query operations.static final SupplierActivityLink<SuplrActyDescription>Use with available fluent helpers to apply the to_SuplrActyDescription navigation property to query operations.static final SupplierActivityOneToOneLink<SuplrActyParticipant>Use with available fluent helpers to apply the to_SuplrActyParticipant navigation property to query operations.static final SupplierActivityOneToOneLink<SuplrActyPurchaserResp>Use with available fluent helpers to apply the to_SuplrActyPurchaserResp navigation property to query operations.static final SupplierActivityLink<SuplrActySupplier>Use with available fluent helpers to apply the to_SuplrActySupplier navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSupplierActivity(UUID suplrActyUUID, String supplierActivity, UUID purgCatUUID, String suplrActyName, LocalDateTime startDate, LocalDateTime endDate, String suplrActyPriority, String suplrActyType, String createdByUser, ZonedDateTime creationDateTime, String lastChangedByUser, ZonedDateTime lastChangeDateTime, String suplrActyLifecycleStatus, String language, List<SuplrActyDescription> toSuplrActyDescription, SuplrActyParticipant toSuplrActyParticipant, SuplrActyPurchaserResp toSuplrActyPurchaserResp, List<SuplrActySupplier> toSuplrActySupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSuplrActyDescription(SuplrActyDescription... entity) Adds elements to the list of associated SuplrActyDescription entities.voidaddSuplrActySupplier(SuplrActySupplier... entity) Adds elements to the list of associated SuplrActySupplier entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SuplrActyDescription entities (one to many) associated with this entity.Fetches the SuplrActyParticipant entity (one to one) associated with this entity.Fetches the SuplrActyPurchaserResp entity (one to one) associated with this entity.Fetches the SuplrActySupplier entities (one to many) associated with this entity.static <T,DomainT>
SupplierActivityField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SupplierActivityField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 60Constraints: Not nullable, Precision: 7protected StringConstraints: Not nullable, Precision: 0protected StringgetKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 7Constraints: Not nullable, Maximum length: 60Constraints: noneConstraints: Not nullable, Precision: 0io.vavr.control.Option<List<SuplrActyDescription>>Retrieval of associated SuplrActyDescription entities (one to many).Retrieval of associated SuplrActyDescription entities (one to many).Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<SuplrActyParticipant>Retrieval of associated SuplrActyParticipant entity (one to one).Retrieval of associated SuplrActyParticipant entity (one to one).Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<SuplrActyPurchaserResp>Retrieval of associated SuplrActyPurchaserResp entity (one to one).Retrieval of associated SuplrActyPurchaserResp entity (one to one).io.vavr.control.Option<List<SuplrActySupplier>>Retrieval of associated SuplrActySupplier entities (one to many).Retrieval of associated SuplrActySupplier entities (one to many).Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 20getType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 60voidsetCreationDateTime(ZonedDateTime creationDateTime) Constraints: Not nullable, Precision: 7voidsetEndDate(LocalDateTime endDate) Constraints: Not nullable, Precision: 0voidsetLanguage(String language) Constraints: Not nullable, Maximum length: 2voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 60voidsetPurgCatUUID(UUID purgCatUUID) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetStartDate(LocalDateTime startDate) Constraints: Not nullable, Precision: 0voidOverwrites the list of associated SuplrActyDescription entities for the loaded navigation property to_SuplrActyDescription.voidsetSuplrActyLifecycleStatus(String suplrActyLifecycleStatus) Constraints: Not nullable, Maximum length: 2voidsetSuplrActyName(String suplrActyName) Constraints: Not nullable, Maximum length: 60voidOverwrites the associated SuplrActyParticipant entity for the loaded navigation property to_SuplrActyParticipant.voidsetSuplrActyPriority(String suplrActyPriority) Constraints: Not nullable, Maximum length: 1voidOverwrites the associated SuplrActyPurchaserResp entity for the loaded navigation property to_SuplrActyPurchaserResp.voidOverwrites the list of associated SuplrActySupplier entities for the loaded navigation property to_SuplrActySupplier.voidsetSuplrActyType(String suplrActyType) Constraints: Not nullable, Maximum length: 2voidsetSuplrActyUUID(UUID suplrActyUUID) (Key Field) Constraints: Not nullablevoidsetSupplierActivity(String supplierActivity) Constraints: Not nullable, Maximum length: 20toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SupplierActivity. -
SUPLR_ACTY_UUID
Use with available fluent helpers to apply the SuplrActyUUID field to query operations. -
SUPPLIER_ACTIVITY
Use with available fluent helpers to apply the SupplierActivity field to query operations. -
PURG_CAT_UUID
Use with available fluent helpers to apply the PurgCatUUID field to query operations. -
SUPLR_ACTY_NAME
Use with available fluent helpers to apply the SuplrActyName field to query operations. -
START_DATE
Use with available fluent helpers to apply the StartDate field to query operations. -
END_DATE
Use with available fluent helpers to apply the EndDate field to query operations. -
SUPLR_ACTY_PRIORITY
Use with available fluent helpers to apply the SuplrActyPriority field to query operations. -
SUPLR_ACTY_TYPE
Use with available fluent helpers to apply the SuplrActyType field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
SUPLR_ACTY_LIFECYCLE_STATUS
Use with available fluent helpers to apply the SuplrActyLifecycleStatus field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
TO_SUPLR_ACTY_DESCRIPTION
Use with available fluent helpers to apply the to_SuplrActyDescription navigation property to query operations. -
TO_SUPLR_ACTY_PARTICIPANT
Use with available fluent helpers to apply the to_SuplrActyParticipant navigation property to query operations. -
TO_SUPLR_ACTY_PURCHASER_RESP
public static final SupplierActivityOneToOneLink<SuplrActyPurchaserResp> TO_SUPLR_ACTY_PURCHASER_RESPUse with available fluent helpers to apply the to_SuplrActyPurchaserResp navigation property to query operations. -
TO_SUPLR_ACTY_SUPPLIER
Use with available fluent helpers to apply the to_SuplrActySupplier navigation property to query operations.
-
-
Constructor Details
-
SupplierActivity
public SupplierActivity() -
SupplierActivity
public SupplierActivity(@Nullable UUID suplrActyUUID, @Nullable String supplierActivity, @Nullable UUID purgCatUUID, @Nullable String suplrActyName, @Nullable LocalDateTime startDate, @Nullable LocalDateTime endDate, @Nullable String suplrActyPriority, @Nullable String suplrActyType, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String suplrActyLifecycleStatus, @Nullable String language, List<SuplrActyDescription> toSuplrActyDescription, @Nullable SuplrActyParticipant toSuplrActyParticipant, @Nullable SuplrActyPurchaserResp toSuplrActyPurchaserResp, List<SuplrActySupplier> toSuplrActySupplier)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SupplierActivity>
-
setSuplrActyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SuplrActyUUID
- Parameters:
suplrActyUUID- Activity UUID
-
setSupplierActivity
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SupplierActivity
- Parameters:
supplierActivity- Activity
-
setPurgCatUUID
Constraints: noneOriginal property name from the Odata EDM: PurgCatUUID
- Parameters:
purgCatUUID- Purchasing Category UUID
-
setSuplrActyName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SuplrActyName
- Parameters:
suplrActyName- Name of Activity
-
setStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: StartDate
- Parameters:
startDate- Start Date
-
setEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: EndDate
- Parameters:
endDate- End Date
-
setSuplrActyPriority
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SuplrActyPriority
- Parameters:
suplrActyPriority- Priority of an activity
-
setSuplrActyType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SuplrActyType
- Parameters:
suplrActyType- Activity type
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created-By Name
-
setCreationDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Created On
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Changed-By Name
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Last Changed On
-
setSuplrActyLifecycleStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SuplrActyLifecycleStatus
- Parameters:
suplrActyLifecycleStatus- Lifecycle Status Code for Activities
-
setLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SupplierActivity>
-
getKey
- Overrides:
getKeyin classVdmObject<SupplierActivity>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SupplierActivity>
-
fromMap
- Overrides:
fromMapin classVdmObject<SupplierActivity>
-
field
@Nonnull public static <T> SupplierActivityField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> SupplierActivityField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<SupplierActivity>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SupplierActivity>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SupplierActivity>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SupplierActivity>
-
fetchSuplrActyDescription
Fetches the SuplrActyDescription entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SuplrActyDescription.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated SuplrActyDescription entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSuplrActyDescriptionOrFetch
Retrieval of associated SuplrActyDescription entities (one to many). This corresponds to the OData navigation property to_SuplrActyDescription.If the navigation property to_SuplrActyDescription of a queried SupplierActivity 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.
- Returns:
- List of associated SuplrActyDescription entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSuplrActyDescriptionIfPresent
@Nonnull public io.vavr.control.Option<List<SuplrActyDescription>> getSuplrActyDescriptionIfPresent()Retrieval of associated SuplrActyDescription entities (one to many). This corresponds to the OData navigation property to_SuplrActyDescription.If the navigation property for an entity SupplierActivity has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SuplrActyDescription is already loaded, the result
will contain the SuplrActyDescription entities. If not, an
Optionwith result stateemptyis returned.
-
setSuplrActyDescription
Overwrites the list of associated SuplrActyDescription entities for the loaded navigation property to_SuplrActyDescription.If the navigation property to_SuplrActyDescription of a queried SupplierActivity 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.
- Parameters:
value- List of SuplrActyDescription entities.
-
addSuplrActyDescription
Adds elements to the list of associated SuplrActyDescription entities. This corresponds to the OData navigation property to_SuplrActyDescription.If the navigation property to_SuplrActyDescription of a queried SupplierActivity 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.
- Parameters:
entity- Array of SuplrActyDescription entities.
-
fetchSuplrActyParticipant
Fetches the SuplrActyParticipant entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SuplrActyParticipant.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated SuplrActyParticipant entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSuplrActyParticipantOrFetch
Retrieval of associated SuplrActyParticipant entity (one to one). This corresponds to the OData navigation property to_SuplrActyParticipant.If the navigation property to_SuplrActyParticipant of a queried SupplierActivity 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.
- Returns:
- List of associated SuplrActyParticipant entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSuplrActyParticipantIfPresent
Retrieval of associated SuplrActyParticipant entity (one to one). This corresponds to the OData navigation property to_SuplrActyParticipant.If the navigation property for an entity SupplierActivity has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SuplrActyParticipant is already loaded, the result
will contain the SuplrActyParticipant entity. If not, an
Optionwith result stateemptyis returned.
-
setSuplrActyParticipant
Overwrites the associated SuplrActyParticipant entity for the loaded navigation property to_SuplrActyParticipant.- Parameters:
value- New SuplrActyParticipant entity.
-
fetchSuplrActyPurchaserResp
Fetches the SuplrActyPurchaserResp entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SuplrActyPurchaserResp.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated SuplrActyPurchaserResp entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSuplrActyPurchaserRespOrFetch
Retrieval of associated SuplrActyPurchaserResp entity (one to one). This corresponds to the OData navigation property to_SuplrActyPurchaserResp.If the navigation property to_SuplrActyPurchaserResp of a queried SupplierActivity 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.
- Returns:
- List of associated SuplrActyPurchaserResp entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSuplrActyPurchaserRespIfPresent
Retrieval of associated SuplrActyPurchaserResp entity (one to one). This corresponds to the OData navigation property to_SuplrActyPurchaserResp.If the navigation property for an entity SupplierActivity has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SuplrActyPurchaserResp is already loaded, the result
will contain the SuplrActyPurchaserResp entity. If not, an
Optionwith result stateemptyis returned.
-
setSuplrActyPurchaserResp
Overwrites the associated SuplrActyPurchaserResp entity for the loaded navigation property to_SuplrActyPurchaserResp.- Parameters:
value- New SuplrActyPurchaserResp entity.
-
fetchSuplrActySupplier
Fetches the SuplrActySupplier entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SuplrActySupplier.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated SuplrActySupplier entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSuplrActySupplierOrFetch
Retrieval of associated SuplrActySupplier entities (one to many). This corresponds to the OData navigation property to_SuplrActySupplier.If the navigation property to_SuplrActySupplier of a queried SupplierActivity 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.
- Returns:
- List of associated SuplrActySupplier entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSuplrActySupplierIfPresent
Retrieval of associated SuplrActySupplier entities (one to many). This corresponds to the OData navigation property to_SuplrActySupplier.If the navigation property for an entity SupplierActivity has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SuplrActySupplier is already loaded, the result will
contain the SuplrActySupplier entities. If not, an
Optionwith result stateemptyis returned.
-
setSuplrActySupplier
Overwrites the list of associated SuplrActySupplier entities for the loaded navigation property to_SuplrActySupplier.If the navigation property to_SuplrActySupplier of a queried SupplierActivity 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.
- Parameters:
value- List of SuplrActySupplier entities.
-
addSuplrActySupplier
Adds elements to the list of associated SuplrActySupplier entities. This corresponds to the OData navigation property to_SuplrActySupplier.If the navigation property to_SuplrActySupplier of a queried SupplierActivity 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.
- Parameters:
entity- Array of SuplrActySupplier entities.
-
builder
-
getSuplrActyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SuplrActyUUID
- Returns:
- Activity UUID
-
getSupplierActivity
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SupplierActivity
- Returns:
- Activity
-
getPurgCatUUID
Constraints: noneOriginal property name from the Odata EDM: PurgCatUUID
- Returns:
- Purchasing Category UUID
-
getSuplrActyName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SuplrActyName
- Returns:
- Name of Activity
-
getStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: StartDate
- Returns:
- Start Date
-
getEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: EndDate
- Returns:
- End Date
-
getSuplrActyPriority
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SuplrActyPriority
- Returns:
- Priority of an activity
-
getSuplrActyType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SuplrActyType
- Returns:
- Activity type
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created-By Name
-
getCreationDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- Created On
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Changed-By Name
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Last Changed On
-
getSuplrActyLifecycleStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SuplrActyLifecycleStatus
- Returns:
- Lifecycle Status Code for Activities
-
getLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language
-
toString
- Overrides:
toStringin classVdmObject<SupplierActivity>
-
equals
- Overrides:
equalsin classVdmEntity<SupplierActivity>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SupplierActivity>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SupplierActivity>
-