public class ProdAllocSqncAssgmt extends VdmEntity<ProdAllocSqncAssgmt>
Original entity name from the Odata EDM: A_ProdAllocSqncAssgmtType
Modifier and Type | Class and Description |
---|---|
static class |
ProdAllocSqncAssgmt.ProdAllocSqncAssgmtBuilder
Helper class to allow for fluent creation of ProdAllocSqncAssgmt instances.
|
Modifier and Type | Field and Description |
---|---|
static ProdAllocSqncAssgmtSelectable |
ALL_FIELDS
Selector for all available fields of ProdAllocSqncAssgmt.
|
static ProdAllocSqncAssgmtField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static ProdAllocSqncAssgmtField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProdAllocSqncAssgmtField<UUID> |
PROD_ALLOC_SQNC_ASSIGNMENT_UUID
Use with available fluent helpers to apply the ProdAllocSqncAssignmentUUID field to query operations.
|
static ProdAllocSqncAssgmtField<String> |
PRODUCT_ALLOCATION_SEQUENCE
Use with available fluent helpers to apply the ProductAllocationSequence field to query operations.
|
static ProdAllocSqncAssgmtField<UUID> |
PRODUCT_ALLOCATION_SEQUENCE_UUID
Use with available fluent helpers to apply the ProductAllocationSequenceUUID field to query operations.
|
static ProdAllocSqncAssgmtOneToOneLink<ProdAllocationSequence> |
TO_PROD_ALLOCATION_SEQUENCE_TP
Use with available fluent helpers to apply the to_ProdAllocationSequenceTP navigation property to query
operations.
|
static ProdAllocSqncAssgmtField<String> |
VALIDITY_END_TIME_ZONE
Use with available fluent helpers to apply the ValidityEndTimeZone field to query operations.
|
static ProdAllocSqncAssgmtField<ZonedDateTime> |
VALIDITY_END_UTC_DATE_TIME
Use with available fluent helpers to apply the ValidityEndUTCDateTime field to query operations.
|
static ProdAllocSqncAssgmtField<String> |
VALIDITY_START_TIME_ZONE
Use with available fluent helpers to apply the ValidityStartTimeZone field to query operations.
|
static ProdAllocSqncAssgmtField<ZonedDateTime> |
VALIDITY_START_UTC_DATE_TIME
Use with available fluent helpers to apply the ValidityStartUTCDateTime field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProdAllocSqncAssgmt() |
ProdAllocSqncAssgmt(UUID prodAllocSqncAssignmentUUID,
UUID productAllocationSequenceUUID,
String productAllocationSequence,
String material,
String plant,
ZonedDateTime validityStartUTCDateTime,
String validityStartTimeZone,
ZonedDateTime validityEndUTCDateTime,
String validityEndTimeZone,
ProdAllocationSequence toProdAllocationSequenceTP) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProdAllocSqncAssgmt.ProdAllocSqncAssgmtBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
ProdAllocationSequence |
fetchProdAllocationSequenceTP()
Fetches the ProdAllocationSequence entity (one to one) associated with this entity.
|
static <T> ProdAllocSqncAssgmtField<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() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
protected Map<String,Object> |
getKey() |
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
io.vavr.control.Option<ProdAllocationSequence> |
getProdAllocationSequenceTPIfPresent()
Retrieval of associated ProdAllocationSequence entity (one to one).
|
ProdAllocationSequence |
getProdAllocationSequenceTPOrFetch()
Retrieval of associated ProdAllocationSequence entity (one to one).
|
UUID |
getProdAllocSqncAssignmentUUID()
(Key Field) Constraints: Not nullable
|
String |
getProductAllocationSequence()
Constraints: Not nullable, Maximum length: 40
|
UUID |
getProductAllocationSequenceUUID()
Constraints: none
|
Class<ProdAllocSqncAssgmt> |
getType() |
String |
getValidityEndTimeZone()
Constraints: Not nullable, Maximum length: 6
|
ZonedDateTime |
getValidityEndUTCDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getValidityStartTimeZone()
Constraints: Not nullable, Maximum length: 6
|
ZonedDateTime |
getValidityStartUTCDateTime()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setProdAllocationSequenceTP(ProdAllocationSequence value)
Overwrites the associated ProdAllocationSequence entity for the loaded navigation property
to_ProdAllocationSequenceTP.
|
void |
setProdAllocSqncAssignmentUUID(UUID prodAllocSqncAssignmentUUID)
(Key Field) Constraints: Not nullable
|
void |
setProductAllocationSequence(String productAllocationSequence)
Constraints: Not nullable, Maximum length: 40
|
void |
setProductAllocationSequenceUUID(UUID productAllocationSequenceUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndTimeZone(String validityEndTimeZone)
Constraints: Not nullable, Maximum length: 6
|
void |
setValidityEndUTCDateTime(ZonedDateTime validityEndUTCDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartTimeZone(String validityStartTimeZone)
Constraints: Not nullable, Maximum length: 6
|
void |
setValidityStartUTCDateTime(ZonedDateTime validityStartUTCDateTime)
Constraints: Not nullable, Precision: 0
|
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 ProdAllocSqncAssgmtSelectable ALL_FIELDS
public static final ProdAllocSqncAssgmtField<UUID> PROD_ALLOC_SQNC_ASSIGNMENT_UUID
public static final ProdAllocSqncAssgmtField<UUID> PRODUCT_ALLOCATION_SEQUENCE_UUID
public static final ProdAllocSqncAssgmtField<String> PRODUCT_ALLOCATION_SEQUENCE
public static final ProdAllocSqncAssgmtField<String> MATERIAL
public static final ProdAllocSqncAssgmtField<String> PLANT
public static final ProdAllocSqncAssgmtField<ZonedDateTime> VALIDITY_START_UTC_DATE_TIME
public static final ProdAllocSqncAssgmtField<String> VALIDITY_START_TIME_ZONE
public static final ProdAllocSqncAssgmtField<ZonedDateTime> VALIDITY_END_UTC_DATE_TIME
public static final ProdAllocSqncAssgmtField<String> VALIDITY_END_TIME_ZONE
public static final ProdAllocSqncAssgmtOneToOneLink<ProdAllocationSequence> TO_PROD_ALLOCATION_SEQUENCE_TP
public ProdAllocSqncAssgmt()
public ProdAllocSqncAssgmt(@Nullable UUID prodAllocSqncAssignmentUUID, @Nullable UUID productAllocationSequenceUUID, @Nullable String productAllocationSequence, @Nullable String material, @Nullable String plant, @Nullable ZonedDateTime validityStartUTCDateTime, @Nullable String validityStartTimeZone, @Nullable ZonedDateTime validityEndUTCDateTime, @Nullable String validityEndTimeZone, @Nullable ProdAllocationSequence toProdAllocationSequenceTP)
@Nonnull public Class<ProdAllocSqncAssgmt> getType()
getType
in class VdmObject<ProdAllocSqncAssgmt>
public void setProdAllocSqncAssignmentUUID(@Nullable UUID prodAllocSqncAssignmentUUID)
Original property name from the Odata EDM: ProdAllocSqncAssignmentUUID
prodAllocSqncAssignmentUUID
- Product Allocation Sequence Assignment UUIDpublic void setProductAllocationSequenceUUID(@Nullable UUID productAllocationSequenceUUID)
Original property name from the Odata EDM: ProductAllocationSequenceUUID
productAllocationSequenceUUID
- Product Allocation Sequence UUIDpublic void setProductAllocationSequence(@Nullable String productAllocationSequence)
Original property name from the Odata EDM: ProductAllocationSequence
productAllocationSequence
- Product Allocation Sequencepublic void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Material Numberpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setValidityStartUTCDateTime(@Nullable ZonedDateTime validityStartUTCDateTime)
Original property name from the Odata EDM: ValidityStartUTCDateTime
validityStartUTCDateTime
- Validity Start UTC Date Timepublic void setValidityStartTimeZone(@Nullable String validityStartTimeZone)
Original property name from the Odata EDM: ValidityStartTimeZone
validityStartTimeZone
- Validity Start Time Zonepublic void setValidityEndUTCDateTime(@Nullable ZonedDateTime validityEndUTCDateTime)
Original property name from the Odata EDM: ValidityEndUTCDateTime
validityEndUTCDateTime
- Validity End UTC Date Timepublic void setValidityEndTimeZone(@Nullable String validityEndTimeZone)
Original property name from the Odata EDM: ValidityEndTimeZone
validityEndTimeZone
- Validity End Time Zoneprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProdAllocSqncAssgmt>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProdAllocSqncAssgmt>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProdAllocSqncAssgmt>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProdAllocSqncAssgmt>
@Nonnull public static <T> ProdAllocSqncAssgmtField<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> ProdAllocSqncAssgmtField<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<ProdAllocSqncAssgmt>
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<ProdAllocSqncAssgmt>
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<ProdAllocSqncAssgmt>
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()
getDefaultServicePath
in class VdmEntity<ProdAllocSqncAssgmt>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ProdAllocSqncAssgmt>
@Nullable public ProdAllocationSequence fetchProdAllocationSequenceTP() 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 ProdAllocationSequence getProdAllocationSequenceTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ProdAllocationSequenceTP of a queried ProdAllocSqncAssgmt 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<ProdAllocationSequence> getProdAllocationSequenceTPIfPresent()
If the navigation property for an entity ProdAllocSqncAssgmt 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 setProdAllocationSequenceTP(ProdAllocationSequence value)
value
- New ProdAllocationSequence entity.public static ProdAllocSqncAssgmt.ProdAllocSqncAssgmtBuilder builder()
@Nullable public UUID getProdAllocSqncAssignmentUUID()
Original property name from the Odata EDM: ProdAllocSqncAssignmentUUID
@Nullable public UUID getProductAllocationSequenceUUID()
Original property name from the Odata EDM: ProductAllocationSequenceUUID
@Nullable public String getProductAllocationSequence()
Original property name from the Odata EDM: ProductAllocationSequence
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public ZonedDateTime getValidityStartUTCDateTime()
Original property name from the Odata EDM: ValidityStartUTCDateTime
@Nullable public String getValidityStartTimeZone()
Original property name from the Odata EDM: ValidityStartTimeZone
@Nullable public ZonedDateTime getValidityEndUTCDateTime()
Original property name from the Odata EDM: ValidityEndUTCDateTime
@Nullable public String getValidityEndTimeZone()
Original property name from the Odata EDM: ValidityEndTimeZone
public String toString()
toString
in class VdmObject<ProdAllocSqncAssgmt>
public boolean equals(Object o)
equals
in class VdmObject<ProdAllocSqncAssgmt>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProdAllocSqncAssgmt>
public int hashCode()
hashCode
in class VdmObject<ProdAllocSqncAssgmt>
Copyright © 2019 SAP SE. All rights reserved.