Class SourcingProjectNote
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SourcingProjectNoteType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SourcingProjectNote instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SourcingProjectNote>Selector for all available fields of SourcingProjectNote.static final SimpleProperty.DateTime<SourcingProjectNote>static final SimpleProperty.String<SourcingProjectNote>static final SimpleProperty.String<SourcingProjectNote>static final SimpleProperty.String<SourcingProjectNote>static final SimpleProperty.DateTime<SourcingProjectNote>static final SimpleProperty.String<SourcingProjectNote>static final SimpleProperty.String<SourcingProjectNote>static final SimpleProperty.String<SourcingProjectNote>static final SimpleProperty.String<SourcingProjectNote>static final SimpleProperty.Guid<SourcingProjectNote>static final SimpleProperty.Guid<SourcingProjectNote>static final SimpleProperty.Boolean<SourcingProjectNote>static final NavigationProperty.Single<SourcingProjectNote,SourcingProject> Use with available request builders to apply the _SourcingProject 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
ConstructorsConstructorDescriptionSourcingProjectNote(UUID noteBasicUUID, UUID sourcingProjectUUID, String noteBasicLanguage, String noteBasicType, String noteBasicTitle, String noteBasicMimeType, String noteBasicCreatedByUser, OffsetDateTime noteBasicCreationDateTime, String noteBasicChangedByUser, OffsetDateTime noteBasicChangeDateTime, String noteBasicContent, Boolean srcPrjNoteTypeIsInternal, SourcingProject to_SourcingProject) -
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).Constraints: 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.voidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSrcPrjNoteTypeIsInternal(Boolean srcPrjNoteTypeIsInternal) 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 SourcingProjectNote. -
NOTE_BASIC_UUID
-
SOURCING_PROJECT_UUID
-
NOTE_BASIC_LANGUAGE
-
NOTE_BASIC_TYPE
-
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
-
SRC_PRJ_NOTE_TYPE_IS_INTERNAL
-
TO__SOURCING_PROJECT
public static final NavigationProperty.Single<SourcingProjectNote,SourcingProject> TO__SOURCING_PROJECTUse with available request builders to apply the _SourcingProject navigation property to query operations.
-
-
Constructor Details
-
SourcingProjectNote
public SourcingProjectNote() -
SourcingProjectNote
public SourcingProjectNote(@Nullable UUID noteBasicUUID, @Nullable UUID sourcingProjectUUID, @Nullable String noteBasicLanguage, @Nullable String noteBasicType, @Nullable String noteBasicTitle, @Nullable String noteBasicMimeType, @Nullable String noteBasicCreatedByUser, @Nullable OffsetDateTime noteBasicCreationDateTime, @Nullable String noteBasicChangedByUser, @Nullable OffsetDateTime noteBasicChangeDateTime, @Nullable String noteBasicContent, @Nullable Boolean srcPrjNoteTypeIsInternal, @Nullable SourcingProject to_SourcingProject)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SourcingProjectNote>
-
setNoteBasicUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: NoteBasicUUID
- Parameters:
noteBasicUUID- Note ID
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setNoteBasicLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: NoteBasicLanguage
- Parameters:
noteBasicLanguage- Language
-
setNoteBasicType
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: NoteBasicType
- Parameters:
noteBasicType- Name of Note Type
-
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
-
setSrcPrjNoteTypeIsInternal
Constraints: Not nullableOriginal property name from the Odata EDM: SrcPrjNoteTypeIsInternal
- Parameters:
srcPrjNoteTypeIsInternal- Note Type Is Internal
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SourcingProjectNote>
-
getKey
- Overrides:
getKeyin classVdmObject<SourcingProjectNote>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SourcingProjectNote>
-
fromMap
- Overrides:
fromMapin classVdmObject<SourcingProjectNote>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SourcingProjectNote>
-
getSourcingProjectIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProject.If the navigation property for an entity SourcingProjectNote 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.
-
builder
-
getNoteBasicUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: NoteBasicUUID
- Returns:
- Note ID
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getNoteBasicLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: NoteBasicLanguage
- Returns:
- Language
-
getNoteBasicType
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: NoteBasicType
- Returns:
- Name of Note Type
-
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
-
getSrcPrjNoteTypeIsInternal
Constraints: Not nullableOriginal property name from the Odata EDM: SrcPrjNoteTypeIsInternal
- Returns:
- Note Type Is Internal
-
toString
- Overrides:
toStringin classVdmObject<SourcingProjectNote>
-
equals
- Overrides:
equalsin classVdmEntity<SourcingProjectNote>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SourcingProjectNote>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SourcingProjectNote>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SourcingProjectNote>
-