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