public class ProdAllocSqncAssgmt extends VdmEntity<ProdAllocSqncAssgmt>
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
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
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 nullable
|
String |
getProductAllocationSequence()
Constraints: Not nullable, Maximum length: 40
|
UUID |
getProductAllocationSequenceUUID()
Constraints: none
|
Class<ProdAllocSqncAssgmt> |
getType() |
String |
getValidityEndTimeZone()
Constraints: Not nullable, Maximum length: 6
|
Calendar |
getValidityEndUTCDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getValidityStartTimeZone()
Constraints: Not nullable, Maximum length: 6
|
Calendar |
getValidityStartUTCDateTime()
Constraints: Not nullable, Precision: 0
|
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
|
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
|
void |
setValidityEndTimeZone(String validityEndTimeZone)
Constraints: Not nullable, Maximum length: 6
|
void |
setValidityEndUTCDateTime(Calendar validityEndUTCDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartTimeZone(String validityStartTimeZone)
Constraints: Not nullable, Maximum length: 6
|
void |
setValidityStartUTCDateTime(Calendar validityStartUTCDateTime)
Constraints: Not nullable, Precision: 0
|
String |
toString() |
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 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 to_ProdAllocationSequenceTP 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()
@Nullable public UUID getProductAllocationSequenceUUID()
@Nullable public String getProductAllocationSequence()
@Nullable public String getMaterial()
@Nullable public String getPlant()
@Nullable public Calendar getValidityStartUTCDateTime()
@Nullable public String getValidityStartTimeZone()
@Nullable public Calendar getValidityEndUTCDateTime()
@Nullable public String getValidityEndTimeZone()
@Nullable public ErpConfigContext getErpConfigContext()
public void setProdAllocSqncAssignmentUUID(@Nullable UUID prodAllocSqncAssignmentUUID)
prodAllocSqncAssignmentUUID
- public void setProductAllocationSequenceUUID(@Nullable UUID productAllocationSequenceUUID)
productAllocationSequenceUUID
- public void setProductAllocationSequence(@Nullable String productAllocationSequence)
productAllocationSequence
- public void setMaterial(@Nullable String material)
material
- public void setPlant(@Nullable String plant)
plant
- public void setValidityStartUTCDateTime(@Nullable Calendar validityStartUTCDateTime)
validityStartUTCDateTime
- public void setValidityStartTimeZone(@Nullable String validityStartTimeZone)
validityStartTimeZone
- public void setValidityEndUTCDateTime(@Nullable Calendar validityEndUTCDateTime)
validityEndUTCDateTime
- public void setValidityEndTimeZone(@Nullable String validityEndTimeZone)
validityEndTimeZone
- 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.