public class ChangeRecord extends VdmEntity<ChangeRecord>
Original entity name from the Odata EDM: A_ChangeRecordType
Modifier and Type | Class and Description |
---|---|
static class |
ChangeRecord.ChangeRecordBuilder
Helper class to allow for fluent creation of ChangeRecord instances.
|
Modifier and Type | Field and Description |
---|---|
static ChangeRecordSelectable |
ALL_FIELDS
Selector for all available fields of ChangeRecord.
|
static ChangeRecordField<String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static ChangeRecordField<String> |
CHANGE_RECORD
Use with available fluent helpers to apply the ChangeRecord field to query operations.
|
static ChangeRecordField<String> |
CHANGE_RECORD_DETAIL_DESCRIPTION
Use with available fluent helpers to apply the ChangeRecordDetailDescription field to query operations.
|
static ChangeRecordField<String> |
CHANGE_RECORD_LIFECYCLE_STATUS
Use with available fluent helpers to apply the ChangeRecordLifecycleStatus field to query operations.
|
static ChangeRecordField<String> |
CHANGE_RECORD_STATUS
Use with available fluent helpers to apply the ChangeRecordStatus field to query operations.
|
static ChangeRecordField<String> |
CHANGE_RECORD_TYPE
Use with available fluent helpers to apply the ChangeRecordType field to query operations.
|
static ChangeRecordField<UUID> |
CHANGE_RECORD_UUID
Use with available fluent helpers to apply the ChangeRecordUUID field to query operations.
|
static ChangeRecordField<LocalDateTime> |
CHG_RECD_EXPECTED_COMPLETION_DATE
Use with available fluent helpers to apply the ChgRecdExpectedCompletionDate field to query operations.
|
static ChangeRecordField<String> |
CHG_RECORD_DESCRIPTION_TEXT
Use with available fluent helpers to apply the ChgRecordDescriptionText field to query operations.
|
static ChangeRecordField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static ChangeRecordField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static ChangeRecordField<BigDecimal> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static ChangeRecordField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static ChangeRecordField<String> |
PARTNER
Use with available fluent helpers to apply the Partner field to query operations.
|
static ChangeRecordLink<ChangeRecordReferenceBit> |
TO_REF_BIT
Use with available fluent helpers to apply the to_RefBit navigation property to query operations.
|
static ChangeRecordLink<ChangeRecordReferenceBOM> |
TO_REF_BOM
Use with available fluent helpers to apply the to_RefBOM navigation property to query operations.
|
static ChangeRecordLink<ChangeRecordReferenceDoc> |
TO_REF_DOC
Use with available fluent helpers to apply the to_RefDoc navigation property to query operations.
|
static ChangeRecordLink<ChangeRecordReferenceMat> |
TO_REF_MAT
Use with available fluent helpers to apply the to_RefMat navigation property to query operations.
|
static ChangeRecordLink<ChangeRecordReferencePSV> |
TO_REF_PSV
Use with available fluent helpers to apply the to_RefPSV navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ChangeRecord() |
ChangeRecord(UUID changeRecordUUID,
String changeRecord,
String changeRecordType,
String changeRecordStatus,
String changeNumber,
String createdByUser,
ZonedDateTime creationDateTime,
String lastChangedByUser,
BigDecimal lastChangeDateTime,
String changeRecordLifecycleStatus,
String partner,
String chgRecordDescriptionText,
String changeRecordDetailDescription,
LocalDateTime chgRecdExpectedCompletionDate,
List<ChangeRecordReferenceBit> toRefBit,
List<ChangeRecordReferenceBOM> toRefBOM,
List<ChangeRecordReferenceDoc> toRefDoc,
List<ChangeRecordReferenceMat> toRefMat,
List<ChangeRecordReferencePSV> toRefPSV) |
Modifier and Type | Method and Description |
---|---|
void |
addRefBit(ChangeRecordReferenceBit... entity)
Adds elements to the list of associated ChangeRecordReferenceBit entities.
|
void |
addRefBOM(ChangeRecordReferenceBOM... entity)
Adds elements to the list of associated ChangeRecordReferenceBOM entities.
|
void |
addRefDoc(ChangeRecordReferenceDoc... entity)
Adds elements to the list of associated ChangeRecordReferenceDoc entities.
|
void |
addRefMat(ChangeRecordReferenceMat... entity)
Adds elements to the list of associated ChangeRecordReferenceMat entities.
|
void |
addRefPSV(ChangeRecordReferencePSV... entity)
Adds elements to the list of associated ChangeRecordReferencePSV entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static ChangeRecord.ChangeRecordBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ChangeRecordReferenceBit> |
fetchRefBit()
Fetches the ChangeRecordReferenceBit entities (one to many) associated with this entity.
|
List<ChangeRecordReferenceBOM> |
fetchRefBOM()
Fetches the ChangeRecordReferenceBOM entities (one to many) associated with this entity.
|
List<ChangeRecordReferenceDoc> |
fetchRefDoc()
Fetches the ChangeRecordReferenceDoc entities (one to many) associated with this entity.
|
List<ChangeRecordReferenceMat> |
fetchRefMat()
Fetches the ChangeRecordReferenceMat entities (one to many) associated with this entity.
|
List<ChangeRecordReferencePSV> |
fetchRefPSV()
Fetches the ChangeRecordReferencePSV entities (one to many) associated with this entity.
|
static <T> ChangeRecordField<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) |
String |
getChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getChangeRecord()
Constraints: Not nullable, Maximum length: 20
|
String |
getChangeRecordDetailDescription()
Constraints: none
|
String |
getChangeRecordLifecycleStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getChangeRecordStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getChangeRecordType()
Constraints: Not nullable, Maximum length: 3
|
UUID |
getChangeRecordUUID()
(Key Field) Constraints: Not nullable
|
LocalDateTime |
getChgRecdExpectedCompletionDate()
Constraints: Not nullable, Precision: 0
|
String |
getChgRecordDescriptionText()
Constraints: Not nullable, Maximum length: 40
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
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 |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 22, Scale: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getPartner()
Constraints: Not nullable, Maximum length: 10
|
Optional<List<ChangeRecordReferenceBit>> |
getRefBitIfPresent()
Retrieval of associated ChangeRecordReferenceBit entities (one to many).
|
List<ChangeRecordReferenceBit> |
getRefBitOrFetch()
Retrieval of associated ChangeRecordReferenceBit entities (one to many).
|
Optional<List<ChangeRecordReferenceBOM>> |
getRefBOMIfPresent()
Retrieval of associated ChangeRecordReferenceBOM entities (one to many).
|
List<ChangeRecordReferenceBOM> |
getRefBOMOrFetch()
Retrieval of associated ChangeRecordReferenceBOM entities (one to many).
|
Optional<List<ChangeRecordReferenceDoc>> |
getRefDocIfPresent()
Retrieval of associated ChangeRecordReferenceDoc entities (one to many).
|
List<ChangeRecordReferenceDoc> |
getRefDocOrFetch()
Retrieval of associated ChangeRecordReferenceDoc entities (one to many).
|
Optional<List<ChangeRecordReferenceMat>> |
getRefMatIfPresent()
Retrieval of associated ChangeRecordReferenceMat entities (one to many).
|
List<ChangeRecordReferenceMat> |
getRefMatOrFetch()
Retrieval of associated ChangeRecordReferenceMat entities (one to many).
|
Optional<List<ChangeRecordReferencePSV>> |
getRefPSVIfPresent()
Retrieval of associated ChangeRecordReferencePSV entities (one to many).
|
List<ChangeRecordReferencePSV> |
getRefPSVOrFetch()
Retrieval of associated ChangeRecordReferencePSV entities (one to many).
|
Class<ChangeRecord> |
getType() |
int |
hashCode() |
void |
setChangeNumber(String changeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setChangeRecord(String changeRecord)
Constraints: Not nullable, Maximum length: 20
|
void |
setChangeRecordDetailDescription(String changeRecordDetailDescription)
Constraints: none
|
void |
setChangeRecordLifecycleStatus(String changeRecordLifecycleStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setChangeRecordStatus(String changeRecordStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setChangeRecordType(String changeRecordType)
Constraints: Not nullable, Maximum length: 3
|
void |
setChangeRecordUUID(UUID changeRecordUUID)
(Key Field) Constraints: Not nullable
|
void |
setChgRecdExpectedCompletionDate(LocalDateTime chgRecdExpectedCompletionDate)
Constraints: Not nullable, Precision: 0
|
void |
setChgRecordDescriptionText(String chgRecordDescriptionText)
Constraints: Not nullable, Maximum length: 40
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setLastChangeDateTime(BigDecimal lastChangeDateTime)
Constraints: Not nullable, Precision: 22, Scale: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setPartner(String partner)
Constraints: Not nullable, Maximum length: 10
|
void |
setRefBit(List<ChangeRecordReferenceBit> value)
Overwrites the list of associated ChangeRecordReferenceBit entities for the loaded navigation property
to_RefBit.
|
void |
setRefBOM(List<ChangeRecordReferenceBOM> value)
Overwrites the list of associated ChangeRecordReferenceBOM entities for the loaded navigation property
to_RefBOM.
|
void |
setRefDoc(List<ChangeRecordReferenceDoc> value)
Overwrites the list of associated ChangeRecordReferenceDoc entities for the loaded navigation property
to_RefDoc.
|
void |
setRefMat(List<ChangeRecordReferenceMat> value)
Overwrites the list of associated ChangeRecordReferenceMat entities for the loaded navigation property
to_RefMat.
|
void |
setRefPSV(List<ChangeRecordReferencePSV> value)
Overwrites the list of associated ChangeRecordReferencePSV entities for the loaded navigation property
to_RefPSV.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ChangeRecordSelectable ALL_FIELDS
public static final ChangeRecordField<UUID> CHANGE_RECORD_UUID
public static final ChangeRecordField<String> CHANGE_RECORD
public static final ChangeRecordField<String> CHANGE_RECORD_TYPE
public static final ChangeRecordField<String> CHANGE_RECORD_STATUS
public static final ChangeRecordField<String> CHANGE_NUMBER
public static final ChangeRecordField<String> CREATED_BY_USER
public static final ChangeRecordField<ZonedDateTime> CREATION_DATE_TIME
public static final ChangeRecordField<String> LAST_CHANGED_BY_USER
public static final ChangeRecordField<BigDecimal> LAST_CHANGE_DATE_TIME
public static final ChangeRecordField<String> CHANGE_RECORD_LIFECYCLE_STATUS
public static final ChangeRecordField<String> PARTNER
public static final ChangeRecordField<String> CHG_RECORD_DESCRIPTION_TEXT
public static final ChangeRecordField<String> CHANGE_RECORD_DETAIL_DESCRIPTION
public static final ChangeRecordField<LocalDateTime> CHG_RECD_EXPECTED_COMPLETION_DATE
public static final ChangeRecordLink<ChangeRecordReferenceBit> TO_REF_BIT
public static final ChangeRecordLink<ChangeRecordReferenceBOM> TO_REF_BOM
public static final ChangeRecordLink<ChangeRecordReferenceDoc> TO_REF_DOC
public static final ChangeRecordLink<ChangeRecordReferenceMat> TO_REF_MAT
public static final ChangeRecordLink<ChangeRecordReferencePSV> TO_REF_PSV
public ChangeRecord()
public ChangeRecord(@Nullable UUID changeRecordUUID, @Nullable String changeRecord, @Nullable String changeRecordType, @Nullable String changeRecordStatus, @Nullable String changeNumber, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable BigDecimal lastChangeDateTime, @Nullable String changeRecordLifecycleStatus, @Nullable String partner, @Nullable String chgRecordDescriptionText, @Nullable String changeRecordDetailDescription, @Nullable LocalDateTime chgRecdExpectedCompletionDate, List<ChangeRecordReferenceBit> toRefBit, List<ChangeRecordReferenceBOM> toRefBOM, List<ChangeRecordReferenceDoc> toRefDoc, List<ChangeRecordReferenceMat> toRefMat, List<ChangeRecordReferencePSV> toRefPSV)
@Nonnull public Class<ChangeRecord> getType()
getType
in class VdmObject<ChangeRecord>
public void setChangeRecordUUID(@Nullable UUID changeRecordUUID)
Original property name from the Odata EDM: ChangeRecordUUID
changeRecordUUID
- NodeIDpublic void setChangeRecord(@Nullable String changeRecord)
Original property name from the Odata EDM: ChangeRecord
changeRecord
- Change Record IDpublic void setChangeRecordType(@Nullable String changeRecordType)
Original property name from the Odata EDM: ChangeRecordType
changeRecordType
- Change records are assigned a specific type when they are created. You can further customize change
records according to their type, and you can configure multiple change record types in a single
system.public void setChangeRecordStatus(@Nullable String changeRecordStatus)
Original property name from the Odata EDM: ChangeRecordStatus
changeRecordStatus
- Change Record Header Statuspublic void setChangeNumber(@Nullable String changeNumber)
Original property name from the Odata EDM: ChangeNumber
changeNumber
- Change Numberpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created Bypublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
To standardize local times in a UTC time stamp and thus make them comparable with other times, these local times
need to be converted using your time zone and the ABAP command convert.Even if the system is able to determine
the time zone from Customizing or master data, you shoul save the time zone redundantly here.The internal
structure of the UTC time stamp is subdivided into a date part and a time part in packed number format
creationDateTime
- The UTC time stamp is the date and time relative to UTC (Universal Coordinated Time).public void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Changed Bypublic void setLastChangeDateTime(@Nullable BigDecimal lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- The lastChangeDateTime to set.public void setChangeRecordLifecycleStatus(@Nullable String changeRecordLifecycleStatus)
Original property name from the Odata EDM: ChangeRecordLifecycleStatus
changeRecordLifecycleStatus
- Issue Lifecycle Status Codepublic void setPartner(@Nullable String partner)
Original property name from the Odata EDM: Partner
partner
- Change Record Change Responsible (Person)public void setChgRecordDescriptionText(@Nullable String chgRecordDescriptionText)
Original property name from the Odata EDM: ChgRecordDescriptionText
chgRecordDescriptionText
- Change Record Header Descriptionpublic void setChangeRecordDetailDescription(@Nullable String changeRecordDetailDescription)
Original property name from the Odata EDM: ChangeRecordDetailDescription
changeRecordDetailDescription
- Change Record General Infopublic void setChgRecdExpectedCompletionDate(@Nullable LocalDateTime chgRecdExpectedCompletionDate)
Original property name from the Odata EDM: ChgRecdExpectedCompletionDate
chgRecdExpectedCompletionDate
- Expected Completion Dateprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<ChangeRecord>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ChangeRecord>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ChangeRecord>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ChangeRecord>
@Nonnull public static <T> ChangeRecordField<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> ChangeRecordField<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<ChangeRecord>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<ChangeRecord>
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<ChangeRecord>
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<ChangeRecord>
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<ChangeRecord>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ChangeRecord>
@Nonnull public List<ChangeRecordReferenceBit> fetchRefBit() 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.@Nonnull public List<ChangeRecordReferenceBit> getRefBitOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RefBit of a queried ChangeRecord 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 Optional<List<ChangeRecordReferenceBit>> getRefBitIfPresent()
If the navigation property for an entity ChangeRecord has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setRefBit(@Nonnull List<ChangeRecordReferenceBit> value)
If the navigation property to_RefBit of a queried ChangeRecord 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 ChangeRecordReferenceBit entities.public void addRefBit(ChangeRecordReferenceBit... entity)
If the navigation property to_RefBit of a queried ChangeRecord 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 ChangeRecordReferenceBit entities.@Nonnull public List<ChangeRecordReferenceBOM> fetchRefBOM() 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.@Nonnull public List<ChangeRecordReferenceBOM> getRefBOMOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RefBOM of a queried ChangeRecord 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 Optional<List<ChangeRecordReferenceBOM>> getRefBOMIfPresent()
If the navigation property for an entity ChangeRecord has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setRefBOM(@Nonnull List<ChangeRecordReferenceBOM> value)
If the navigation property to_RefBOM of a queried ChangeRecord 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 ChangeRecordReferenceBOM entities.public void addRefBOM(ChangeRecordReferenceBOM... entity)
If the navigation property to_RefBOM of a queried ChangeRecord 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 ChangeRecordReferenceBOM entities.@Nonnull public List<ChangeRecordReferenceDoc> fetchRefDoc() 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.@Nonnull public List<ChangeRecordReferenceDoc> getRefDocOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RefDoc of a queried ChangeRecord 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 Optional<List<ChangeRecordReferenceDoc>> getRefDocIfPresent()
If the navigation property for an entity ChangeRecord has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setRefDoc(@Nonnull List<ChangeRecordReferenceDoc> value)
If the navigation property to_RefDoc of a queried ChangeRecord 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 ChangeRecordReferenceDoc entities.public void addRefDoc(ChangeRecordReferenceDoc... entity)
If the navigation property to_RefDoc of a queried ChangeRecord 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 ChangeRecordReferenceDoc entities.@Nonnull public List<ChangeRecordReferenceMat> fetchRefMat() 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.@Nonnull public List<ChangeRecordReferenceMat> getRefMatOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RefMat of a queried ChangeRecord 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 Optional<List<ChangeRecordReferenceMat>> getRefMatIfPresent()
If the navigation property for an entity ChangeRecord has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setRefMat(@Nonnull List<ChangeRecordReferenceMat> value)
If the navigation property to_RefMat of a queried ChangeRecord 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 ChangeRecordReferenceMat entities.public void addRefMat(ChangeRecordReferenceMat... entity)
If the navigation property to_RefMat of a queried ChangeRecord 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 ChangeRecordReferenceMat entities.@Nonnull public List<ChangeRecordReferencePSV> fetchRefPSV() 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.@Nonnull public List<ChangeRecordReferencePSV> getRefPSVOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RefPSV of a queried ChangeRecord 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 Optional<List<ChangeRecordReferencePSV>> getRefPSVIfPresent()
If the navigation property for an entity ChangeRecord has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setRefPSV(@Nonnull List<ChangeRecordReferencePSV> value)
If the navigation property to_RefPSV of a queried ChangeRecord 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 ChangeRecordReferencePSV entities.public void addRefPSV(ChangeRecordReferencePSV... entity)
If the navigation property to_RefPSV of a queried ChangeRecord 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 ChangeRecordReferencePSV entities.public static ChangeRecord.ChangeRecordBuilder builder()
@Nullable public UUID getChangeRecordUUID()
Original property name from the Odata EDM: ChangeRecordUUID
@Nullable public String getChangeRecord()
Original property name from the Odata EDM: ChangeRecord
@Nullable public String getChangeRecordType()
Original property name from the Odata EDM: ChangeRecordType
@Nullable public String getChangeRecordStatus()
Original property name from the Odata EDM: ChangeRecordStatus
@Nullable public String getChangeNumber()
Original property name from the Odata EDM: ChangeNumber
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
To standardize local times in a UTC time stamp and thus make them comparable with other times, these local times
need to be converted using your time zone and the ABAP command convert.Even if the system is able to determine
the time zone from Customizing or master data, you shoul save the time zone redundantly here.The internal
structure of the UTC time stamp is subdivided into a date part and a time part in packed number format
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public BigDecimal getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getChangeRecordLifecycleStatus()
Original property name from the Odata EDM: ChangeRecordLifecycleStatus
@Nullable public String getPartner()
Original property name from the Odata EDM: Partner
@Nullable public String getChgRecordDescriptionText()
Original property name from the Odata EDM: ChgRecordDescriptionText
@Nullable public String getChangeRecordDetailDescription()
Original property name from the Odata EDM: ChangeRecordDetailDescription
@Nullable public LocalDateTime getChgRecdExpectedCompletionDate()
Original property name from the Odata EDM: ChgRecdExpectedCompletionDate
public String toString()
toString
in class VdmObject<ChangeRecord>
public boolean equals(Object o)
equals
in class VdmObject<ChangeRecord>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ChangeRecord>
public int hashCode()
hashCode
in class VdmObject<ChangeRecord>
Copyright © 2019 SAP SE. All rights reserved.