Class CnsldtnSalesOrgText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnSalesOrgText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnSalesOrgText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnSalesOrgText>Selector for all available fields of CnsldtnSalesOrgText.static final SimpleProperty.Boolean<CnsldtnSalesOrgText>static final SimpleProperty.String<CnsldtnSalesOrgText>static final SimpleProperty.String<CnsldtnSalesOrgText>static final SimpleProperty.String<CnsldtnSalesOrgText>Use with available request builders to apply the _SalesOrganization 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
ConstructorsConstructorDescriptionCnsldtnSalesOrgText(String language, String salesOrganization, String salesOrganizationName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnSalesOrganization to_SalesOrganization) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<CnsldtnSalesOrganization>Retrieval of associated CnsldtnSalesOrganization entity (one to one).Constraints: Not nullable, Maximum length: 20getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated CnsldtnSalesOrganization entity for the loaded navigation property _SalesOrganization.voidsetSalesOrganization(String salesOrganization) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetSalesOrganizationName(String salesOrganizationName) Constraints: Not nullable, Maximum length: 20toString()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 CnsldtnSalesOrgText. -
LANGUAGE
-
SALES_ORGANIZATION
-
SALES_ORGANIZATION_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
-
TO__SALES_ORGANIZATION
public static final NavigationProperty.Single<CnsldtnSalesOrgText,CnsldtnSalesOrganization> TO__SALES_ORGANIZATIONUse with available request builders to apply the _SalesOrganization navigation property to query operations.
-
-
Constructor Details
-
CnsldtnSalesOrgText
public CnsldtnSalesOrgText() -
CnsldtnSalesOrgText
public CnsldtnSalesOrgText(@Nullable String language, @Nullable String salesOrganization, @Nullable String salesOrganizationName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnSalesOrganization to_SalesOrganization)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnSalesOrgText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSalesOrganization
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Parameters:
salesOrganization- Consolidation Sales Organization
-
setSalesOrganizationName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SalesOrganizationName
- Parameters:
salesOrganizationName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnSalesOrgText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnSalesOrgText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnSalesOrgText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnSalesOrgText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnSalesOrgText>
-
getSalesOrganizationIfPresent
Retrieval of associated CnsldtnSalesOrganization entity (one to one). This corresponds to the OData navigation property _SalesOrganization.If the navigation property for an entity CnsldtnSalesOrgText 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 _SalesOrganization is already loaded, the result will
contain the CnsldtnSalesOrganization entity. If not, an
Optionwith result stateemptyis returned.
-
setSalesOrganization
Overwrites the associated CnsldtnSalesOrganization entity for the loaded navigation property _SalesOrganization.- Parameters:
value- New CnsldtnSalesOrganization entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSalesOrganization
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Returns:
- Consolidation Sales Organization
-
getSalesOrganizationName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SalesOrganizationName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnSalesOrgText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnSalesOrgText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnSalesOrgText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnSalesOrgText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnSalesOrgText>
-