public class PurgCatPlannedSpend extends VdmEntity<PurgCatPlannedSpend>
Original entity name from the Odata EDM: A_PurgCatPlannedSpendType
Modifier and Type | Class and Description |
---|---|
static class |
PurgCatPlannedSpend.PurgCatPlannedSpendBuilder |
Modifier and Type | Field and Description |
---|---|
static PurgCatPlannedSpendSelectable |
ALL_FIELDS
Selector for all available fields of PurgCatPlannedSpend.
|
static PurgCatPlannedSpendField<BigDecimal> |
PURG_CAT_PLND_SPEND_AMOUNT
Use with available fluent helpers to apply the PurgCatPlndSpendAmount field to query operations.
|
static PurgCatPlannedSpendField<String> |
PURG_CAT_PLND_SPEND_CURRENCY
Use with available fluent helpers to apply the PurgCatPlndSpendCurrency field to query operations.
|
static PurgCatPlannedSpendField<UUID> |
PURG_CAT_PLND_SPEND_UUID
Use with available fluent helpers to apply the PurgCatPlndSpendUUID field to query operations.
|
static PurgCatPlannedSpendField<LocalDateTime> |
PURG_CAT_PLND_SPEND_VALID_FROM_DATE
Use with available fluent helpers to apply the PurgCatPlndSpendValidFromDate field to query operations.
|
static PurgCatPlannedSpendField<LocalDateTime> |
PURG_CAT_PLND_SPEND_VALID_TO_DATE
Use with available fluent helpers to apply the PurgCatPlndSpendValidToDate field to query operations.
|
static PurgCatPlannedSpendField<UUID> |
PURG_CAT_UUID
Use with available fluent helpers to apply the PurgCatUUID field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PurgCatPlannedSpend() |
PurgCatPlannedSpend(UUID purgCatPlndSpendUUID,
UUID purgCatUUID,
LocalDateTime purgCatPlndSpendValidFromDate,
LocalDateTime purgCatPlndSpendValidToDate,
BigDecimal purgCatPlndSpendAmount,
String purgCatPlndSpendCurrency) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static PurgCatPlannedSpend.PurgCatPlannedSpendBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> PurgCatPlannedSpendField<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) |
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getPurgCatPlndSpendAmount()
Constraints: Not nullable, Precision: 14, Scale: 3
|
String |
getPurgCatPlndSpendCurrency()
Constraints: Not nullable, Maximum length: 5
|
UUID |
getPurgCatPlndSpendUUID()
(Key Field) Constraints: Not nullable
|
LocalDateTime |
getPurgCatPlndSpendValidFromDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getPurgCatPlndSpendValidToDate()
Constraints: Not nullable, Precision: 0
|
UUID |
getPurgCatUUID()
Constraints: none
|
Class<PurgCatPlannedSpend> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setPurgCatPlndSpendAmount(BigDecimal purgCatPlndSpendAmount)
Constraints: Not nullable, Precision: 14, Scale: 3
|
void |
setPurgCatPlndSpendCurrency(String purgCatPlndSpendCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setPurgCatPlndSpendUUID(UUID purgCatPlndSpendUUID)
(Key Field) Constraints: Not nullable
|
void |
setPurgCatPlndSpendValidFromDate(LocalDateTime purgCatPlndSpendValidFromDate)
Constraints: Not nullable, Precision: 0
|
void |
setPurgCatPlndSpendValidToDate(LocalDateTime purgCatPlndSpendValidToDate)
Constraints: Not nullable, Precision: 0
|
void |
setPurgCatUUID(UUID purgCatUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final PurgCatPlannedSpendSelectable ALL_FIELDS
public static final PurgCatPlannedSpendField<UUID> PURG_CAT_PLND_SPEND_UUID
public static final PurgCatPlannedSpendField<UUID> PURG_CAT_UUID
public static final PurgCatPlannedSpendField<LocalDateTime> PURG_CAT_PLND_SPEND_VALID_FROM_DATE
public static final PurgCatPlannedSpendField<LocalDateTime> PURG_CAT_PLND_SPEND_VALID_TO_DATE
public static final PurgCatPlannedSpendField<BigDecimal> PURG_CAT_PLND_SPEND_AMOUNT
public static final PurgCatPlannedSpendField<String> PURG_CAT_PLND_SPEND_CURRENCY
public PurgCatPlannedSpend()
public PurgCatPlannedSpend(@Nullable UUID purgCatPlndSpendUUID, @Nullable UUID purgCatUUID, @Nullable LocalDateTime purgCatPlndSpendValidFromDate, @Nullable LocalDateTime purgCatPlndSpendValidToDate, @Nullable BigDecimal purgCatPlndSpendAmount, @Nullable String purgCatPlndSpendCurrency)
@Nonnull public Class<PurgCatPlannedSpend> getType()
getType
in class VdmObject<PurgCatPlannedSpend>
public void setPurgCatPlndSpendUUID(@Nullable UUID purgCatPlndSpendUUID)
Original property name from the Odata EDM: PurgCatPlndSpendUUID
purgCatPlndSpendUUID
- Planned Spend for a Purchasing Categorypublic void setPurgCatUUID(@Nullable UUID purgCatUUID)
Original property name from the Odata EDM: PurgCatUUID
purgCatUUID
- Purchasing Category UUIDpublic void setPurgCatPlndSpendValidFromDate(@Nullable LocalDateTime purgCatPlndSpendValidFromDate)
Original property name from the Odata EDM: PurgCatPlndSpendValidFromDate
purgCatPlndSpendValidFromDate
- "Valid From" Date of Planned Spendpublic void setPurgCatPlndSpendValidToDate(@Nullable LocalDateTime purgCatPlndSpendValidToDate)
Original property name from the Odata EDM: PurgCatPlndSpendValidToDate
purgCatPlndSpendValidToDate
- "Valid To" Date of Planned Spendpublic void setPurgCatPlndSpendAmount(@Nullable BigDecimal purgCatPlndSpendAmount)
Original property name from the Odata EDM: PurgCatPlndSpendAmount
purgCatPlndSpendAmount
- Amount of Planned Spendpublic void setPurgCatPlndSpendCurrency(@Nullable String purgCatPlndSpendCurrency)
Original property name from the Odata EDM: PurgCatPlndSpendCurrency
purgCatPlndSpendCurrency
- Currency of Planned Spendprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<PurgCatPlannedSpend>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PurgCatPlannedSpend>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PurgCatPlannedSpend>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PurgCatPlannedSpend>
@Nonnull public static <T> PurgCatPlannedSpendField<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> PurgCatPlannedSpendField<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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<PurgCatPlannedSpend>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<PurgCatPlannedSpend>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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<PurgCatPlannedSpend>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
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<PurgCatPlannedSpend>
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<PurgCatPlannedSpend>
public static PurgCatPlannedSpend.PurgCatPlannedSpendBuilder builder()
@Nullable public UUID getPurgCatPlndSpendUUID()
Original property name from the Odata EDM: PurgCatPlndSpendUUID
@Nullable public UUID getPurgCatUUID()
Original property name from the Odata EDM: PurgCatUUID
@Nullable public LocalDateTime getPurgCatPlndSpendValidFromDate()
Original property name from the Odata EDM: PurgCatPlndSpendValidFromDate
@Nullable public LocalDateTime getPurgCatPlndSpendValidToDate()
Original property name from the Odata EDM: PurgCatPlndSpendValidToDate
@Nullable public BigDecimal getPurgCatPlndSpendAmount()
Original property name from the Odata EDM: PurgCatPlndSpendAmount
@Nullable public String getPurgCatPlndSpendCurrency()
Original property name from the Odata EDM: PurgCatPlndSpendCurrency
public String toString()
toString
in class VdmObject<PurgCatPlannedSpend>
public boolean equals(Object o)
equals
in class VdmObject<PurgCatPlannedSpend>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PurgCatPlannedSpend>
public int hashCode()
hashCode
in class VdmObject<PurgCatPlannedSpend>
Copyright © 2019 SAP SE. All rights reserved.