Class CnsldtnSegmentText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CnsldtnSegmentText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.consolidationsegment.CnsldtnSegmentText
- All Implemented Interfaces:
VdmEntitySet
Consolidation Segment - Text
Original entity name from the Odata EDM: CnsldtnSegmentText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnSegmentText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnSegmentText>Selector for all available fields of CnsldtnSegmentText.static final SimpleProperty.Boolean<CnsldtnSegmentText>static final SimpleProperty.String<CnsldtnSegmentText>static final SimpleProperty.String<CnsldtnSegmentText>static final SimpleProperty.String<CnsldtnSegmentText>static final NavigationProperty.Single<CnsldtnSegmentText,CnsldtnSegment> Use with available request builders to apply the _Segment 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
ConstructorsConstructorDescriptionCnsldtnSegmentText(String language, String segment, String segmentName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnSegment to_Segment) -
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: 10io.vavr.control.Option<CnsldtnSegment>Retrieval of associated CnsldtnSegment entity (one to one).Constraints: Not nullable, Maximum length: 50getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSegment(CnsldtnSegment value) Overwrites the associated CnsldtnSegment entity for the loaded navigation property _Segment.voidsetSegment(String segment) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetSegmentName(String segmentName) Constraints: Not nullable, Maximum length: 50toString()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 CnsldtnSegmentText. -
LANGUAGE
-
SEGMENT
-
SEGMENT_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
-
TO__SEGMENT
Use with available request builders to apply the _Segment navigation property to query operations.
-
-
Constructor Details
-
CnsldtnSegmentText
public CnsldtnSegmentText() -
CnsldtnSegmentText
public CnsldtnSegmentText(@Nullable String language, @Nullable String segment, @Nullable String segmentName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnSegment to_Segment)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnSegmentText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSegment
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Segment
- Parameters:
segment- Segment
-
setSegmentName
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: SegmentName
- Parameters:
segmentName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnSegmentText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnSegmentText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnSegmentText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnSegmentText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnSegmentText>
-
getSegmentIfPresent
Retrieval of associated CnsldtnSegment entity (one to one). This corresponds to the OData navigation property _Segment.If the navigation property for an entity CnsldtnSegmentText 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 _Segment is already loaded, the result will contain the
CnsldtnSegment entity. If not, an
Optionwith result stateemptyis returned.
-
setSegment
Overwrites the associated CnsldtnSegment entity for the loaded navigation property _Segment.- Parameters:
value- New CnsldtnSegment entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSegment
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Segment
- Returns:
- Segment
-
getSegmentName
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: SegmentName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnSegmentText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnSegmentText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnSegmentText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnSegmentText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnSegmentText>
-