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