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