Class WorkCenterCapacityText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: WorkCenterCapacityTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WorkCenterCapacityText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<WorkCenterCapacityText>Selector for all available fields of WorkCenterCapacityText.static final SimpleProperty.String<WorkCenterCapacityText>static final SimpleProperty.DateTime<WorkCenterCapacityText>static final SimpleProperty.String<WorkCenterCapacityText>static final SimpleProperty.String<WorkCenterCapacityText>Use with available request builders to apply the _Header navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionWorkCenterCapacityText(String capacityInternalID, String language, String capacityText, OffsetDateTime capacityLastChangeDateTime, WorkCenterCapacity to_Header) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 40protected Stringprotected Stringio.vavr.control.Option<WorkCenterCapacity>Retrieval of associated WorkCenterCapacity entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCapacityInternalID(String capacityInternalID) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetCapacityLastChangeDateTime(OffsetDateTime capacityLastChangeDateTime) Constraints: Nullable, Precision: 7voidsetCapacityText(String capacityText) Constraints: Not nullable, Maximum length: 40voidsetHeader(WorkCenterCapacity value) Overwrites the associated WorkCenterCapacity entity for the loaded navigation property _Header.voidsetLanguage(String language) (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 WorkCenterCapacityText. -
CAPACITY_INTERNAL_ID
-
LANGUAGE
-
CAPACITY_TEXT
-
CAPACITY_LAST_CHANGE_DATE_TIME
-
TO__HEADER
Use with available request builders to apply the _Header navigation property to query operations.
-
-
Constructor Details
-
WorkCenterCapacityText
public WorkCenterCapacityText() -
WorkCenterCapacityText
public WorkCenterCapacityText(@Nullable String capacityInternalID, @Nullable String language, @Nullable String capacityText, @Nullable OffsetDateTime capacityLastChangeDateTime, @Nullable WorkCenterCapacity to_Header)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WorkCenterCapacityText>
-
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<WorkCenterCapacityText>
-
getKey
- Overrides:
getKeyin classVdmObject<WorkCenterCapacityText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WorkCenterCapacityText>
-
fromMap
- Overrides:
fromMapin classVdmObject<WorkCenterCapacityText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WorkCenterCapacityText>
-
getHeaderIfPresent
Retrieval of associated WorkCenterCapacity entity (one to one). This corresponds to the OData navigation property _Header.If the navigation property for an entity WorkCenterCapacityText 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
WorkCenterCapacity entity. If not, an
Optionwith result stateemptyis returned.
-
setHeader
Overwrites the associated WorkCenterCapacity entity for the loaded navigation property _Header.- Parameters:
value- New WorkCenterCapacity entity.
-
builder
-
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<WorkCenterCapacityText>
-
equals
- Overrides:
equalsin classVdmEntity<WorkCenterCapacityText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WorkCenterCapacityText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WorkCenterCapacityText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WorkCenterCapacityText>
-