Class SourcingProjectTypeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SourcingProjectTypeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.sourcingprojecttype.SourcingProjectTypeText
- All Implemented Interfaces:
VdmEntitySet
public class SourcingProjectTypeText
extends VdmEntity<SourcingProjectTypeText>
implements VdmEntitySet
Sourcing Project Type - Text
Original entity name from the Odata EDM: SourcingProjectTypeTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SourcingProjectTypeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SourcingProjectTypeText>Selector for all available fields of SourcingProjectTypeText.static final SimpleProperty.String<SourcingProjectTypeText>static final SimpleProperty.String<SourcingProjectTypeText>static final SimpleProperty.String<SourcingProjectTypeText>Use with available request builders to apply the _SourcingProjectType 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
ConstructorsConstructorDescriptionSourcingProjectTypeText(String sourcingProjectType, String language, String sourcingProjectTypeText, SourcingProjectType to_SourcingProjectType) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<SourcingProjectType>Retrieval of associated SourcingProjectType entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SourcingProjectType entity for the loaded navigation property _SourcingProjectType.voidsetSourcingProjectType(String sourcingProjectType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSourcingProjectTypeText(String sourcingProjectTypeText) Constraints: Not nullable, Maximum length: 40toString()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 SourcingProjectTypeText. -
SOURCING_PROJECT_TYPE
-
LANGUAGE
-
SOURCING_PROJECT_TYPE_TEXT
-
TO__SOURCING_PROJECT_TYPE
public static final NavigationProperty.Single<SourcingProjectTypeText,SourcingProjectType> TO__SOURCING_PROJECT_TYPEUse with available request builders to apply the _SourcingProjectType navigation property to query operations.
-
-
Constructor Details
-
SourcingProjectTypeText
public SourcingProjectTypeText() -
SourcingProjectTypeText
public SourcingProjectTypeText(@Nullable String sourcingProjectType, @Nullable String language, @Nullable String sourcingProjectTypeText, @Nullable SourcingProjectType to_SourcingProjectType)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SourcingProjectTypeText>
-
setSourcingProjectType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingProjectType
- Parameters:
sourcingProjectType- Sourcing Project Type
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSourcingProjectTypeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SourcingProjectTypeText
- Parameters:
sourcingProjectTypeText- Short Description of Sourcing Project Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SourcingProjectTypeText>
-
getKey
- Overrides:
getKeyin classVdmObject<SourcingProjectTypeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SourcingProjectTypeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SourcingProjectTypeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SourcingProjectTypeText>
-
getSourcingProjectTypeIfPresent
Retrieval of associated SourcingProjectType entity (one to one). This corresponds to the OData navigation property _SourcingProjectType.If the navigation property for an entity SourcingProjectTypeText 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 _SourcingProjectType is already loaded, the result will
contain the SourcingProjectType entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectType
Overwrites the associated SourcingProjectType entity for the loaded navigation property _SourcingProjectType.- Parameters:
value- New SourcingProjectType entity.
-
builder
-
getSourcingProjectType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingProjectType
- Returns:
- Sourcing Project Type
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSourcingProjectTypeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SourcingProjectTypeText
- Returns:
- Short Description of Sourcing Project Type
-
toString
- Overrides:
toStringin classVdmObject<SourcingProjectTypeText>
-
equals
- Overrides:
equalsin classVdmEntity<SourcingProjectTypeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SourcingProjectTypeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SourcingProjectTypeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SourcingProjectTypeText>
-