public class SupplierActivity extends VdmEntity<SupplierActivity>
Original entity name from the Odata EDM: A_SupplierActivityType
Modifier and Type | Class and Description |
---|---|
static class |
SupplierActivity.SupplierActivityBuilder
Helper class to allow for fluent creation of SupplierActivity instances.
|
Modifier and Type | Field and Description |
---|---|
static SupplierActivitySelectable |
ALL_FIELDS
Selector for all available fields of SupplierActivity.
|
static SupplierActivityField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static SupplierActivityField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static SupplierActivityField<LocalDateTime> |
END_DATE
Use with available fluent helpers to apply the EndDate field to query operations.
|
static SupplierActivityField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static SupplierActivityField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static SupplierActivityField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static SupplierActivityField<UUID> |
PURG_CAT_UUID
Use with available fluent helpers to apply the PurgCatUUID field to query operations.
|
static SupplierActivityField<LocalDateTime> |
START_DATE
Use with available fluent helpers to apply the StartDate field to query operations.
|
static SupplierActivityField<String> |
SUPLR_ACTY_LIFECYCLE_STATUS
Use with available fluent helpers to apply the SuplrActyLifecycleStatus field to query operations.
|
static SupplierActivityField<String> |
SUPLR_ACTY_NAME
Use with available fluent helpers to apply the SuplrActyName field to query operations.
|
static SupplierActivityField<String> |
SUPLR_ACTY_PRIORITY
Use with available fluent helpers to apply the SuplrActyPriority field to query operations.
|
static SupplierActivityField<String> |
SUPLR_ACTY_TYPE
Use with available fluent helpers to apply the SuplrActyType field to query operations.
|
static SupplierActivityField<UUID> |
SUPLR_ACTY_UUID
Use with available fluent helpers to apply the SuplrActyUUID field to query operations.
|
static SupplierActivityField<String> |
SUPPLIER_ACTIVITY
Use with available fluent helpers to apply the SupplierActivity field to query operations.
|
static SupplierActivityLink<SuplrActyDescription> |
TO_SUPLR_ACTY_DESCRIPTION
Use with available fluent helpers to apply the to_SuplrActyDescription navigation property to query
operations.
|
static SupplierActivityOneToOneLink<SuplrActyParticipant> |
TO_SUPLR_ACTY_PARTICIPANT
Use with available fluent helpers to apply the to_SuplrActyParticipant navigation property to query
operations.
|
static SupplierActivityOneToOneLink<SuplrActyPurchaserResp> |
TO_SUPLR_ACTY_PURCHASER_RESP
Use with available fluent helpers to apply the to_SuplrActyPurchaserResp navigation property to query
operations.
|
static SupplierActivityLink<SuplrActySupplier> |
TO_SUPLR_ACTY_SUPPLIER
Use with available fluent helpers to apply the to_SuplrActySupplier navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
SupplierActivity() |
SupplierActivity(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) |
Modifier and Type | Method and Description |
---|---|
void |
addSuplrActyDescription(SuplrActyDescription... entity)
Adds elements to the list of associated SuplrActyDescription entities.
|
void |
addSuplrActySupplier(SuplrActySupplier... entity)
Adds elements to the list of associated SuplrActySupplier entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SupplierActivity.SupplierActivityBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<SuplrActyDescription> |
fetchSuplrActyDescription()
Fetches the SuplrActyDescription entities (one to many) associated with this entity.
|
SuplrActyParticipant |
fetchSuplrActyParticipant()
Fetches the SuplrActyParticipant entity (one to one) associated with this entity.
|
SuplrActyPurchaserResp |
fetchSuplrActyPurchaserResp()
Fetches the SuplrActyPurchaserResp entity (one to one) associated with this entity.
|
List<SuplrActySupplier> |
fetchSuplrActySupplier()
Fetches the SuplrActySupplier entities (one to many) associated with this entity.
|
static <T> SupplierActivityField<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 |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 60
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
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.
|
LocalDateTime |
getEndDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 60
|
UUID |
getPurgCatUUID()
Constraints: none
|
LocalDateTime |
getStartDate()
Constraints: Not nullable, Precision: 0
|
io.vavr.control.Option<List<SuplrActyDescription>> |
getSuplrActyDescriptionIfPresent()
Retrieval of associated SuplrActyDescription entities (one to many).
|
List<SuplrActyDescription> |
getSuplrActyDescriptionOrFetch()
Retrieval of associated SuplrActyDescription entities (one to many).
|
String |
getSuplrActyLifecycleStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getSuplrActyName()
Constraints: Not nullable, Maximum length: 60
|
io.vavr.control.Option<SuplrActyParticipant> |
getSuplrActyParticipantIfPresent()
Retrieval of associated SuplrActyParticipant entity (one to one).
|
SuplrActyParticipant |
getSuplrActyParticipantOrFetch()
Retrieval of associated SuplrActyParticipant entity (one to one).
|
String |
getSuplrActyPriority()
Constraints: Not nullable, Maximum length: 1
|
io.vavr.control.Option<SuplrActyPurchaserResp> |
getSuplrActyPurchaserRespIfPresent()
Retrieval of associated SuplrActyPurchaserResp entity (one to one).
|
SuplrActyPurchaserResp |
getSuplrActyPurchaserRespOrFetch()
Retrieval of associated SuplrActyPurchaserResp entity (one to one).
|
io.vavr.control.Option<List<SuplrActySupplier>> |
getSuplrActySupplierIfPresent()
Retrieval of associated SuplrActySupplier entities (one to many).
|
List<SuplrActySupplier> |
getSuplrActySupplierOrFetch()
Retrieval of associated SuplrActySupplier entities (one to many).
|
String |
getSuplrActyType()
Constraints: Not nullable, Maximum length: 2
|
UUID |
getSuplrActyUUID()
(Key Field) Constraints: Not nullable
|
String |
getSupplierActivity()
Constraints: Not nullable, Maximum length: 20
|
Class<SupplierActivity> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 60
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setEndDate(LocalDateTime endDate)
Constraints: Not nullable, Precision: 0
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 60
|
void |
setPurgCatUUID(UUID purgCatUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStartDate(LocalDateTime startDate)
Constraints: Not nullable, Precision: 0
|
void |
setSuplrActyDescription(List<SuplrActyDescription> value)
Overwrites the list of associated SuplrActyDescription entities for the loaded navigation property
to_SuplrActyDescription.
|
void |
setSuplrActyLifecycleStatus(String suplrActyLifecycleStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setSuplrActyName(String suplrActyName)
Constraints: Not nullable, Maximum length: 60
|
void |
setSuplrActyParticipant(SuplrActyParticipant value)
Overwrites the associated SuplrActyParticipant entity for the loaded navigation property
to_SuplrActyParticipant.
|
void |
setSuplrActyPriority(String suplrActyPriority)
Constraints: Not nullable, Maximum length: 1
|
void |
setSuplrActyPurchaserResp(SuplrActyPurchaserResp value)
Overwrites the associated SuplrActyPurchaserResp entity for the loaded navigation property
to_SuplrActyPurchaserResp.
|
void |
setSuplrActySupplier(List<SuplrActySupplier> value)
Overwrites the list of associated SuplrActySupplier entities for the loaded navigation property
to_SuplrActySupplier.
|
void |
setSuplrActyType(String suplrActyType)
Constraints: Not nullable, Maximum length: 2
|
void |
setSuplrActyUUID(UUID suplrActyUUID)
(Key Field) Constraints: Not nullable
|
void |
setSupplierActivity(String supplierActivity)
Constraints: Not nullable, Maximum length: 20
|
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 SupplierActivitySelectable ALL_FIELDS
public static final SupplierActivityField<UUID> SUPLR_ACTY_UUID
public static final SupplierActivityField<String> SUPPLIER_ACTIVITY
public static final SupplierActivityField<UUID> PURG_CAT_UUID
public static final SupplierActivityField<String> SUPLR_ACTY_NAME
public static final SupplierActivityField<LocalDateTime> START_DATE
public static final SupplierActivityField<LocalDateTime> END_DATE
public static final SupplierActivityField<String> SUPLR_ACTY_PRIORITY
public static final SupplierActivityField<String> SUPLR_ACTY_TYPE
public static final SupplierActivityField<String> CREATED_BY_USER
public static final SupplierActivityField<ZonedDateTime> CREATION_DATE_TIME
public static final SupplierActivityField<String> LAST_CHANGED_BY_USER
public static final SupplierActivityField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final SupplierActivityField<String> SUPLR_ACTY_LIFECYCLE_STATUS
public static final SupplierActivityField<String> LANGUAGE
public static final SupplierActivityLink<SuplrActyDescription> TO_SUPLR_ACTY_DESCRIPTION
public static final SupplierActivityOneToOneLink<SuplrActyParticipant> TO_SUPLR_ACTY_PARTICIPANT
public static final SupplierActivityOneToOneLink<SuplrActyPurchaserResp> TO_SUPLR_ACTY_PURCHASER_RESP
public static final SupplierActivityLink<SuplrActySupplier> TO_SUPLR_ACTY_SUPPLIER
public 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)
@Nonnull public Class<SupplierActivity> getType()
getType
in class VdmObject<SupplierActivity>
public void setSuplrActyUUID(@Nullable UUID suplrActyUUID)
Original property name from the Odata EDM: SuplrActyUUID
suplrActyUUID
- Activity UUIDpublic void setSupplierActivity(@Nullable String supplierActivity)
Original property name from the Odata EDM: SupplierActivity
supplierActivity
- Activitypublic void setPurgCatUUID(@Nullable UUID purgCatUUID)
Original property name from the Odata EDM: PurgCatUUID
purgCatUUID
- Purchasing Category UUIDpublic void setSuplrActyName(@Nullable String suplrActyName)
Original property name from the Odata EDM: SuplrActyName
suplrActyName
- Name of Activitypublic void setStartDate(@Nullable LocalDateTime startDate)
Original property name from the Odata EDM: StartDate
startDate
- Start Datepublic void setEndDate(@Nullable LocalDateTime endDate)
Original property name from the Odata EDM: EndDate
endDate
- End Datepublic void setSuplrActyPriority(@Nullable String suplrActyPriority)
Original property name from the Odata EDM: SuplrActyPriority
suplrActyPriority
- Priority of an activitypublic void setSuplrActyType(@Nullable String suplrActyType)
Original property name from the Odata EDM: SuplrActyType
suplrActyType
- Activity typepublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created-By Namepublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Created Onpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Changed-By Namepublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Last Changed Onpublic void setSuplrActyLifecycleStatus(@Nullable String suplrActyLifecycleStatus)
Original property name from the Odata EDM: SuplrActyLifecycleStatus
suplrActyLifecycleStatus
- Lifecycle Status Code for Activitiespublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Languageprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SupplierActivity>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SupplierActivity>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SupplierActivity>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SupplierActivity>
@Nonnull public static <T> SupplierActivityField<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> SupplierActivityField<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<SupplierActivity>
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<SupplierActivity>
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<SupplierActivity>
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<SupplierActivity>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SupplierActivity>
@Nonnull public List<SuplrActyDescription> fetchSuplrActyDescription() 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<SuplrActyDescription> getSuplrActyDescriptionOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
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<SuplrActyDescription>> getSuplrActyDescriptionIfPresent()
If the navigation property for an entity SupplierActivity 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 setSuplrActyDescription(@Nonnull List<SuplrActyDescription> value)
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.
value
- List of SuplrActyDescription entities.public void addSuplrActyDescription(SuplrActyDescription... entity)
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.
entity
- Array of SuplrActyDescription entities.@Nullable public SuplrActyParticipant fetchSuplrActyParticipant() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.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.@Nullable public SuplrActyParticipant getSuplrActyParticipantOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
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<SuplrActyParticipant> getSuplrActyParticipantIfPresent()
If the navigation property for an entity SupplierActivity 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 setSuplrActyParticipant(SuplrActyParticipant value)
value
- New SuplrActyParticipant entity.@Nullable public SuplrActyPurchaserResp fetchSuplrActyPurchaserResp() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.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.@Nullable public SuplrActyPurchaserResp getSuplrActyPurchaserRespOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
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<SuplrActyPurchaserResp> getSuplrActyPurchaserRespIfPresent()
If the navigation property for an entity SupplierActivity 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 setSuplrActyPurchaserResp(SuplrActyPurchaserResp value)
value
- New SuplrActyPurchaserResp entity.@Nonnull public List<SuplrActySupplier> fetchSuplrActySupplier() 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<SuplrActySupplier> getSuplrActySupplierOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
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<SuplrActySupplier>> getSuplrActySupplierIfPresent()
If the navigation property for an entity SupplierActivity 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 setSuplrActySupplier(@Nonnull List<SuplrActySupplier> value)
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.
value
- List of SuplrActySupplier entities.public void addSuplrActySupplier(SuplrActySupplier... entity)
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.
entity
- Array of SuplrActySupplier entities.@Nonnull public static SupplierActivity.SupplierActivityBuilder builder()
@Nullable public UUID getSuplrActyUUID()
Original property name from the Odata EDM: SuplrActyUUID
@Nullable public String getSupplierActivity()
Original property name from the Odata EDM: SupplierActivity
@Nullable public UUID getPurgCatUUID()
Original property name from the Odata EDM: PurgCatUUID
@Nullable public String getSuplrActyName()
Original property name from the Odata EDM: SuplrActyName
@Nullable public LocalDateTime getStartDate()
Original property name from the Odata EDM: StartDate
@Nullable public LocalDateTime getEndDate()
Original property name from the Odata EDM: EndDate
@Nullable public String getSuplrActyPriority()
Original property name from the Odata EDM: SuplrActyPriority
@Nullable public String getSuplrActyType()
Original property name from the Odata EDM: SuplrActyType
@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
@Nullable public String getSuplrActyLifecycleStatus()
Original property name from the Odata EDM: SuplrActyLifecycleStatus
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nonnull public String toString()
toString
in class VdmObject<SupplierActivity>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SupplierActivity>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SupplierActivity>
public int hashCode()
hashCode
in class VdmObject<SupplierActivity>
Copyright © 2021 SAP SE. All rights reserved.