Class WorkCenterCapacityDescription
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: WorkCenterCapacityDescriptionType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WorkCenterCapacityDescription instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<WorkCenterCapacityDescription>Selector for all available fields of WorkCenterCapacityDescription.static final SimpleProperty.String<WorkCenterCapacityDescription>static final SimpleProperty.String<WorkCenterCapacityDescription>static final SimpleProperty.DateTime<WorkCenterCapacityDescription>static final SimpleProperty.String<WorkCenterCapacityDescription>static final SimpleProperty.String<WorkCenterCapacityDescription>Use with available request builders to apply the _CapHeader navigation property to query operations.Use with available request builders to apply the _Header navigation property to query operations.static final SimpleProperty.String<WorkCenterCapacityDescription>static final SimpleProperty.String<WorkCenterCapacityDescription>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionWorkCenterCapacityDescription(String workCenterInternalID, String workCenterTypeCode, String capacityCategoryAllocation, String capacityInternalID, String language, String capacityText, OffsetDateTime capacityLastChangeDateTime, WorkCenterCapacity to_CapHeader, WorkCenterHeader to_Header) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 40io.vavr.control.Option<WorkCenterCapacity>Retrieval of associated WorkCenterCapacity entity (one to one).protected Stringprotected Stringio.vavr.control.Option<WorkCenterHeader>Retrieval of associated WorkCenterHeader entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()(Key Field) Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 2inthashCode()voidsetCapacityCategoryAllocation(String capacityCategoryAllocation) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCapacityInternalID(String capacityInternalID) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetCapacityLastChangeDateTime(OffsetDateTime capacityLastChangeDateTime) Constraints: Nullable, Precision: 7voidsetCapacityText(String capacityText) Constraints: Not nullable, Maximum length: 40voidsetCapHeader(WorkCenterCapacity value) Overwrites the associated WorkCenterCapacity entity for the loaded navigation property _CapHeader.voidsetHeader(WorkCenterHeader value) Overwrites the associated WorkCenterHeader entity for the loaded navigation property _Header.voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetWorkCenterInternalID(String workCenterInternalID) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetWorkCenterTypeCode(String workCenterTypeCode) (Key Field) Constraints: Not nullable, Maximum length: 2toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of WorkCenterCapacityDescription. -
WORK_CENTER_INTERNAL_ID
-
WORK_CENTER_TYPE_CODE
-
CAPACITY_CATEGORY_ALLOCATION
public static final SimpleProperty.String<WorkCenterCapacityDescription> CAPACITY_CATEGORY_ALLOCATION -
CAPACITY_INTERNAL_ID
-
LANGUAGE
-
CAPACITY_TEXT
-
CAPACITY_LAST_CHANGE_DATE_TIME
public static final SimpleProperty.DateTime<WorkCenterCapacityDescription> CAPACITY_LAST_CHANGE_DATE_TIME -
TO__CAP_HEADER
public static final NavigationProperty.Single<WorkCenterCapacityDescription,WorkCenterCapacity> TO__CAP_HEADERUse with available request builders to apply the _CapHeader navigation property to query operations. -
TO__HEADER
public static final NavigationProperty.Single<WorkCenterCapacityDescription,WorkCenterHeader> TO__HEADERUse with available request builders to apply the _Header navigation property to query operations.
-
-
Constructor Details
-
WorkCenterCapacityDescription
public WorkCenterCapacityDescription() -
WorkCenterCapacityDescription
public WorkCenterCapacityDescription(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String capacityCategoryAllocation, @Nullable String capacityInternalID, @Nullable String language, @Nullable String capacityText, @Nullable OffsetDateTime capacityLastChangeDateTime, @Nullable WorkCenterCapacity to_CapHeader, @Nullable WorkCenterHeader to_Header)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WorkCenterCapacityDescription>
-
setWorkCenterInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: WorkCenterInternalID
- Parameters:
workCenterInternalID- Object ID of the resource
-
setWorkCenterTypeCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WorkCenterTypeCode
- Parameters:
workCenterTypeCode- Object types of the CIM resource
-
setCapacityCategoryAllocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CapacityCategoryAllocation
- Parameters:
capacityCategoryAllocation- Capacity Category Allocation
-
setCapacityInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CapacityInternalID
- Parameters:
capacityInternalID- Capacity ID
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setCapacityText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CapacityText
- Parameters:
capacityText- Capacity Short Text
-
setCapacityLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CapacityLastChangeDateTime
- Parameters:
capacityLastChangeDateTime- Capacity Last Change Date Time
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WorkCenterCapacityDescription>
-
getKey
- Overrides:
getKeyin classVdmObject<WorkCenterCapacityDescription>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WorkCenterCapacityDescription>
-
fromMap
- Overrides:
fromMapin classVdmObject<WorkCenterCapacityDescription>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WorkCenterCapacityDescription>
-
getCapHeaderIfPresent
Retrieval of associated WorkCenterCapacity entity (one to one). This corresponds to the OData navigation property _CapHeader.If the navigation property for an entity WorkCenterCapacityDescription has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _CapHeader is already loaded, the result will contain
the WorkCenterCapacity entity. If not, an
Optionwith result stateemptyis returned.
-
setCapHeader
Overwrites the associated WorkCenterCapacity entity for the loaded navigation property _CapHeader.- Parameters:
value- New WorkCenterCapacity entity.
-
getHeaderIfPresent
Retrieval of associated WorkCenterHeader entity (one to one). This corresponds to the OData navigation property _Header.If the navigation property for an entity WorkCenterCapacityDescription has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _Header is already loaded, the result will contain the
WorkCenterHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setHeader
Overwrites the associated WorkCenterHeader entity for the loaded navigation property _Header.- Parameters:
value- New WorkCenterHeader entity.
-
builder
-
getWorkCenterInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: WorkCenterInternalID
- Returns:
- Object ID of the resource
-
getWorkCenterTypeCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WorkCenterTypeCode
- Returns:
- Object types of the CIM resource
-
getCapacityCategoryAllocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CapacityCategoryAllocation
- Returns:
- Capacity Category Allocation
-
getCapacityInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CapacityInternalID
- Returns:
- Capacity ID
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getCapacityText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CapacityText
- Returns:
- Capacity Short Text
-
getCapacityLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CapacityLastChangeDateTime
- Returns:
- Capacity Last Change Date Time
-
toString
- Overrides:
toStringin classVdmObject<WorkCenterCapacityDescription>
-
equals
- Overrides:
equalsin classVdmEntity<WorkCenterCapacityDescription>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WorkCenterCapacityDescription>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WorkCenterCapacityDescription>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WorkCenterCapacityDescription>
-