public class ChangeMaster extends VdmEntity<ChangeMaster>
Original entity name from the Odata EDM: A_ChangeMasterType
Modifier and Type | Class and Description |
---|---|
static class |
ChangeMaster.ChangeMasterBuilder
Helper class to allow for fluent creation of ChangeMaster instances.
|
Modifier and Type | Field and Description |
---|---|
static ChangeMasterSelectable |
ALL_FIELDS
Selector for all available fields of ChangeMaster.
|
static ChangeMasterField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static ChangeMasterField<String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static ChangeMasterField<String> |
CHANGE_NUMBER_CREATED_BY_USER
Use with available fluent helpers to apply the ChangeNumberCreatedByUser field to query operations.
|
static ChangeMasterField<LocalDateTime> |
CHANGE_NUMBER_CREATION_DATE
Use with available fluent helpers to apply the ChangeNumberCreationDate field to query operations.
|
static ChangeMasterField<String> |
CHANGE_NUMBER_DESCRIPTION
Use with available fluent helpers to apply the ChangeNumberDescription field to query operations.
|
static ChangeMasterField<String> |
CHANGE_NUMBER_FUNCTION
Use with available fluent helpers to apply the ChangeNumberFunction field to query operations.
|
static ChangeMasterField<Boolean> |
CHANGE_NUMBER_IS_MRKD_FOR_DELETION
Use with available fluent helpers to apply the ChangeNumberIsMrkdForDeletion field to query operations.
|
static ChangeMasterField<String> |
CHANGE_NUMBER_LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the ChangeNumberLastChangedByUser field to query operations.
|
static ChangeMasterField<LocalDateTime> |
CHANGE_NUMBER_LAST_CHANGED_DATE
Use with available fluent helpers to apply the ChangeNumberLastChangedDate field to query operations.
|
static ChangeMasterField<String> |
CHANGE_NUMBER_RELEASE_KEY
Use with available fluent helpers to apply the ChangeNumberReleaseKey field to query operations.
|
static ChangeMasterField<String> |
CHANGE_NUMBER_STATUS
Use with available fluent helpers to apply the ChangeNumberStatus field to query operations.
|
static ChangeMasterField<LocalDateTime> |
CHANGE_NUMBER_VALID_FROM_DATE
Use with available fluent helpers to apply the ChangeNumberValidFromDate field to query operations.
|
static ChangeMasterField<String> |
IS_TECHNICALLY_RELEASED
Use with available fluent helpers to apply the IsTechnicallyReleased field to query operations.
|
static ChangeMasterField<Boolean> |
IS_USED_FOR_DATA_DEFINITION
Use with available fluent helpers to apply the IsUsedForDataDefinition field to query operations.
|
static ChangeMasterField<String> |
REASON_FOR_CHANGE_TEXT
Use with available fluent helpers to apply the ReasonForChangeText field to query operations.
|
static ChangeMasterLink<ChangeMasterAltDate> |
TO_ALTERNATIVE_DATE
Use with available fluent helpers to apply the to_AlternativeDate navigation property to query operations.
|
static ChangeMasterOneToOneLink<ChangeMasterStatus> |
TO_CHANGE_NUMBER_STATUS
Use with available fluent helpers to apply the to_ChangeNumberStatus navigation property to query
operations.
|
static ChangeMasterLink<ChangeMasterObjTypeAssgmt> |
TO_OBJ_TYPE_ASSIGNMENT
Use with available fluent helpers to apply the to_ObjTypeAssignment navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
ChangeMaster() |
ChangeMaster(String changeNumber,
String changeNumberStatus,
String authorizationGroup,
String changeNumberFunction,
String isTechnicallyReleased,
String changeNumberReleaseKey,
String reasonForChangeText,
String changeNumberDescription,
LocalDateTime changeNumberValidFromDate,
LocalDateTime changeNumberCreationDate,
String changeNumberCreatedByUser,
LocalDateTime changeNumberLastChangedDate,
String changeNumberLastChangedByUser,
Boolean isUsedForDataDefinition,
Boolean changeNumberIsMrkdForDeletion,
List<ChangeMasterAltDate> toAlternativeDate,
ChangeMasterStatus toChangeNumberStatus,
List<ChangeMasterObjTypeAssgmt> toObjTypeAssignment) |
Modifier and Type | Method and Description |
---|---|
void |
addAlternativeDate(ChangeMasterAltDate... entity)
Adds elements to the list of associated ChangeMasterAltDate entities.
|
void |
addObjTypeAssignment(ChangeMasterObjTypeAssgmt... entity)
Adds elements to the list of associated ChangeMasterObjTypeAssgmt entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ChangeMaster.ChangeMasterBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ChangeMasterAltDate> |
fetchAlternativeDate()
Fetches the ChangeMasterAltDate entities (one to many) associated with this entity.
|
ChangeMasterStatus |
fetchChangeNumberStatus()
Fetches the ChangeMasterStatus entity (one to one) associated with this entity.
|
List<ChangeMasterObjTypeAssgmt> |
fetchObjTypeAssignment()
Fetches the ChangeMasterObjTypeAssgmt entities (one to many) associated with this entity.
|
static <T> ChangeMasterField<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) |
io.vavr.control.Option<List<ChangeMasterAltDate>> |
getAlternativeDateIfPresent()
Retrieval of associated ChangeMasterAltDate entities (one to many).
|
List<ChangeMasterAltDate> |
getAlternativeDateOrFetch()
Retrieval of associated ChangeMasterAltDate entities (one to many).
|
String |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getChangeNumber()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
String |
getChangeNumberCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getChangeNumberCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getChangeNumberDescription()
Constraints: Not nullable, Maximum length: 40
|
String |
getChangeNumberFunction()
Constraints: Not nullable, Maximum length: 1
|
Boolean |
getChangeNumberIsMrkdForDeletion()
Constraints: none
|
String |
getChangeNumberLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getChangeNumberLastChangedDate()
Constraints: Not nullable, Precision: 0
|
String |
getChangeNumberReleaseKey()
Constraints: Not nullable, Maximum length: 2
|
String |
getChangeNumberStatus()
Constraints: Not nullable, Maximum length: 2
|
io.vavr.control.Option<ChangeMasterStatus> |
getChangeNumberStatusIfPresent()
Retrieval of associated ChangeMasterStatus entity (one to one).
|
ChangeMasterStatus |
getChangeNumberStatusOrFetch()
Retrieval of associated ChangeMasterStatus entity (one to one).
|
LocalDateTime |
getChangeNumberValidFromDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getIsTechnicallyReleased()
Constraints: Not nullable, Maximum length: 1
|
Boolean |
getIsUsedForDataDefinition()
Constraints: none
|
protected Map<String,Object> |
getKey() |
io.vavr.control.Option<List<ChangeMasterObjTypeAssgmt>> |
getObjTypeAssignmentIfPresent()
Retrieval of associated ChangeMasterObjTypeAssgmt entities (one to many).
|
List<ChangeMasterObjTypeAssgmt> |
getObjTypeAssignmentOrFetch()
Retrieval of associated ChangeMasterObjTypeAssgmt entities (one to many).
|
String |
getReasonForChangeText()
Constraints: Not nullable, Maximum length: 40
|
Class<ChangeMaster> |
getType() |
int |
hashCode() |
void |
setAlternativeDate(List<ChangeMasterAltDate> value)
Overwrites the list of associated ChangeMasterAltDate entities for the loaded navigation property
to_AlternativeDate.
|
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setChangeNumber(String changeNumber)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
void |
setChangeNumberCreatedByUser(String changeNumberCreatedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setChangeNumberCreationDate(LocalDateTime changeNumberCreationDate)
Constraints: Not nullable, Precision: 0
|
void |
setChangeNumberDescription(String changeNumberDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setChangeNumberFunction(String changeNumberFunction)
Constraints: Not nullable, Maximum length: 1
|
void |
setChangeNumberIsMrkdForDeletion(Boolean changeNumberIsMrkdForDeletion)
Constraints: none
|
void |
setChangeNumberLastChangedByUser(String changeNumberLastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setChangeNumberLastChangedDate(LocalDateTime changeNumberLastChangedDate)
Constraints: Not nullable, Precision: 0
|
void |
setChangeNumberReleaseKey(String changeNumberReleaseKey)
Constraints: Not nullable, Maximum length: 2
|
void |
setChangeNumberStatus(ChangeMasterStatus value)
Overwrites the associated ChangeMasterStatus entity for the loaded navigation property
to_ChangeNumberStatus.
|
void |
setChangeNumberStatus(String changeNumberStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setChangeNumberValidFromDate(LocalDateTime changeNumberValidFromDate)
Constraints: Not nullable, Precision: 0
|
void |
setIsTechnicallyReleased(String isTechnicallyReleased)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsUsedForDataDefinition(Boolean isUsedForDataDefinition)
Constraints: none
|
void |
setObjTypeAssignment(List<ChangeMasterObjTypeAssgmt> value)
Overwrites the list of associated ChangeMasterObjTypeAssgmt entities for the loaded navigation property
to_ObjTypeAssignment.
|
void |
setReasonForChangeText(String reasonForChangeText)
Constraints: Not nullable, Maximum length: 40
|
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() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ChangeMasterSelectable ALL_FIELDS
public static final ChangeMasterField<String> CHANGE_NUMBER
public static final ChangeMasterField<String> CHANGE_NUMBER_STATUS
public static final ChangeMasterField<String> AUTHORIZATION_GROUP
public static final ChangeMasterField<String> CHANGE_NUMBER_FUNCTION
public static final ChangeMasterField<String> IS_TECHNICALLY_RELEASED
public static final ChangeMasterField<String> CHANGE_NUMBER_RELEASE_KEY
public static final ChangeMasterField<String> REASON_FOR_CHANGE_TEXT
public static final ChangeMasterField<String> CHANGE_NUMBER_DESCRIPTION
public static final ChangeMasterField<LocalDateTime> CHANGE_NUMBER_VALID_FROM_DATE
public static final ChangeMasterField<LocalDateTime> CHANGE_NUMBER_CREATION_DATE
public static final ChangeMasterField<String> CHANGE_NUMBER_CREATED_BY_USER
public static final ChangeMasterField<LocalDateTime> CHANGE_NUMBER_LAST_CHANGED_DATE
public static final ChangeMasterField<String> CHANGE_NUMBER_LAST_CHANGED_BY_USER
public static final ChangeMasterField<Boolean> IS_USED_FOR_DATA_DEFINITION
public static final ChangeMasterField<Boolean> CHANGE_NUMBER_IS_MRKD_FOR_DELETION
public static final ChangeMasterLink<ChangeMasterAltDate> TO_ALTERNATIVE_DATE
public static final ChangeMasterOneToOneLink<ChangeMasterStatus> TO_CHANGE_NUMBER_STATUS
public static final ChangeMasterLink<ChangeMasterObjTypeAssgmt> TO_OBJ_TYPE_ASSIGNMENT
public ChangeMaster()
public ChangeMaster(@Nullable String changeNumber, @Nullable String changeNumberStatus, @Nullable String authorizationGroup, @Nullable String changeNumberFunction, @Nullable String isTechnicallyReleased, @Nullable String changeNumberReleaseKey, @Nullable String reasonForChangeText, @Nullable String changeNumberDescription, @Nullable LocalDateTime changeNumberValidFromDate, @Nullable LocalDateTime changeNumberCreationDate, @Nullable String changeNumberCreatedByUser, @Nullable LocalDateTime changeNumberLastChangedDate, @Nullable String changeNumberLastChangedByUser, @Nullable Boolean isUsedForDataDefinition, @Nullable Boolean changeNumberIsMrkdForDeletion, List<ChangeMasterAltDate> toAlternativeDate, @Nullable ChangeMasterStatus toChangeNumberStatus, List<ChangeMasterObjTypeAssgmt> toObjTypeAssignment)
@Nonnull public Class<ChangeMaster> getType()
getType
in class VdmObject<ChangeMaster>
public void setChangeNumber(@Nullable String changeNumber)
Original property name from the Odata EDM: ChangeNumber
If you make a change with reference to a change number, or create anobject with a change number, the following functions are at your disposal:The system determines the effectivity parametersThe conditions that the change is effective under can be defined in the change master record as follows:Changes with a date effectivity (valid from date)Changes with parameter effectivity (for example: serial no. effectivity)Log of the changes madeDocumentation for the changesRevision level to indicate the change status of a material or documentChanges released for the different areas in the company.
changeNumber
- Number used to uniquely identify a change master record.public void setChangeNumberStatus(@Nullable String changeNumberStatus)
Original property name from the Odata EDM: ChangeNumberStatus
changeNumberStatus
- Status of Change Numberpublic void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- Authorization group for change master recordpublic void setChangeNumberFunction(@Nullable String changeNumberFunction)
Original property name from the Odata EDM: ChangeNumberFunction
The change master record function determines, for example,which data is processedwhether change objects (for example, BOMs, task lists) can be processed with reference to the change master recordThe following functions are supported:Change number release indicator (Blank)Change master record that is automatically released for later application areas (no release procedure)Change number with release indicator (Value: 1)Change master record that you release for later application areas, using a release procedureChange package (Value: 2)Change master record that controls the individual object changes in the change processDetermines how and which change objects should be processedAllocation ti a change package is essentialLeading change master record (Value: 3)Change master record that groups together several change packages in the change processDetermines when the change should take effect (Date Valid- from)You cannot process the change objectsYou cannot create an ECR or an ECO with the Leading change master record function.
changeNumberFunction
- Determination of the task that copies the change master record to the change process.public void setIsTechnicallyReleased(@Nullable String isTechnicallyReleased)
Original property name from the Odata EDM: IsTechnicallyReleased
isTechnicallyReleased
- Indication that the changes have been technically released.public void setChangeNumberReleaseKey(@Nullable String changeNumberReleaseKey)
Original property name from the Odata EDM: ChangeNumberReleaseKey
For example, enter one of the following values:No release (blank)The changes are not released for other areas of the companyGlobal release (value 1)The changes are released for all areas of the company.Release for one or more areasFor example: costing, planning, productionRelease key 20 is defined in such a way that the changes are only released for costing. This means that the changes (for example, exchanging a cheap material for a more expensive one) are taken into account in costing, but not in planning or production.
changeNumberReleaseKey
- Key that reproduces the release procedure for different areas of the company.public void setReasonForChangeText(@Nullable String reasonForChangeText)
Original property name from the Odata EDM: ReasonForChangeText
You have the following options for documenting the change in more detail:You can create any document info records you need in document management and enter them as accompanying documents for the change master record.You link a document info record to a change master record by choosing the function Extras -> Accompanying docs.In the object-related management record you can additionally maintain information using the corresponding single change.
reasonForChangeText
- General information about the reason for change, that is relevant for all objects that are changed
with this change number.public void setChangeNumberDescription(@Nullable String changeNumberDescription)
Original property name from the Odata EDM: ChangeNumberDescription
The information entered is valid for all changes that are carried out using this change number.For the change master you canEnter a long text by choosing the function Chg header long text in the Extras menu.Change or display a long text if the Indicator: Long text exists for change master was set by the system.
changeNumberDescription
- Text that describes the change number.public void setChangeNumberValidFromDate(@Nullable LocalDateTime changeNumberValidFromDate)
Original property name from the Odata EDM: ChangeNumberValidFromDate
The system determines the date from the corresponding change master record. If the change object is not assigned to an alternative date, the date is then the valid-from date in the change header.
changeNumberValidFromDate
- Date, from which the change object (for example, document) change is effective with the corresponding
change number.public void setChangeNumberCreationDate(@Nullable LocalDateTime changeNumberCreationDate)
Original property name from the Odata EDM: ChangeNumberCreationDate
changeNumberCreationDate
- Date on Which Record Was Createdpublic void setChangeNumberCreatedByUser(@Nullable String changeNumberCreatedByUser)
Original property name from the Odata EDM: ChangeNumberCreatedByUser
changeNumberCreatedByUser
- User Who Created Recordpublic void setChangeNumberLastChangedDate(@Nullable LocalDateTime changeNumberLastChangedDate)
Original property name from the Odata EDM: ChangeNumberLastChangedDate
changeNumberLastChangedDate
- Changed Onpublic void setChangeNumberLastChangedByUser(@Nullable String changeNumberLastChangedByUser)
Original property name from the Odata EDM: ChangeNumberLastChangedByUser
changeNumberLastChangedByUser
- Name of Person Who Changed Objectpublic void setIsUsedForDataDefinition(@Nullable Boolean isUsedForDataDefinition)
Original property name from the Odata EDM: IsUsedForDataDefinition
isUsedForDataDefinition
- Change Number Is Currently Being Used in Objectspublic void setChangeNumberIsMrkdForDeletion(@Nullable Boolean changeNumberIsMrkdForDeletion)
Original property name from the Odata EDM: ChangeNumberIsMrkdForDeletion
changeNumberIsMrkdForDeletion
- Deletion Flag for Change Number (Reorganization)protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ChangeMaster>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ChangeMaster>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ChangeMaster>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ChangeMaster>
@Nonnull public static <T> ChangeMasterField<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> ChangeMasterField<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<ChangeMaster>
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<ChangeMaster>
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<ChangeMaster>
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()
VdmEntity
getDefaultServicePath
in class VdmEntity<ChangeMaster>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ChangeMaster>
@Nonnull public List<ChangeMasterAltDate> fetchAlternativeDate() 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<ChangeMasterAltDate> getAlternativeDateOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_AlternativeDate of a queried ChangeMaster 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<List<ChangeMasterAltDate>> getAlternativeDateIfPresent()
If the navigation property for an entity ChangeMaster 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 setAlternativeDate(@Nonnull List<ChangeMasterAltDate> value)
If the navigation property to_AlternativeDate of a queried ChangeMaster 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 ChangeMasterAltDate entities.public void addAlternativeDate(ChangeMasterAltDate... entity)
If the navigation property to_AlternativeDate of a queried ChangeMaster 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 ChangeMasterAltDate entities.@Nullable public ChangeMasterStatus fetchChangeNumberStatus() 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 ChangeMasterStatus getChangeNumberStatusOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ChangeNumberStatus of a queried ChangeMaster 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<ChangeMasterStatus> getChangeNumberStatusIfPresent()
If the navigation property for an entity ChangeMaster 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 setChangeNumberStatus(ChangeMasterStatus value)
value
- New ChangeMasterStatus entity.@Nonnull public List<ChangeMasterObjTypeAssgmt> fetchObjTypeAssignment() 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<ChangeMasterObjTypeAssgmt> getObjTypeAssignmentOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ObjTypeAssignment of a queried ChangeMaster 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<List<ChangeMasterObjTypeAssgmt>> getObjTypeAssignmentIfPresent()
If the navigation property for an entity ChangeMaster 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 setObjTypeAssignment(@Nonnull List<ChangeMasterObjTypeAssgmt> value)
If the navigation property to_ObjTypeAssignment of a queried ChangeMaster 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 ChangeMasterObjTypeAssgmt entities.public void addObjTypeAssignment(ChangeMasterObjTypeAssgmt... entity)
If the navigation property to_ObjTypeAssignment of a queried ChangeMaster 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 ChangeMasterObjTypeAssgmt entities.public static ChangeMaster.ChangeMasterBuilder builder()
@Nullable public String getChangeNumber()
Original property name from the Odata EDM: ChangeNumber
If you make a change with reference to a change number, or create anobject with a change number, the following functions are at your disposal:The system determines the effectivity parametersThe conditions that the change is effective under can be defined in the change master record as follows:Changes with a date effectivity (valid from date)Changes with parameter effectivity (for example: serial no. effectivity)Log of the changes madeDocumentation for the changesRevision level to indicate the change status of a material or documentChanges released for the different areas in the company.
@Nullable public String getChangeNumberStatus()
Original property name from the Odata EDM: ChangeNumberStatus
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
@Nullable public String getChangeNumberFunction()
Original property name from the Odata EDM: ChangeNumberFunction
The change master record function determines, for example,which data is processedwhether change objects (for example, BOMs, task lists) can be processed with reference to the change master recordThe following functions are supported:Change number release indicator (Blank)Change master record that is automatically released for later application areas (no release procedure)Change number with release indicator (Value: 1)Change master record that you release for later application areas, using a release procedureChange package (Value: 2)Change master record that controls the individual object changes in the change processDetermines how and which change objects should be processedAllocation ti a change package is essentialLeading change master record (Value: 3)Change master record that groups together several change packages in the change processDetermines when the change should take effect (Date Valid- from)You cannot process the change objectsYou cannot create an ECR or an ECO with the Leading change master record function.
@Nullable public String getIsTechnicallyReleased()
Original property name from the Odata EDM: IsTechnicallyReleased
@Nullable public String getChangeNumberReleaseKey()
Original property name from the Odata EDM: ChangeNumberReleaseKey
For example, enter one of the following values:No release (blank)The changes are not released for other areas of the companyGlobal release (value 1)The changes are released for all areas of the company.Release for one or more areasFor example: costing, planning, productionRelease key 20 is defined in such a way that the changes are only released for costing. This means that the changes (for example, exchanging a cheap material for a more expensive one) are taken into account in costing, but not in planning or production.
@Nullable public String getReasonForChangeText()
Original property name from the Odata EDM: ReasonForChangeText
You have the following options for documenting the change in more detail:You can create any document info records you need in document management and enter them as accompanying documents for the change master record.You link a document info record to a change master record by choosing the function Extras -> Accompanying docs.In the object-related management record you can additionally maintain information using the corresponding single change.
@Nullable public String getChangeNumberDescription()
Original property name from the Odata EDM: ChangeNumberDescription
The information entered is valid for all changes that are carried out using this change number.For the change master you canEnter a long text by choosing the function Chg header long text in the Extras menu.Change or display a long text if the Indicator: Long text exists for change master was set by the system.
@Nullable public LocalDateTime getChangeNumberValidFromDate()
Original property name from the Odata EDM: ChangeNumberValidFromDate
The system determines the date from the corresponding change master record. If the change object is not assigned to an alternative date, the date is then the valid-from date in the change header.
@Nullable public LocalDateTime getChangeNumberCreationDate()
Original property name from the Odata EDM: ChangeNumberCreationDate
@Nullable public String getChangeNumberCreatedByUser()
Original property name from the Odata EDM: ChangeNumberCreatedByUser
@Nullable public LocalDateTime getChangeNumberLastChangedDate()
Original property name from the Odata EDM: ChangeNumberLastChangedDate
@Nullable public String getChangeNumberLastChangedByUser()
Original property name from the Odata EDM: ChangeNumberLastChangedByUser
@Nullable public Boolean getIsUsedForDataDefinition()
Original property name from the Odata EDM: IsUsedForDataDefinition
@Nullable public Boolean getChangeNumberIsMrkdForDeletion()
Original property name from the Odata EDM: ChangeNumberIsMrkdForDeletion
public String toString()
toString
in class VdmObject<ChangeMaster>
public boolean equals(Object o)
equals
in class VdmObject<ChangeMaster>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ChangeMaster>
public int hashCode()
hashCode
in class VdmObject<ChangeMaster>
Copyright © 2020 SAP SE. All rights reserved.