Class SourcingProjectItemNote
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SourcingProjectItemNoteType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SourcingProjectItemNote instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SourcingProjectItemNote>Selector for all available fields of SourcingProjectItemNote.static final SimpleProperty.DateTime<SourcingProjectItemNote>static final SimpleProperty.String<SourcingProjectItemNote>static final SimpleProperty.String<SourcingProjectItemNote>static final SimpleProperty.String<SourcingProjectItemNote>static final SimpleProperty.DateTime<SourcingProjectItemNote>static final SimpleProperty.String<SourcingProjectItemNote>static final SimpleProperty.String<SourcingProjectItemNote>static final SimpleProperty.String<SourcingProjectItemNote>static final SimpleProperty.String<SourcingProjectItemNote>static final SimpleProperty.Guid<SourcingProjectItemNote>static final SimpleProperty.Guid<SourcingProjectItemNote>static final SimpleProperty.Guid<SourcingProjectItemNote>static final SimpleProperty.Boolean<SourcingProjectItemNote>static final NavigationProperty.Single<SourcingProjectItemNote,SourcingProject> Use with available request builders to apply the _SourcingProject navigation property to query operations.Use with available request builders to apply the _SourcingProjectItem 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
ConstructorsConstructorDescriptionSourcingProjectItemNote(UUID noteBasicUUID, UUID sourcingProjectItemUUID, String noteBasicType, String noteBasicLanguage, String noteBasicTitle, String noteBasicMimeType, String noteBasicCreatedByUser, OffsetDateTime noteBasicCreationDateTime, String noteBasicChangedByUser, OffsetDateTime noteBasicChangeDateTime, String noteBasicContent, UUID sourcingProjectUUID, Boolean srcPrjItemNoteTypeIsInternal, SourcingProject to_SourcingProject, SourcingProjectItem to_SourcingProjectItem) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12Constraints: Not nullableConstraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 127Constraints: Not nullable, Maximum length: 255Constraints: Not nullable, Maximum length: 20(Key Field) Constraints: Not nullableio.vavr.control.Option<SourcingProject>Retrieval of associated SourcingProject entity (one to one).io.vavr.control.Option<SourcingProjectItem>Retrieval of associated SourcingProjectItem entity (one to one).Constraints: Not nullableConstraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidsetNoteBasicChangeDateTime(OffsetDateTime noteBasicChangeDateTime) Constraints: Nullable, Precision: 7voidsetNoteBasicChangedByUser(String noteBasicChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetNoteBasicContent(String noteBasicContent) Constraints: Not nullablevoidsetNoteBasicCreatedByUser(String noteBasicCreatedByUser) Constraints: Not nullable, Maximum length: 12voidsetNoteBasicCreationDateTime(OffsetDateTime noteBasicCreationDateTime) Constraints: Nullable, Precision: 7voidsetNoteBasicLanguage(String noteBasicLanguage) Constraints: Not nullable, Maximum length: 2voidsetNoteBasicMimeType(String noteBasicMimeType) Constraints: Not nullable, Maximum length: 127voidsetNoteBasicTitle(String noteBasicTitle) Constraints: Not nullable, Maximum length: 255voidsetNoteBasicType(String noteBasicType) Constraints: Not nullable, Maximum length: 20voidsetNoteBasicUUID(UUID noteBasicUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.voidOverwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.voidsetSourcingProjectItemUUID(UUID sourcingProjectItemUUID) Constraints: Not nullablevoidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSrcPrjItemNoteTypeIsInternal(Boolean srcPrjItemNoteTypeIsInternal) Constraints: Not nullabletoString()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 SourcingProjectItemNote. -
NOTE_BASIC_UUID
-
SOURCING_PROJECT_ITEM_UUID
-
NOTE_BASIC_TYPE
-
NOTE_BASIC_LANGUAGE
-
NOTE_BASIC_TITLE
-
NOTE_BASIC_MIME_TYPE
-
NOTE_BASIC_CREATED_BY_USER
-
NOTE_BASIC_CREATION_DATE_TIME
-
NOTE_BASIC_CHANGED_BY_USER
-
NOTE_BASIC_CHANGE_DATE_TIME
-
NOTE_BASIC_CONTENT
-
SOURCING_PROJECT_UUID
-
SRC_PRJ_ITEM_NOTE_TYPE_IS_INTERNAL
public static final SimpleProperty.Boolean<SourcingProjectItemNote> SRC_PRJ_ITEM_NOTE_TYPE_IS_INTERNAL -
TO__SOURCING_PROJECT
public static final NavigationProperty.Single<SourcingProjectItemNote,SourcingProject> TO__SOURCING_PROJECTUse with available request builders to apply the _SourcingProject navigation property to query operations. -
TO__SOURCING_PROJECT_ITEM
public static final NavigationProperty.Single<SourcingProjectItemNote,SourcingProjectItem> TO__SOURCING_PROJECT_ITEMUse with available request builders to apply the _SourcingProjectItem navigation property to query operations.
-
-
Constructor Details
-
SourcingProjectItemNote
public SourcingProjectItemNote() -
SourcingProjectItemNote
public SourcingProjectItemNote(@Nullable UUID noteBasicUUID, @Nullable UUID sourcingProjectItemUUID, @Nullable String noteBasicType, @Nullable String noteBasicLanguage, @Nullable String noteBasicTitle, @Nullable String noteBasicMimeType, @Nullable String noteBasicCreatedByUser, @Nullable OffsetDateTime noteBasicCreationDateTime, @Nullable String noteBasicChangedByUser, @Nullable OffsetDateTime noteBasicChangeDateTime, @Nullable String noteBasicContent, @Nullable UUID sourcingProjectUUID, @Nullable Boolean srcPrjItemNoteTypeIsInternal, @Nullable SourcingProject to_SourcingProject, @Nullable SourcingProjectItem to_SourcingProjectItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SourcingProjectItemNote>
-
setNoteBasicUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: NoteBasicUUID
- Parameters:
noteBasicUUID- Note ID
-
setSourcingProjectItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Parameters:
sourcingProjectItemUUID- The sourcingProjectItemUUID to set.
-
setNoteBasicType
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: NoteBasicType
- Parameters:
noteBasicType- Name of Note Type
-
setNoteBasicLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: NoteBasicLanguage
- Parameters:
noteBasicLanguage- Language
-
setNoteBasicTitle
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: NoteBasicTitle
- Parameters:
noteBasicTitle- Title
-
setNoteBasicMimeType
Constraints: Not nullable, Maximum length: 127Original property name from the Odata EDM: NoteBasicMimeType
- Parameters:
noteBasicMimeType- MIME Type
-
setNoteBasicCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: NoteBasicCreatedByUser
- Parameters:
noteBasicCreatedByUser- Created By
-
setNoteBasicCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: NoteBasicCreationDateTime
- Parameters:
noteBasicCreationDateTime- Created At
-
setNoteBasicChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: NoteBasicChangedByUser
- Parameters:
noteBasicChangedByUser- Last Changed By
-
setNoteBasicChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: NoteBasicChangeDateTime
- Parameters:
noteBasicChangeDateTime- Last Changed At
-
setNoteBasicContent
Constraints: Not nullableOriginal property name from the Odata EDM: NoteBasicContent
- Parameters:
noteBasicContent- Content of note
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setSrcPrjItemNoteTypeIsInternal
Constraints: Not nullableOriginal property name from the Odata EDM: SrcPrjItemNoteTypeIsInternal
- Parameters:
srcPrjItemNoteTypeIsInternal- Note Type Is Internal
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SourcingProjectItemNote>
-
getKey
- Overrides:
getKeyin classVdmObject<SourcingProjectItemNote>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SourcingProjectItemNote>
-
fromMap
- Overrides:
fromMapin classVdmObject<SourcingProjectItemNote>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SourcingProjectItemNote>
-
getSourcingProjectIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProject.If the navigation property for an entity SourcingProjectItemNote 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 _SourcingProject is already loaded, the result will
contain the SourcingProject entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProject
Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.- Parameters:
value- New SourcingProject entity.
-
getSourcingProjectItemIfPresent
Retrieval of associated SourcingProjectItem entity (one to one). This corresponds to the OData navigation property _SourcingProjectItem.If the navigation property for an entity SourcingProjectItemNote 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 _SourcingProjectItem is already loaded, the result will
contain the SourcingProjectItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectItem
Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.- Parameters:
value- New SourcingProjectItem entity.
-
builder
-
getNoteBasicUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: NoteBasicUUID
- Returns:
- Note ID
-
getSourcingProjectItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Returns:
- The sourcingProjectItemUUID contained in this
VdmEntity.
-
getNoteBasicType
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: NoteBasicType
- Returns:
- Name of Note Type
-
getNoteBasicLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: NoteBasicLanguage
- Returns:
- Language
-
getNoteBasicTitle
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: NoteBasicTitle
- Returns:
- Title
-
getNoteBasicMimeType
Constraints: Not nullable, Maximum length: 127Original property name from the Odata EDM: NoteBasicMimeType
- Returns:
- MIME Type
-
getNoteBasicCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: NoteBasicCreatedByUser
- Returns:
- Created By
-
getNoteBasicCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: NoteBasicCreationDateTime
- Returns:
- Created At
-
getNoteBasicChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: NoteBasicChangedByUser
- Returns:
- Last Changed By
-
getNoteBasicChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: NoteBasicChangeDateTime
- Returns:
- Last Changed At
-
getNoteBasicContent
Constraints: Not nullableOriginal property name from the Odata EDM: NoteBasicContent
- Returns:
- Content of note
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getSrcPrjItemNoteTypeIsInternal
Constraints: Not nullableOriginal property name from the Odata EDM: SrcPrjItemNoteTypeIsInternal
- Returns:
- Note Type Is Internal
-
toString
- Overrides:
toStringin classVdmObject<SourcingProjectItemNote>
-
equals
- Overrides:
equalsin classVdmEntity<SourcingProjectItemNote>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SourcingProjectItemNote>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SourcingProjectItemNote>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SourcingProjectItemNote>
-