Class SrcgProjMilestoneTypeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SrcgProjMilestoneTypeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.sourcingprojectmilestonetype.SrcgProjMilestoneTypeText
- All Implemented Interfaces:
VdmEntitySet
public class SrcgProjMilestoneTypeText
extends VdmEntity<SrcgProjMilestoneTypeText>
implements VdmEntitySet
Milestone Type - Text
Original entity name from the Odata EDM: SrcgProjMilestoneTypeText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjMilestoneTypeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjMilestoneTypeText>Selector for all available fields of SrcgProjMilestoneTypeText.static final SimpleProperty.String<SrcgProjMilestoneTypeText>static final SimpleProperty.String<SrcgProjMilestoneTypeText>static final SimpleProperty.String<SrcgProjMilestoneTypeText>Use with available request builders to apply the _SrcgProjMilestoneType 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
ConstructorsConstructorDescriptionSrcgProjMilestoneTypeText(String sourcingProjectMilestoneType, String language, String srcgProjMilestoneTypeText, SrcgProjMilestoneType to_SrcgProjMilestoneType) -
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<SrcgProjMilestoneType>Retrieval of associated SrcgProjMilestoneType entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSourcingProjectMilestoneType(String sourcingProjectMilestoneType) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SrcgProjMilestoneType entity for the loaded navigation property _SrcgProjMilestoneType.voidsetSrcgProjMilestoneTypeText(String srcgProjMilestoneTypeText) 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 SrcgProjMilestoneTypeText. -
SOURCING_PROJECT_MILESTONE_TYPE
public static final SimpleProperty.String<SrcgProjMilestoneTypeText> SOURCING_PROJECT_MILESTONE_TYPE -
LANGUAGE
-
SRCG_PROJ_MILESTONE_TYPE_TEXT
-
TO__SRCG_PROJ_MILESTONE_TYPE
public static final NavigationProperty.Single<SrcgProjMilestoneTypeText,SrcgProjMilestoneType> TO__SRCG_PROJ_MILESTONE_TYPEUse with available request builders to apply the _SrcgProjMilestoneType navigation property to query operations.
-
-
Constructor Details
-
SrcgProjMilestoneTypeText
public SrcgProjMilestoneTypeText() -
SrcgProjMilestoneTypeText
public SrcgProjMilestoneTypeText(@Nullable String sourcingProjectMilestoneType, @Nullable String language, @Nullable String srcgProjMilestoneTypeText, @Nullable SrcgProjMilestoneType to_SrcgProjMilestoneType)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjMilestoneTypeText>
-
setSourcingProjectMilestoneType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingProjectMilestoneType
- Parameters:
sourcingProjectMilestoneType- Sourcing Project Milestone
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSrcgProjMilestoneTypeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrcgProjMilestoneTypeText
- Parameters:
srcgProjMilestoneTypeText- Sourcing Project Milestone Text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjMilestoneTypeText>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjMilestoneTypeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjMilestoneTypeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjMilestoneTypeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjMilestoneTypeText>
-
getSrcgProjMilestoneTypeIfPresent
Retrieval of associated SrcgProjMilestoneType entity (one to one). This corresponds to the OData navigation property _SrcgProjMilestoneType.If the navigation property for an entity SrcgProjMilestoneTypeText 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 _SrcgProjMilestoneType is already loaded, the result
will contain the SrcgProjMilestoneType entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjMilestoneType
Overwrites the associated SrcgProjMilestoneType entity for the loaded navigation property _SrcgProjMilestoneType.- Parameters:
value- New SrcgProjMilestoneType entity.
-
builder
-
getSourcingProjectMilestoneType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingProjectMilestoneType
- Returns:
- Sourcing Project Milestone
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSrcgProjMilestoneTypeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrcgProjMilestoneTypeText
- Returns:
- Sourcing Project Milestone Text
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjMilestoneTypeText>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjMilestoneTypeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjMilestoneTypeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjMilestoneTypeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjMilestoneTypeText>
-