Class CnsldtnOrderText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CnsldtnOrderText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.consolidationorder.CnsldtnOrderText
- All Implemented Interfaces:
VdmEntitySet
Consolidation Order - Text
Original entity name from the Odata EDM: CnsldtnOrderText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnOrderText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnOrderText>Selector for all available fields of CnsldtnOrderText.static final SimpleProperty.Boolean<CnsldtnOrderText>static final SimpleProperty.String<CnsldtnOrderText>static final SimpleProperty.String<CnsldtnOrderText>static final SimpleProperty.String<CnsldtnOrderText>static final NavigationProperty.Single<CnsldtnOrderText,CnsldtnOrder> Use with available request builders to apply the _Order 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
ConstructorsConstructorDescriptionCnsldtnOrderText(String language, String orderID, String orderDescription, Boolean cnsldtnIsAdditionalMasterData, CnsldtnOrder to_Order) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 12io.vavr.control.Option<CnsldtnOrder>Retrieval of associated CnsldtnOrder entity (one to one).getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetOrder(CnsldtnOrder value) Overwrites the associated CnsldtnOrder entity for the loaded navigation property _Order.voidsetOrderDescription(String orderDescription) Constraints: Not nullable, Maximum length: 40voidsetOrderID(String orderID) (Key Field) Constraints: Not nullable, Maximum length: 12toString()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 CnsldtnOrderText. -
LANGUAGE
-
ORDER_ID
-
ORDER_DESCRIPTION
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
-
TO__ORDER
Use with available request builders to apply the _Order navigation property to query operations.
-
-
Constructor Details
-
CnsldtnOrderText
public CnsldtnOrderText() -
CnsldtnOrderText
public CnsldtnOrderText(@Nullable String language, @Nullable String orderID, @Nullable String orderDescription, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnOrder to_Order)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnOrderText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setOrderID
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: OrderID
- Parameters:
orderID- Order
-
setOrderDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: OrderDescription
- Parameters:
orderDescription- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnOrderText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnOrderText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnOrderText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnOrderText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnOrderText>
-
getOrderIfPresent
Retrieval of associated CnsldtnOrder entity (one to one). This corresponds to the OData navigation property _Order.If the navigation property for an entity CnsldtnOrderText 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 _Order is already loaded, the result will contain the
CnsldtnOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setOrder
Overwrites the associated CnsldtnOrder entity for the loaded navigation property _Order.- Parameters:
value- New CnsldtnOrder entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getOrderID
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: OrderID
- Returns:
- Order
-
getOrderDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: OrderDescription
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnOrderText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnOrderText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnOrderText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnOrderText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnOrderText>
-