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 |
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 ProdAllocSqncAssgmtLink<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<Calendar> |
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<Calendar> |
VALIDITY_START_UTC_DATE_TIME
Use with available fluent helpers to apply the ValidityStartUTCDateTime field to query operations.
|
Constructor and Description |
---|
ProdAllocSqncAssgmt() |
ProdAllocSqncAssgmt(UUID prodAllocSqncAssignmentUUID,
UUID productAllocationSequenceUUID,
String productAllocationSequence,
String material,
String plant,
Calendar validityStartUTCDateTime,
String validityStartTimeZone,
Calendar validityEndUTCDateTime,
String validityEndTimeZone,
ErpConfigContext erpConfigContext,
ProdAllocationSequence toProdAllocationSequenceTP) |
Modifier and Type | Method and Description |
---|---|
static ProdAllocSqncAssgmt.ProdAllocSqncAssgmtBuilder |
builder() |
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.
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Material
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
ProdAllocationSequence |
getProdAllocationSequenceTPOrFetch()
Retrieval of associated ProdAllocationSequence entity (one to one).
|
com.google.common.base.Optional<ProdAllocationSequence> |
getProdAllocationSequenceTPOrNull()
Retrieval of associated ProdAllocationSequence entity (one to one).
|
UUID |
getProdAllocSqncAssignmentUUID()
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProdAllocSqncAssignmentUUID
|
String |
getProductAllocationSequence()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ProductAllocationSequence
|
UUID |
getProductAllocationSequenceUUID()
Constraints: noneOriginal property name from the Odata EDM: ProductAllocationSequenceUUID
|
Class<ProdAllocSqncAssgmt> |
getType() |
String |
getValidityEndTimeZone()
Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: ValidityEndTimeZone
|
Calendar |
getValidityEndUTCDateTime()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ValidityEndUTCDateTime
|
String |
getValidityStartTimeZone()
Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: ValidityStartTimeZone
|
Calendar |
getValidityStartUTCDateTime()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ValidityStartUTCDateTime
|
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Material
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
void |
setProdAllocationSequenceTP(ProdAllocationSequence value)
Overwrites the associated ProdAllocationSequence entity for the loaded navigation property to_ProdAllocationSequenceTP.
|
void |
setProdAllocSqncAssignmentUUID(UUID prodAllocSqncAssignmentUUID)
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProdAllocSqncAssignmentUUID
|
void |
setProductAllocationSequence(String productAllocationSequence)
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ProductAllocationSequence
|
void |
setProductAllocationSequenceUUID(UUID productAllocationSequenceUUID)
Constraints: noneOriginal property name from the Odata EDM: ProductAllocationSequenceUUID
|
void |
setValidityEndTimeZone(String validityEndTimeZone)
Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: ValidityEndTimeZone
|
void |
setValidityEndUTCDateTime(Calendar validityEndUTCDateTime)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ValidityEndUTCDateTime
|
void |
setValidityStartTimeZone(String validityStartTimeZone)
Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: ValidityStartTimeZone
|
void |
setValidityStartUTCDateTime(Calendar validityStartUTCDateTime)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ValidityStartUTCDateTime
|
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
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<Calendar> VALIDITY_START_UTC_DATE_TIME
public static final ProdAllocSqncAssgmtField<String> VALIDITY_START_TIME_ZONE
public static final ProdAllocSqncAssgmtField<Calendar> VALIDITY_END_UTC_DATE_TIME
public static final ProdAllocSqncAssgmtField<String> VALIDITY_END_TIME_ZONE
public static final ProdAllocSqncAssgmtLink<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 Calendar validityStartUTCDateTime, @Nullable String validityStartTimeZone, @Nullable Calendar validityEndUTCDateTime, @Nullable String validityEndTimeZone, @Nullable ErpConfigContext erpConfigContext, @Nullable ProdAllocationSequence toProdAllocationSequenceTP)
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 Calendar 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 Calendar 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 Zonepublic static <T> ProdAllocSqncAssgmtField<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 ProdAllocationSequence fetchProdAllocationSequenceTP() 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 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.public com.google.common.base.Optional<ProdAllocationSequence> getProdAllocationSequenceTPOrNull()
If the navigation property for an entity ProdAllocSqncAssgmt has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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 Calendar getValidityStartUTCDateTime()
Original property name from the Odata EDM: ValidityStartUTCDateTime
@Nullable public String getValidityStartTimeZone()
Original property name from the Odata EDM: ValidityStartTimeZone
@Nullable public Calendar getValidityEndUTCDateTime()
Original property name from the Odata EDM: ValidityEndUTCDateTime
@Nullable public String getValidityEndTimeZone()
Original property name from the Odata EDM: ValidityEndTimeZone
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<ProdAllocSqncAssgmt>
public boolean equals(Object o)
equals
in class VdmObject<ProdAllocSqncAssgmt>
public int hashCode()
hashCode
in class VdmObject<ProdAllocSqncAssgmt>
Copyright © 2018 SAP SE. All rights reserved.