Class ServiceCancellationPartyText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ServiceCancellationPartyText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicecancellationparty.ServiceCancellationPartyText
- All Implemented Interfaces:
VdmEntitySet
public class ServiceCancellationPartyText
extends VdmEntity<ServiceCancellationPartyText>
implements VdmEntitySet
Service Cancellation Party Text
Original entity name from the Odata EDM: ServiceCancellationPartyText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ServiceCancellationPartyText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ServiceCancellationPartyText>Selector for all available fields of ServiceCancellationPartyText.static final SimpleProperty.String<ServiceCancellationPartyText>static final SimpleProperty.String<ServiceCancellationPartyText>static final SimpleProperty.String<ServiceCancellationPartyText>Use with available request builders to apply the _ServiceCancellationParty 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
ConstructorsConstructorDescriptionServiceCancellationPartyText(String serviceContractCanclnParty, String language, String serviceContrCanclnPartyName, ServiceCancellationParty to_ServiceCancellationParty) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<ServiceCancellationParty>Retrieval of associated ServiceCancellationParty entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated ServiceCancellationParty entity for the loaded navigation property _ServiceCancellationParty.voidsetServiceContractCanclnParty(String serviceContractCanclnParty) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetServiceContrCanclnPartyName(String serviceContrCanclnPartyName) Constraints: Not nullable, Maximum length: 40toString()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 ServiceCancellationPartyText. -
SERVICE_CONTRACT_CANCLN_PARTY
public static final SimpleProperty.String<ServiceCancellationPartyText> SERVICE_CONTRACT_CANCLN_PARTY -
LANGUAGE
-
SERVICE_CONTR_CANCLN_PARTY_NAME
public static final SimpleProperty.String<ServiceCancellationPartyText> SERVICE_CONTR_CANCLN_PARTY_NAME -
TO__SERVICE_CANCELLATION_PARTY
public static final NavigationProperty.Single<ServiceCancellationPartyText,ServiceCancellationParty> TO__SERVICE_CANCELLATION_PARTYUse with available request builders to apply the _ServiceCancellationParty navigation property to query operations.
-
-
Constructor Details
-
ServiceCancellationPartyText
public ServiceCancellationPartyText() -
ServiceCancellationPartyText
public ServiceCancellationPartyText(@Nullable String serviceContractCanclnParty, @Nullable String language, @Nullable String serviceContrCanclnPartyName, @Nullable ServiceCancellationParty to_ServiceCancellationParty)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceCancellationPartyText>
-
setServiceContractCanclnParty
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContractCanclnParty
- Parameters:
serviceContractCanclnParty- Cancelling Party
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key of Description
-
setServiceContrCanclnPartyName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceContrCanclnPartyName
- Parameters:
serviceContrCanclnPartyName- Description (40 Characters)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceCancellationPartyText>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceCancellationPartyText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceCancellationPartyText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceCancellationPartyText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceCancellationPartyText>
-
getServiceCancellationPartyIfPresent
@Nonnull public io.vavr.control.Option<ServiceCancellationParty> getServiceCancellationPartyIfPresent()Retrieval of associated ServiceCancellationParty entity (one to one). This corresponds to the OData navigation property _ServiceCancellationParty.If the navigation property for an entity ServiceCancellationPartyText 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 _ServiceCancellationParty is already loaded, the result
will contain the ServiceCancellationParty entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceCancellationParty
Overwrites the associated ServiceCancellationParty entity for the loaded navigation property _ServiceCancellationParty.- Parameters:
value- New ServiceCancellationParty entity.
-
builder
-
getServiceContractCanclnParty
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContractCanclnParty
- Returns:
- Cancelling Party
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key of Description
-
getServiceContrCanclnPartyName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceContrCanclnPartyName
- Returns:
- Description (40 Characters)
-
toString
- Overrides:
toStringin classVdmObject<ServiceCancellationPartyText>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceCancellationPartyText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceCancellationPartyText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceCancellationPartyText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ServiceCancellationPartyText>
-