public class SupplierActivity extends VdmEntity<SupplierActivity>
Modifier and Type | Class and Description |
---|---|
static class |
SupplierActivity.SupplierActivityBuilder |
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<Calendar> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static SupplierActivityField<Calendar> |
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<Calendar> |
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<Calendar> |
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 SupplierActivityLink<SuplrActyParticipant> |
TO_SUPLR_ACTY_PARTICIPANT
Use with available fluent helpers to apply the to_SuplrActyParticipant navigation property to query operations.
|
static SupplierActivityLink<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.
|
Constructor and Description |
---|
SupplierActivity() |
SupplierActivity(UUID suplrActyUUID,
String supplierActivity,
UUID purgCatUUID,
String suplrActyName,
Calendar startDate,
Calendar endDate,
String suplrActyPriority,
String suplrActyType,
String createdByUser,
Calendar creationDateTime,
String lastChangedByUser,
Calendar lastChangeDateTime,
String suplrActyLifecycleStatus,
String language,
ErpConfigContext erpConfigContext,
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.
|
static SupplierActivity.SupplierActivityBuilder |
builder() |
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.
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 60
|
Calendar |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
Calendar |
getEndDate()
Constraints: Not nullable, Precision: 0
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
Calendar |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 60
|
UUID |
getPurgCatUUID()
Constraints: none
|
Calendar |
getStartDate()
Constraints: Not nullable, Precision: 0
|
List<SuplrActyDescription> |
getSuplrActyDescriptionOrFetch()
Retrieval of associated SuplrActyDescription entities (one to many).
|
com.google.common.base.Optional<List<SuplrActyDescription>> |
getSuplrActyDescriptionOrNull()
Retrieval of associated SuplrActyDescription entities (one to many).
|
String |
getSuplrActyLifecycleStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getSuplrActyName()
Constraints: Not nullable, Maximum length: 60
|
SuplrActyParticipant |
getSuplrActyParticipantOrFetch()
Retrieval of associated SuplrActyParticipant entity (one to one).
|
com.google.common.base.Optional<SuplrActyParticipant> |
getSuplrActyParticipantOrNull()
Retrieval of associated SuplrActyParticipant entity (one to one).
|
String |
getSuplrActyPriority()
Constraints: Not nullable, Maximum length: 1
|
SuplrActyPurchaserResp |
getSuplrActyPurchaserRespOrFetch()
Retrieval of associated SuplrActyPurchaserResp entity (one to one).
|
com.google.common.base.Optional<SuplrActyPurchaserResp> |
getSuplrActyPurchaserRespOrNull()
Retrieval of associated SuplrActyPurchaserResp entity (one to one).
|
List<SuplrActySupplier> |
getSuplrActySupplierOrFetch()
Retrieval of associated SuplrActySupplier entities (one to many).
|
com.google.common.base.Optional<List<SuplrActySupplier>> |
getSuplrActySupplierOrNull()
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(Calendar creationDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setEndDate(Calendar endDate)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setLastChangeDateTime(Calendar lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 60
|
void |
setPurgCatUUID(UUID purgCatUUID)
Constraints: none
|
void |
setStartDate(Calendar 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
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
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<Calendar> START_DATE
public static final SupplierActivityField<Calendar> 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<Calendar> CREATION_DATE_TIME
public static final SupplierActivityField<String> LAST_CHANGED_BY_USER
public static final SupplierActivityField<Calendar> 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 SupplierActivityLink<SuplrActyParticipant> TO_SUPLR_ACTY_PARTICIPANT
public static final SupplierActivityLink<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 Calendar startDate, @Nullable Calendar endDate, @Nullable String suplrActyPriority, @Nullable String suplrActyType, @Nullable String createdByUser, @Nullable Calendar creationDateTime, @Nullable String lastChangedByUser, @Nullable Calendar lastChangeDateTime, @Nullable String suplrActyLifecycleStatus, @Nullable String language, @Nullable ErpConfigContext erpConfigContext, List<SuplrActyDescription> toSuplrActyDescription, @Nullable SuplrActyParticipant toSuplrActyParticipant, @Nullable SuplrActyPurchaserResp toSuplrActyPurchaserResp, List<SuplrActySupplier> toSuplrActySupplier)
public Class<SupplierActivity> getType()
getType
in class VdmObject<SupplierActivity>
public static <T> SupplierActivityField<T> field(String fieldName, Class<T> fieldType)
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.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.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.public com.google.common.base.Optional<List<SuplrActyDescription>> getSuplrActyDescriptionOrNull()
If the navigation property to_SuplrActyDescription for an entity SupplierActivity has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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.public SuplrActyParticipant fetchSuplrActyParticipant() 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.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.public com.google.common.base.Optional<SuplrActyParticipant> getSuplrActyParticipantOrNull()
If the navigation property to_SuplrActyParticipant for an entity SupplierActivity has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setSuplrActyParticipant(SuplrActyParticipant value)
value
- New SuplrActyParticipant entity.public SuplrActyPurchaserResp fetchSuplrActyPurchaserResp() 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.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.public com.google.common.base.Optional<SuplrActyPurchaserResp> getSuplrActyPurchaserRespOrNull()
If the navigation property to_SuplrActyPurchaserResp for an entity SupplierActivity has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setSuplrActyPurchaserResp(SuplrActyPurchaserResp value)
value
- New SuplrActyPurchaserResp entity.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.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.public com.google.common.base.Optional<List<SuplrActySupplier>> getSuplrActySupplierOrNull()
If the navigation property to_SuplrActySupplier for an entity SupplierActivity has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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.public static SupplierActivity.SupplierActivityBuilder builder()
@Nullable public UUID getSuplrActyUUID()
@Nullable public String getSupplierActivity()
@Nullable public UUID getPurgCatUUID()
@Nullable public String getSuplrActyName()
@Nullable public Calendar getStartDate()
@Nullable public Calendar getEndDate()
@Nullable public String getSuplrActyPriority()
@Nullable public String getSuplrActyType()
@Nullable public String getCreatedByUser()
@Nullable public Calendar getCreationDateTime()
@Nullable public String getLastChangedByUser()
@Nullable public Calendar getLastChangeDateTime()
@Nullable public String getSuplrActyLifecycleStatus()
@Nullable public String getLanguage()
@Nullable public ErpConfigContext getErpConfigContext()
public void setSuplrActyUUID(@Nullable UUID suplrActyUUID)
suplrActyUUID
- public void setSupplierActivity(@Nullable String supplierActivity)
supplierActivity
- public void setPurgCatUUID(@Nullable UUID purgCatUUID)
purgCatUUID
- public void setSuplrActyName(@Nullable String suplrActyName)
suplrActyName
- public void setStartDate(@Nullable Calendar startDate)
startDate
- public void setEndDate(@Nullable Calendar endDate)
endDate
- public void setSuplrActyPriority(@Nullable String suplrActyPriority)
suplrActyPriority
- public void setSuplrActyType(@Nullable String suplrActyType)
suplrActyType
- public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- public void setCreationDateTime(@Nullable Calendar creationDateTime)
creationDateTime
- public void setLastChangedByUser(@Nullable String lastChangedByUser)
lastChangedByUser
- public void setLastChangeDateTime(@Nullable Calendar lastChangeDateTime)
lastChangeDateTime
- public void setSuplrActyLifecycleStatus(@Nullable String suplrActyLifecycleStatus)
suplrActyLifecycleStatus
- public void setLanguage(@Nullable String language)
language
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<SupplierActivity>
public boolean equals(Object o)
equals
in class VdmObject<SupplierActivity>
public int hashCode()
hashCode
in class VdmObject<SupplierActivity>
Copyright © 2018 SAP SE. All rights reserved.