public class WorkCenterAllCapacity extends VdmEntity<WorkCenterAllCapacity>
Original entity name from the Odata EDM: A_WorkCenterAllCapacityType
Modifier and Type | Class and Description |
---|---|
static class |
WorkCenterAllCapacity.WorkCenterAllCapacityBuilder
Helper class to allow for fluent creation of WorkCenterAllCapacity instances.
|
Modifier and Type | Field and Description |
---|---|
static WorkCenterAllCapacitySelectable |
ALL_FIELDS
Selector for all available fields of WorkCenterAllCapacity.
|
static WorkCenterAllCapacityField<String> |
CAPACITY_CATEGORY_ALLOCATION
Use with available fluent helpers to apply the CapacityCategoryAllocation field to query operations.
|
static WorkCenterAllCapacityField<String> |
CAPACITY_CATEGORY_CODE
Use with available fluent helpers to apply the CapacityCategoryCode field to query operations.
|
static WorkCenterAllCapacityField<String> |
CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the CapacityInternalID field to query operations.
|
static WorkCenterAllCapacityField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static WorkCenterAllCapacityField<String> |
SUPPLY_AREA
Use with available fluent helpers to apply the SupplyArea field to query operations.
|
static WorkCenterAllCapacityLink<WorkCenterCapacityInterval> |
TO_WORK_CENTER_INTERVAL
Use with available fluent helpers to apply the to_WorkCenterInterval navigation property to query
operations.
|
static WorkCenterAllCapacityLink<WorkCenterCapPplineOp> |
TO_WORK_CENTER_QUEUING_OP
Use with available fluent helpers to apply the to_WorkCenterQueuingOp navigation property to query
operations.
|
static WorkCenterAllCapacityLink<WorkCenterCapDayOp> |
TO_WORK_CENTER_TODAY_OP
Use with available fluent helpers to apply the to_WorkCenterTodayOp navigation property to query
operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER
Use with available fluent helpers to apply the WorkCenter field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_CATEGORY_CODE
Use with available fluent helpers to apply the WorkCenterCategoryCode field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_DESC
Use with available fluent helpers to apply the WorkCenterDesc field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_INTERNAL_ID
Use with available fluent helpers to apply the WorkCenterInternalID field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_RESPONSIBLE
Use with available fluent helpers to apply the WorkCenterResponsible field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_RESPONSIBLE_NAME
Use with available fluent helpers to apply the WorkCenterResponsibleName field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_TYPE_CODE
Use with available fluent helpers to apply the WorkCenterTypeCode field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_USAGE
Use with available fluent helpers to apply the WorkCenterUsage field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
WorkCenterAllCapacity() |
WorkCenterAllCapacity(String workCenterInternalID,
String workCenterTypeCode,
String capacityInternalID,
String capacityCategoryAllocation,
String workCenter,
String workCenterDesc,
String plant,
String workCenterCategoryCode,
String workCenterResponsible,
String supplyArea,
String workCenterUsage,
String workCenterResponsibleName,
String capacityCategoryCode,
List<WorkCenterCapacityInterval> toWorkCenterInterval,
List<WorkCenterCapPplineOp> toWorkCenterQueuingOp,
List<WorkCenterCapDayOp> toWorkCenterTodayOp) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkCenterInterval(WorkCenterCapacityInterval... entity)
Adds elements to the list of associated WorkCenterCapacityInterval entities.
|
void |
addWorkCenterQueuingOp(WorkCenterCapPplineOp... entity)
Adds elements to the list of associated WorkCenterCapPplineOp entities.
|
void |
addWorkCenterTodayOp(WorkCenterCapDayOp... entity)
Adds elements to the list of associated WorkCenterCapDayOp entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static WorkCenterAllCapacity.WorkCenterAllCapacityBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<WorkCenterCapacityInterval> |
fetchWorkCenterInterval()
Fetches the WorkCenterCapacityInterval entities (one to many) associated with this entity.
|
List<WorkCenterCapPplineOp> |
fetchWorkCenterQueuingOp()
Fetches the WorkCenterCapPplineOp entities (one to many) associated with this entity.
|
List<WorkCenterCapDayOp> |
fetchWorkCenterTodayOp()
Fetches the WorkCenterCapDayOp entities (one to many) associated with this entity.
|
static <T> WorkCenterAllCapacityField<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 |
getCapacityCategoryAllocation()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCapacityCategoryCode()
Constraints: Not nullable, Maximum length: 3
|
String |
getCapacityInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
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.
|
protected Map<String,Object> |
getKey() |
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getSupplyArea()
Constraints: Not nullable, Maximum length: 10
|
Class<WorkCenterAllCapacity> |
getType() |
String |
getWorkCenter()
Constraints: Not nullable, Maximum length: 8
|
String |
getWorkCenterCategoryCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getWorkCenterDesc()
Constraints: Not nullable, Maximum length: 40
|
String |
getWorkCenterInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
io.vavr.control.Option<List<WorkCenterCapacityInterval>> |
getWorkCenterIntervalIfPresent()
Retrieval of associated WorkCenterCapacityInterval entities (one to many).
|
List<WorkCenterCapacityInterval> |
getWorkCenterIntervalOrFetch()
Retrieval of associated WorkCenterCapacityInterval entities (one to many).
|
io.vavr.control.Option<List<WorkCenterCapPplineOp>> |
getWorkCenterQueuingOpIfPresent()
Retrieval of associated WorkCenterCapPplineOp entities (one to many).
|
List<WorkCenterCapPplineOp> |
getWorkCenterQueuingOpOrFetch()
Retrieval of associated WorkCenterCapPplineOp entities (one to many).
|
String |
getWorkCenterResponsible()
Constraints: Not nullable, Maximum length: 3
|
String |
getWorkCenterResponsibleName()
Constraints: Not nullable, Maximum length: 40
|
io.vavr.control.Option<List<WorkCenterCapDayOp>> |
getWorkCenterTodayOpIfPresent()
Retrieval of associated WorkCenterCapDayOp entities (one to many).
|
List<WorkCenterCapDayOp> |
getWorkCenterTodayOpOrFetch()
Retrieval of associated WorkCenterCapDayOp entities (one to many).
|
String |
getWorkCenterTypeCode()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getWorkCenterUsage()
Constraints: Not nullable, Maximum length: 3
|
int |
hashCode() |
void |
setCapacityCategoryAllocation(String capacityCategoryAllocation)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCapacityCategoryCode(String capacityCategoryCode)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapacityInternalID(String capacityInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplyArea(String supplyArea)
Constraints: Not nullable, Maximum length: 10
|
void |
setWorkCenter(String workCenter)
Constraints: Not nullable, Maximum length: 8
|
void |
setWorkCenterCategoryCode(String workCenterCategoryCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setWorkCenterDesc(String workCenterDesc)
Constraints: Not nullable, Maximum length: 40
|
void |
setWorkCenterInternalID(String workCenterInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setWorkCenterInterval(List<WorkCenterCapacityInterval> value)
Overwrites the list of associated WorkCenterCapacityInterval entities for the loaded navigation property
to_WorkCenterInterval.
|
void |
setWorkCenterQueuingOp(List<WorkCenterCapPplineOp> value)
Overwrites the list of associated WorkCenterCapPplineOp entities for the loaded navigation property
to_WorkCenterQueuingOp.
|
void |
setWorkCenterResponsible(String workCenterResponsible)
Constraints: Not nullable, Maximum length: 3
|
void |
setWorkCenterResponsibleName(String workCenterResponsibleName)
Constraints: Not nullable, Maximum length: 40
|
void |
setWorkCenterTodayOp(List<WorkCenterCapDayOp> value)
Overwrites the list of associated WorkCenterCapDayOp entities for the loaded navigation property
to_WorkCenterTodayOp.
|
void |
setWorkCenterTypeCode(String workCenterTypeCode)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setWorkCenterUsage(String workCenterUsage)
Constraints: Not nullable, Maximum length: 3
|
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 WorkCenterAllCapacitySelectable ALL_FIELDS
public static final WorkCenterAllCapacityField<String> WORK_CENTER_INTERNAL_ID
public static final WorkCenterAllCapacityField<String> WORK_CENTER_TYPE_CODE
public static final WorkCenterAllCapacityField<String> CAPACITY_INTERNAL_ID
public static final WorkCenterAllCapacityField<String> CAPACITY_CATEGORY_ALLOCATION
public static final WorkCenterAllCapacityField<String> WORK_CENTER
public static final WorkCenterAllCapacityField<String> WORK_CENTER_DESC
public static final WorkCenterAllCapacityField<String> PLANT
public static final WorkCenterAllCapacityField<String> WORK_CENTER_CATEGORY_CODE
public static final WorkCenterAllCapacityField<String> WORK_CENTER_RESPONSIBLE
public static final WorkCenterAllCapacityField<String> SUPPLY_AREA
public static final WorkCenterAllCapacityField<String> WORK_CENTER_USAGE
public static final WorkCenterAllCapacityField<String> WORK_CENTER_RESPONSIBLE_NAME
public static final WorkCenterAllCapacityField<String> CAPACITY_CATEGORY_CODE
public static final WorkCenterAllCapacityLink<WorkCenterCapacityInterval> TO_WORK_CENTER_INTERVAL
public static final WorkCenterAllCapacityLink<WorkCenterCapPplineOp> TO_WORK_CENTER_QUEUING_OP
public static final WorkCenterAllCapacityLink<WorkCenterCapDayOp> TO_WORK_CENTER_TODAY_OP
public WorkCenterAllCapacity()
public WorkCenterAllCapacity(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String capacityInternalID, @Nullable String capacityCategoryAllocation, @Nullable String workCenter, @Nullable String workCenterDesc, @Nullable String plant, @Nullable String workCenterCategoryCode, @Nullable String workCenterResponsible, @Nullable String supplyArea, @Nullable String workCenterUsage, @Nullable String workCenterResponsibleName, @Nullable String capacityCategoryCode, List<WorkCenterCapacityInterval> toWorkCenterInterval, List<WorkCenterCapPplineOp> toWorkCenterQueuingOp, List<WorkCenterCapDayOp> toWorkCenterTodayOp)
@Nonnull public Class<WorkCenterAllCapacity> getType()
getType
in class VdmObject<WorkCenterAllCapacity>
public void setWorkCenterInternalID(@Nullable String workCenterInternalID)
Original property name from the Odata EDM: WorkCenterInternalID
workCenterInternalID
- Object ID of the resourcepublic void setWorkCenterTypeCode(@Nullable String workCenterTypeCode)
Original property name from the Odata EDM: WorkCenterTypeCode
workCenterTypeCode
- Object types of the CIM resourcepublic void setCapacityInternalID(@Nullable String capacityInternalID)
Original property name from the Odata EDM: CapacityInternalID
capacityInternalID
- Capacity IDpublic void setCapacityCategoryAllocation(@Nullable String capacityCategoryAllocation)
Original property name from the Odata EDM: CapacityCategoryAllocation
capacityCategoryAllocation
- Capacity Category Allocationpublic void setWorkCenter(@Nullable String workCenter)
Original property name from the Odata EDM: WorkCenter
workCenter
- Work Centerpublic void setWorkCenterDesc(@Nullable String workCenterDesc)
Original property name from the Odata EDM: WorkCenterDesc
workCenterDesc
- Work Center Textpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setWorkCenterCategoryCode(@Nullable String workCenterCategoryCode)
Original property name from the Odata EDM: WorkCenterCategoryCode
workCenterCategoryCode
- Work Center Categorypublic void setWorkCenterResponsible(@Nullable String workCenterResponsible)
Original property name from the Odata EDM: WorkCenterResponsible
workCenterResponsible
- Person Responsible for the Work Centerpublic void setSupplyArea(@Nullable String supplyArea)
Original property name from the Odata EDM: SupplyArea
supplyArea
- Production Supply Areapublic void setWorkCenterUsage(@Nullable String workCenterUsage)
Original property name from the Odata EDM: WorkCenterUsage
workCenterUsage
- Work Center Usage in Bill of Operationspublic void setWorkCenterResponsibleName(@Nullable String workCenterResponsibleName)
Original property name from the Odata EDM: WorkCenterResponsibleName
workCenterResponsibleName
- Work Center Responsible Namepublic void setCapacityCategoryCode(@Nullable String capacityCategoryCode)
Original property name from the Odata EDM: CapacityCategoryCode
capacityCategoryCode
- Capacity Categoryprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<WorkCenterAllCapacity>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<WorkCenterAllCapacity>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WorkCenterAllCapacity>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WorkCenterAllCapacity>
@Nonnull public static <T> WorkCenterAllCapacityField<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> WorkCenterAllCapacityField<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<WorkCenterAllCapacity>
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<WorkCenterAllCapacity>
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<WorkCenterAllCapacity>
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<WorkCenterAllCapacity>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<WorkCenterAllCapacity>
@Nonnull public List<WorkCenterCapacityInterval> fetchWorkCenterInterval() 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<WorkCenterCapacityInterval> getWorkCenterIntervalOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WorkCenterInterval of a queried WorkCenterAllCapacity 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<WorkCenterCapacityInterval>> getWorkCenterIntervalIfPresent()
If the navigation property for an entity WorkCenterAllCapacity 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 setWorkCenterInterval(@Nonnull List<WorkCenterCapacityInterval> value)
If the navigation property to_WorkCenterInterval of a queried WorkCenterAllCapacity 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 WorkCenterCapacityInterval entities.public void addWorkCenterInterval(WorkCenterCapacityInterval... entity)
If the navigation property to_WorkCenterInterval of a queried WorkCenterAllCapacity 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 WorkCenterCapacityInterval entities.@Nonnull public List<WorkCenterCapPplineOp> fetchWorkCenterQueuingOp() 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<WorkCenterCapPplineOp> getWorkCenterQueuingOpOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenterAllCapacity 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<WorkCenterCapPplineOp>> getWorkCenterQueuingOpIfPresent()
If the navigation property for an entity WorkCenterAllCapacity 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 setWorkCenterQueuingOp(@Nonnull List<WorkCenterCapPplineOp> value)
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenterAllCapacity 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 WorkCenterCapPplineOp entities.public void addWorkCenterQueuingOp(WorkCenterCapPplineOp... entity)
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenterAllCapacity 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 WorkCenterCapPplineOp entities.@Nonnull public List<WorkCenterCapDayOp> fetchWorkCenterTodayOp() 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<WorkCenterCapDayOp> getWorkCenterTodayOpOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WorkCenterTodayOp of a queried WorkCenterAllCapacity 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<WorkCenterCapDayOp>> getWorkCenterTodayOpIfPresent()
If the navigation property for an entity WorkCenterAllCapacity 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 setWorkCenterTodayOp(@Nonnull List<WorkCenterCapDayOp> value)
If the navigation property to_WorkCenterTodayOp of a queried WorkCenterAllCapacity 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 WorkCenterCapDayOp entities.public void addWorkCenterTodayOp(WorkCenterCapDayOp... entity)
If the navigation property to_WorkCenterTodayOp of a queried WorkCenterAllCapacity 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 WorkCenterCapDayOp entities.@Nonnull public static WorkCenterAllCapacity.WorkCenterAllCapacityBuilder builder()
@Nullable public String getWorkCenterInternalID()
Original property name from the Odata EDM: WorkCenterInternalID
@Nullable public String getWorkCenterTypeCode()
Original property name from the Odata EDM: WorkCenterTypeCode
@Nullable public String getCapacityInternalID()
Original property name from the Odata EDM: CapacityInternalID
@Nullable public String getCapacityCategoryAllocation()
Original property name from the Odata EDM: CapacityCategoryAllocation
@Nullable public String getWorkCenter()
Original property name from the Odata EDM: WorkCenter
@Nullable public String getWorkCenterDesc()
Original property name from the Odata EDM: WorkCenterDesc
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getWorkCenterCategoryCode()
Original property name from the Odata EDM: WorkCenterCategoryCode
@Nullable public String getWorkCenterResponsible()
Original property name from the Odata EDM: WorkCenterResponsible
@Nullable public String getSupplyArea()
Original property name from the Odata EDM: SupplyArea
@Nullable public String getWorkCenterUsage()
Original property name from the Odata EDM: WorkCenterUsage
@Nullable public String getWorkCenterResponsibleName()
Original property name from the Odata EDM: WorkCenterResponsibleName
@Nullable public String getCapacityCategoryCode()
Original property name from the Odata EDM: CapacityCategoryCode
@Nonnull public String toString()
toString
in class VdmObject<WorkCenterAllCapacity>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<WorkCenterAllCapacity>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<WorkCenterAllCapacity>
public int hashCode()
hashCode
in class VdmObject<WorkCenterAllCapacity>
Copyright © 2021 SAP SE. All rights reserved.