Class CnsldtnCustomerText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CnsldtnCustomerText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.consolidationcustomer.CnsldtnCustomerText
- All Implemented Interfaces:
VdmEntitySet
Consolidation Customer - Text
Original entity name from the Odata EDM: CnsldtnCustomerText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnCustomerText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnCustomerText>Selector for all available fields of CnsldtnCustomerText.static final SimpleProperty.Boolean<CnsldtnCustomerText>static final SimpleProperty.String<CnsldtnCustomerText>static final SimpleProperty.String<CnsldtnCustomerText>static final SimpleProperty.String<CnsldtnCustomerText>static final NavigationProperty.Single<CnsldtnCustomerText,CnsldtnCustomer> Use with available request builders to apply the _Customer 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
ConstructorsConstructorDescriptionCnsldtnCustomerText(String language, String customer, String customerName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnCustomer to_Customer) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<CnsldtnCustomer>Retrieval of associated CnsldtnCustomer entity (one to one).Constraints: Not nullable, Maximum length: 80protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetCustomer(CnsldtnCustomer value) Overwrites the associated CnsldtnCustomer entity for the loaded navigation property _Customer.voidsetCustomer(String customer) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCustomerName(String customerName) Constraints: Not nullable, Maximum length: 80voidsetLanguage(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 CnsldtnCustomerText. -
LANGUAGE
-
CUSTOMER
-
CUSTOMER_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
-
TO__CUSTOMER
Use with available request builders to apply the _Customer navigation property to query operations.
-
-
Constructor Details
-
CnsldtnCustomerText
public CnsldtnCustomerText() -
CnsldtnCustomerText
public CnsldtnCustomerText(@Nullable String language, @Nullable String customer, @Nullable String customerName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnCustomer to_Customer)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnCustomerText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Parameters:
customer- Consolidation Customer
-
setCustomerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: CustomerName
- Parameters:
customerName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnCustomerText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnCustomerText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnCustomerText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnCustomerText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnCustomerText>
-
getCustomerIfPresent
Retrieval of associated CnsldtnCustomer entity (one to one). This corresponds to the OData navigation property _Customer.If the navigation property for an entity CnsldtnCustomerText 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 _Customer is already loaded, the result will contain
the CnsldtnCustomer entity. If not, an
Optionwith result stateemptyis returned.
-
setCustomer
Overwrites the associated CnsldtnCustomer entity for the loaded navigation property _Customer.- Parameters:
value- New CnsldtnCustomer entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Returns:
- Consolidation Customer
-
getCustomerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: CustomerName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnCustomerText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnCustomerText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnCustomerText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnCustomerText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnCustomerText>
-