Class Text
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<Text>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.maintainflexibleconstraintsforpredictivematerialandresourceplanning.Text
- All Implemented Interfaces:
VdmEntitySet
Flexible Constraint Text
Original entity name from the Odata EDM: TextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of Text instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<Text>Selector for all available fields of Text.static final SimpleProperty.String<Text>static final SimpleProperty.String<Text>static final SimpleProperty.String<Text>static final NavigationProperty.Single<Text,PMRPFlexibleConstraint> Use with available request builders to apply the _Constraint 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Text.TextBuilderbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<PMRPFlexibleConstraint>Retrieval of associated PMRPFlexibleConstraint entity (one to one).protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidOverwrites the associated PMRPFlexibleConstraint entity for the loaded navigation property _Constraint.voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPMRPConstraintText(String pMRPConstraintText) Constraints: Not nullable, Maximum length: 40voidsetPMRPFlexibleConstraint(String pMRPFlexibleConstraint) (Key Field) Constraints: Not nullable, Maximum length: 10toString()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 Text. -
PMRP_FLEXIBLE_CONSTRAINT
-
LANGUAGE
-
PMRP_CONSTRAINT_TEXT
-
TO__CONSTRAINT
Use with available request builders to apply the _Constraint navigation property to query operations.
-
-
Constructor Details
-
Text
public Text() -
Text
public Text(@Nullable String pMRPFlexibleConstraint, @Nullable String language, @Nullable String pMRPConstraintText, @Nullable PMRPFlexibleConstraint to_Constraint)
-
-
Method Details
-
getType
-
setPMRPFlexibleConstraint
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PMRPFlexibleConstraint
- Parameters:
pMRPFlexibleConstraint- pMRP Unique ID for Flexible Constraints
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setPMRPConstraintText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: PMRPConstraintText
- Parameters:
pMRPConstraintText- pMRP: Text for Flexible Constraints
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Text>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Text>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Text>
-
getConstraintIfPresent
Retrieval of associated PMRPFlexibleConstraint entity (one to one). This corresponds to the OData navigation property _Constraint.If the navigation property for an entity Text 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 _Constraint is already loaded, the result will contain
the PMRPFlexibleConstraint entity. If not, an
Optionwith result stateemptyis returned.
-
setConstraint
Overwrites the associated PMRPFlexibleConstraint entity for the loaded navigation property _Constraint.- Parameters:
value- New PMRPFlexibleConstraint entity.
-
builder
-
getPMRPFlexibleConstraint
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PMRPFlexibleConstraint
- Returns:
- pMRP Unique ID for Flexible Constraints
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getPMRPConstraintText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: PMRPConstraintText
- Returns:
- pMRP: Text for Flexible Constraints
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<Text>
-