Class EntTeamMemberEntitlement
Original entity name from the Odata EDM: A_EntTeamMemberEntitlementType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EntTeamMemberEntitlement instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EntTeamMemberEntitlementSelectableSelector for all available fields of EntTeamMemberEntitlement.static final EntTeamMemberEntitlementField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final EntTeamMemberEntitlementField<ZonedDateTime>Use with available fluent helpers to apply the CreationDateTime field to query operations.static final EntTeamMemberEntitlementField<Boolean>Use with available fluent helpers to apply the Delete_mc field to query operations.static final EntTeamMemberEntitlementField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final EntTeamMemberEntitlementField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final EntTeamMemberEntitlementField<UUID>Use with available fluent helpers to apply the ProjectEntitlementUUID field to query operations.static final EntTeamMemberEntitlementField<String>Use with available fluent helpers to apply the ProjectRoleType field to query operations.static final EntTeamMemberEntitlementField<UUID>Use with available fluent helpers to apply the ProjectRoleUUID field to query operations.static final EntTeamMemberEntitlementField<UUID>Use with available fluent helpers to apply the ProjectUUID field to query operations.static final EntTeamMemberEntitlementField<UUID>Use with available fluent helpers to apply the TeamMemberUUID field to query operations.static final EntTeamMemberEntitlementOneToOneLink<EnterpriseProject>Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query operations.static final EntTeamMemberEntitlementOneToOneLink<EnterpriseProjectRole>Use with available fluent helpers to apply the to_Role navigation property to query operations.Use with available fluent helpers to apply the to_TeamMember navigation property to query operations.static final EntTeamMemberEntitlementField<Boolean>Use with available fluent helpers to apply the Update_mc field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionEntTeamMemberEntitlement(Boolean delete_mc, Boolean update_mc, UUID projectEntitlementUUID, UUID projectUUID, UUID projectRoleUUID, UUID teamMemberUUID, String projectRoleType, String createdByUser, ZonedDateTime creationDateTime, String lastChangedByUser, ZonedDateTime lastChangeDateTime, EnterpriseProjectTeamMember toTeamMember, EnterpriseProject toEnterpriseProject, EnterpriseProjectRole toRole) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EnterpriseProject entity (one to one) associated with this entity.Fetches the EnterpriseProjectRole entity (one to one) associated with this entity.Fetches the EnterpriseProjectTeamMember entity (one to one) associated with this entity.static <T,DomainT>
EntTeamMemberEntitlementField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EntTeamMemberEntitlementField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0protected StringConstraints: noneio.vavr.control.Option<EnterpriseProject>Retrieval of associated EnterpriseProject entity (one to one).Retrieval of associated EnterpriseProject entity (one to one).protected StringgetKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 15Constraints: noneConstraints: noneio.vavr.control.Option<EnterpriseProjectRole>Retrieval of associated EnterpriseProjectRole entity (one to one).Retrieval of associated EnterpriseProjectRole entity (one to one).io.vavr.control.Option<EnterpriseProjectTeamMember>Retrieval of associated EnterpriseProjectTeamMember entity (one to one).Retrieval of associated EnterpriseProjectTeamMember entity (one to one).Constraints: nonegetType()Constraints: noneinthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(ZonedDateTime creationDateTime) Constraints: Not nullable, Precision: 0voidsetDelete_mc(Boolean delete_mc) Constraints: nonevoidOverwrites the associated EnterpriseProject entity for the loaded navigation property to_EnterpriseProject.voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetProjectEntitlementUUID(UUID projectEntitlementUUID) (Key Field) Constraints: Not nullablevoidsetProjectRoleType(String projectRoleType) Constraints: Not nullable, Maximum length: 15voidsetProjectRoleUUID(UUID projectRoleUUID) Constraints: nonevoidsetProjectUUID(UUID projectUUID) Constraints: nonevoidsetRole(EnterpriseProjectRole value) Overwrites the associated EnterpriseProjectRole entity for the loaded navigation property to_Role.protected voidsetServicePathForFetch(String servicePathForFetch) voidOverwrites the associated EnterpriseProjectTeamMember entity for the loaded navigation property to_TeamMember.voidsetTeamMemberUUID(UUID teamMemberUUID) Constraints: nonevoidsetUpdate_mc(Boolean update_mc) Constraints: nonetoString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 EntTeamMemberEntitlement. -
DELETE_MC
Use with available fluent helpers to apply the Delete_mc field to query operations. -
UPDATE_MC
Use with available fluent helpers to apply the Update_mc field to query operations. -
PROJECT_ENTITLEMENT_UUID
Use with available fluent helpers to apply the ProjectEntitlementUUID field to query operations. -
PROJECT_UUID
Use with available fluent helpers to apply the ProjectUUID field to query operations. -
PROJECT_ROLE_UUID
Use with available fluent helpers to apply the ProjectRoleUUID field to query operations. -
TEAM_MEMBER_UUID
Use with available fluent helpers to apply the TeamMemberUUID field to query operations. -
PROJECT_ROLE_TYPE
Use with available fluent helpers to apply the ProjectRoleType field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
TO_TEAM_MEMBER
public static final EntTeamMemberEntitlementOneToOneLink<EnterpriseProjectTeamMember> TO_TEAM_MEMBERUse with available fluent helpers to apply the to_TeamMember navigation property to query operations. -
TO_ENTERPRISE_PROJECT
Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query operations. -
TO_ROLE
Use with available fluent helpers to apply the to_Role navigation property to query operations.
-
-
Constructor Details
-
EntTeamMemberEntitlement
public EntTeamMemberEntitlement() -
EntTeamMemberEntitlement
public EntTeamMemberEntitlement(@Nullable Boolean delete_mc, @Nullable Boolean update_mc, @Nullable UUID projectEntitlementUUID, @Nullable UUID projectUUID, @Nullable UUID projectRoleUUID, @Nullable UUID teamMemberUUID, @Nullable String projectRoleType, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable EnterpriseProjectTeamMember toTeamMember, @Nullable EnterpriseProject toEnterpriseProject, @Nullable EnterpriseProjectRole toRole)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EntTeamMemberEntitlement>
-
setDelete_mc
Constraints: noneOriginal property name from the Odata EDM: Delete_mc
- Parameters:
delete_mc- Dyn. Method Control
-
setUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Parameters:
update_mc- Dyn. Method Control
-
setProjectEntitlementUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectEntitlementUUID
- Parameters:
projectEntitlementUUID- Entitlement Guid
-
setProjectUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectUUID
- Parameters:
projectUUID- Project GUID
-
setProjectRoleUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectRoleUUID
- Parameters:
projectRoleUUID- Role GUID
-
setTeamMemberUUID
Constraints: noneOriginal property name from the Odata EDM: TeamMemberUUID
- Parameters:
teamMemberUUID- Team Member GUID
-
setProjectRoleType
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: ProjectRoleType
- Parameters:
projectRoleType- Role Type
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of Person Who Created Object
-
setCreationDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Timestamp of Object Creation
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Name of Person Who Changed Object
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Timestamp of Last Object Change
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EntTeamMemberEntitlement>
-
getKey
- Overrides:
getKeyin classVdmObject<EntTeamMemberEntitlement>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EntTeamMemberEntitlement>
-
fromMap
- Overrides:
fromMapin classVdmObject<EntTeamMemberEntitlement>
-
field
@Nonnull public static <T> EntTeamMemberEntitlementField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> EntTeamMemberEntitlementField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<EntTeamMemberEntitlement>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EntTeamMemberEntitlement>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EntTeamMemberEntitlement>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EntTeamMemberEntitlement>
-
fetchTeamMember
Fetches the EnterpriseProjectTeamMember entity (one to one) associated with this entity. This corresponds to the OData navigation property to_TeamMember.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated EnterpriseProjectTeamMember entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getTeamMemberOrFetch
Retrieval of associated EnterpriseProjectTeamMember entity (one to one). This corresponds to the OData navigation property to_TeamMember.If the navigation property to_TeamMember of a queried EntTeamMemberEntitlement is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated EnterpriseProjectTeamMember entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getTeamMemberIfPresent
Retrieval of associated EnterpriseProjectTeamMember entity (one to one). This corresponds to the OData navigation property to_TeamMember.If the navigation property for an entity EntTeamMemberEntitlement 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 to_TeamMember is already loaded, the result will
contain the EnterpriseProjectTeamMember entity. If not, an
Optionwith result stateemptyis returned.
-
setTeamMember
Overwrites the associated EnterpriseProjectTeamMember entity for the loaded navigation property to_TeamMember.- Parameters:
value- New EnterpriseProjectTeamMember entity.
-
fetchEnterpriseProject
Fetches the EnterpriseProject entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EnterpriseProject.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated EnterpriseProject entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getEnterpriseProjectOrFetch
Retrieval of associated EnterpriseProject entity (one to one). This corresponds to the OData navigation property to_EnterpriseProject.If the navigation property to_EnterpriseProject of a queried EntTeamMemberEntitlement is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated EnterpriseProject entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getEnterpriseProjectIfPresent
Retrieval of associated EnterpriseProject entity (one to one). This corresponds to the OData navigation property to_EnterpriseProject.If the navigation property for an entity EntTeamMemberEntitlement 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 to_EnterpriseProject is already loaded, the result will
contain the EnterpriseProject entity. If not, an
Optionwith result stateemptyis returned.
-
setEnterpriseProject
Overwrites the associated EnterpriseProject entity for the loaded navigation property to_EnterpriseProject.- Parameters:
value- New EnterpriseProject entity.
-
fetchRole
Fetches the EnterpriseProjectRole entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Role.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated EnterpriseProjectRole entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getRoleOrFetch
Retrieval of associated EnterpriseProjectRole entity (one to one). This corresponds to the OData navigation property to_Role.If the navigation property to_Role of a queried EntTeamMemberEntitlement is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated EnterpriseProjectRole entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getRoleIfPresent
Retrieval of associated EnterpriseProjectRole entity (one to one). This corresponds to the OData navigation property to_Role.If the navigation property for an entity EntTeamMemberEntitlement 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 to_Role is already loaded, the result will contain the
EnterpriseProjectRole entity. If not, an
Optionwith result stateemptyis returned.
-
setRole
Overwrites the associated EnterpriseProjectRole entity for the loaded navigation property to_Role.- Parameters:
value- New EnterpriseProjectRole entity.
-
builder
-
getDelete_mc
Constraints: noneOriginal property name from the Odata EDM: Delete_mc
- Returns:
- Dyn. Method Control
-
getUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Returns:
- Dyn. Method Control
-
getProjectEntitlementUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectEntitlementUUID
- Returns:
- Entitlement Guid
-
getProjectUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectUUID
- Returns:
- Project GUID
-
getProjectRoleUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectRoleUUID
- Returns:
- Role GUID
-
getTeamMemberUUID
Constraints: noneOriginal property name from the Odata EDM: TeamMemberUUID
- Returns:
- Team Member GUID
-
getProjectRoleType
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: ProjectRoleType
- Returns:
- Role Type
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of Person Who Created Object
-
getCreationDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDateTime
- Returns:
- Timestamp of Object Creation
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Name of Person Who Changed Object
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Timestamp of Last Object Change
-
toString
- Overrides:
toStringin classVdmObject<EntTeamMemberEntitlement>
-
equals
- Overrides:
equalsin classVdmEntity<EntTeamMemberEntitlement>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EntTeamMemberEntitlement>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EntTeamMemberEntitlement>
-