Class RespyMTeamCatRespyAttrib
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: RespyMTeamCatRespyAttrib_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of RespyMTeamCatRespyAttrib instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<RespyMTeamCatRespyAttrib>Selector for all available fields of RespyMTeamCatRespyAttrib.static final SimpleProperty.String<RespyMTeamCatRespyAttrib>static final SimpleProperty.String<RespyMTeamCatRespyAttrib>Use with available request builders to apply the _ResponsibilityAttributeTexts navigation property to query operations.Use with available request builders to apply the _TeamCategory 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
ConstructorsConstructorDescriptionRespyMTeamCatRespyAttrib(String respyMgmtTeamCategory, String respyMgmtAttributeName, List<RespyTeamCategoryAttribTxt> to_ResponsibilityAttributeTexts, RespyMgmtTeamCategory to_TeamCategory) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated RespyTeamCategoryAttribTxt entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<RespyTeamCategoryAttribTxt>>Retrieval of associated RespyTeamCategoryAttribTxt entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<RespyMgmtTeamCategory>Retrieval of associated RespyMgmtTeamCategory entity (one to one).getType()inthashCode()voidOverwrites the list of associated RespyTeamCategoryAttribTxt entities for the loaded navigation property _ResponsibilityAttributeTexts.voidsetRespyMgmtAttributeName(String respyMgmtAttributeName) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetRespyMgmtTeamCategory(String respyMgmtTeamCategory) (Key Field) Constraints: Not nullable, Maximum length: 30voidOverwrites the associated RespyMgmtTeamCategory entity for the loaded navigation property _TeamCategory.toString()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 RespyMTeamCatRespyAttrib. -
RESPY_MGMT_TEAM_CATEGORY
-
RESPY_MGMT_ATTRIBUTE_NAME
-
TO__RESPONSIBILITY_ATTRIBUTE_TEXTS
public static final NavigationProperty.Collection<RespyMTeamCatRespyAttrib,RespyTeamCategoryAttribTxt> TO__RESPONSIBILITY_ATTRIBUTE_TEXTSUse with available request builders to apply the _ResponsibilityAttributeTexts navigation property to query operations. -
TO__TEAM_CATEGORY
public static final NavigationProperty.Single<RespyMTeamCatRespyAttrib,RespyMgmtTeamCategory> TO__TEAM_CATEGORYUse with available request builders to apply the _TeamCategory navigation property to query operations.
-
-
Constructor Details
-
RespyMTeamCatRespyAttrib
public RespyMTeamCatRespyAttrib() -
RespyMTeamCatRespyAttrib
public RespyMTeamCatRespyAttrib(@Nullable String respyMgmtTeamCategory, @Nullable String respyMgmtAttributeName, List<RespyTeamCategoryAttribTxt> to_ResponsibilityAttributeTexts, @Nullable RespyMgmtTeamCategory to_TeamCategory)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<RespyMTeamCatRespyAttrib>
-
setRespyMgmtTeamCategory
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: RespyMgmtTeamCategory
- Parameters:
respyMgmtTeamCategory- Team Category
-
setRespyMgmtAttributeName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: RespyMgmtAttributeName
- Parameters:
respyMgmtAttributeName- Responsibility Definition Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<RespyMTeamCatRespyAttrib>
-
getKey
- Overrides:
getKeyin classVdmObject<RespyMTeamCatRespyAttrib>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<RespyMTeamCatRespyAttrib>
-
fromMap
- Overrides:
fromMapin classVdmObject<RespyMTeamCatRespyAttrib>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<RespyMTeamCatRespyAttrib>
-
getResponsibilityAttributeTextsIfPresent
@Nonnull public io.vavr.control.Option<List<RespyTeamCategoryAttribTxt>> getResponsibilityAttributeTextsIfPresent()Retrieval of associated RespyTeamCategoryAttribTxt entities (one to many). This corresponds to the OData navigation property _ResponsibilityAttributeTexts.If the navigation property for an entity RespyMTeamCatRespyAttrib 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 _ResponsibilityAttributeTexts is already loaded, the
result will contain the RespyTeamCategoryAttribTxt entities. If not, an
Optionwith result stateemptyis returned.
-
setResponsibilityAttributeTexts
Overwrites the list of associated RespyTeamCategoryAttribTxt entities for the loaded navigation property _ResponsibilityAttributeTexts.If the navigation property _ResponsibilityAttributeTexts of a queried RespyMTeamCatRespyAttrib 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.
- Parameters:
value- List of RespyTeamCategoryAttribTxt entities.
-
addResponsibilityAttributeTexts
Adds elements to the list of associated RespyTeamCategoryAttribTxt entities. This corresponds to the OData navigation property _ResponsibilityAttributeTexts.If the navigation property _ResponsibilityAttributeTexts of a queried RespyMTeamCatRespyAttrib 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.
- Parameters:
entity- Array of RespyTeamCategoryAttribTxt entities.
-
getTeamCategoryIfPresent
Retrieval of associated RespyMgmtTeamCategory entity (one to one). This corresponds to the OData navigation property _TeamCategory.If the navigation property for an entity RespyMTeamCatRespyAttrib 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 _TeamCategory is already loaded, the result will
contain the RespyMgmtTeamCategory entity. If not, an
Optionwith result stateemptyis returned.
-
setTeamCategory
Overwrites the associated RespyMgmtTeamCategory entity for the loaded navigation property _TeamCategory.- Parameters:
value- New RespyMgmtTeamCategory entity.
-
builder
-
getRespyMgmtTeamCategory
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: RespyMgmtTeamCategory
- Returns:
- Team Category
-
getRespyMgmtAttributeName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: RespyMgmtAttributeName
- Returns:
- Responsibility Definition Name
-
toString
- Overrides:
toStringin classVdmObject<RespyMTeamCatRespyAttrib>
-
equals
- Overrides:
equalsin classVdmEntity<RespyMTeamCatRespyAttrib>
-
canEqual
- Overrides:
canEqualin classVdmEntity<RespyMTeamCatRespyAttrib>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<RespyMTeamCatRespyAttrib>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<RespyMTeamCatRespyAttrib>
-