Class ServiceDocumentPriorityText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ServiceDocumentPriorityText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicetransactionpriority.ServiceDocumentPriorityText
- All Implemented Interfaces:
VdmEntitySet
public class ServiceDocumentPriorityText
extends VdmEntity<ServiceDocumentPriorityText>
implements VdmEntitySet
Service Transaction Priority Text
Original entity name from the Odata EDM: ServiceDocumentPriorityText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ServiceDocumentPriorityText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ServiceDocumentPriorityText>Selector for all available fields of ServiceDocumentPriorityText.static final SimpleProperty.String<ServiceDocumentPriorityText>static final SimpleProperty.String<ServiceDocumentPriorityText>static final SimpleProperty.String<ServiceDocumentPriorityText>Use with available request builders to apply the _ServiceDocumentPriority 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
ConstructorsConstructorDescriptionServiceDocumentPriorityText(String language, String serviceDocumentPriority, String serviceDocumentPriorityName, ServiceDocumentPriority to_ServiceDocumentPriority) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<ServiceDocumentPriority>Retrieval of associated ServiceDocumentPriority entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated ServiceDocumentPriority entity for the loaded navigation property _ServiceDocumentPriority.voidsetServiceDocumentPriority(String serviceDocumentPriority) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetServiceDocumentPriorityName(String serviceDocumentPriorityName) 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 ServiceDocumentPriorityText. -
LANGUAGE
-
SERVICE_DOCUMENT_PRIORITY
-
SERVICE_DOCUMENT_PRIORITY_NAME
public static final SimpleProperty.String<ServiceDocumentPriorityText> SERVICE_DOCUMENT_PRIORITY_NAME -
TO__SERVICE_DOCUMENT_PRIORITY
public static final NavigationProperty.Single<ServiceDocumentPriorityText,ServiceDocumentPriority> TO__SERVICE_DOCUMENT_PRIORITYUse with available request builders to apply the _ServiceDocumentPriority navigation property to query operations.
-
-
Constructor Details
-
ServiceDocumentPriorityText
public ServiceDocumentPriorityText() -
ServiceDocumentPriorityText
public ServiceDocumentPriorityText(@Nullable String language, @Nullable String serviceDocumentPriority, @Nullable String serviceDocumentPriorityName, @Nullable ServiceDocumentPriority to_ServiceDocumentPriority)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceDocumentPriorityText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setServiceDocumentPriority
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceDocumentPriority
- Parameters:
serviceDocumentPriority- Appointment priority
-
setServiceDocumentPriorityName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceDocumentPriorityName
- Parameters:
serviceDocumentPriorityName- Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceDocumentPriorityText>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceDocumentPriorityText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceDocumentPriorityText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceDocumentPriorityText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceDocumentPriorityText>
-
getServiceDocumentPriorityIfPresent
@Nonnull public io.vavr.control.Option<ServiceDocumentPriority> getServiceDocumentPriorityIfPresent()Retrieval of associated ServiceDocumentPriority entity (one to one). This corresponds to the OData navigation property _ServiceDocumentPriority.If the navigation property for an entity ServiceDocumentPriorityText 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 _ServiceDocumentPriority is already loaded, the result
will contain the ServiceDocumentPriority entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceDocumentPriority
Overwrites the associated ServiceDocumentPriority entity for the loaded navigation property _ServiceDocumentPriority.- Parameters:
value- New ServiceDocumentPriority entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getServiceDocumentPriority
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceDocumentPriority
- Returns:
- Appointment priority
-
getServiceDocumentPriorityName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceDocumentPriorityName
- Returns:
- Description
-
toString
- Overrides:
toStringin classVdmObject<ServiceDocumentPriorityText>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceDocumentPriorityText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceDocumentPriorityText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceDocumentPriorityText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ServiceDocumentPriorityText>
-