Class ServiceDocumentTypeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ServiceDocumentTypeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicetransactiontype.ServiceDocumentTypeText
- All Implemented Interfaces:
VdmEntitySet
public class ServiceDocumentTypeText
extends VdmEntity<ServiceDocumentTypeText>
implements VdmEntitySet
Service Transaction Type Text
Original entity name from the Odata EDM: ServiceDocumentTypeText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ServiceDocumentTypeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ServiceDocumentTypeText>Selector for all available fields of ServiceDocumentTypeText.static final SimpleProperty.String<ServiceDocumentTypeText>static final SimpleProperty.String<ServiceDocumentTypeText>static final SimpleProperty.String<ServiceDocumentTypeText>Use with available request builders to apply the _ServiceDocumentType 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
ConstructorsConstructorDescriptionServiceDocumentTypeText(String serviceDocumentType, String language, String serviceDocumentTypeName, ServiceDocumentType to_ServiceDocumentType) -
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: 4io.vavr.control.Option<ServiceDocumentType>Retrieval of associated ServiceDocumentType entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated ServiceDocumentType entity for the loaded navigation property _ServiceDocumentType.voidsetServiceDocumentType(String serviceDocumentType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetServiceDocumentTypeName(String serviceDocumentTypeName) 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 ServiceDocumentTypeText. -
SERVICE_DOCUMENT_TYPE
-
LANGUAGE
-
SERVICE_DOCUMENT_TYPE_NAME
-
TO__SERVICE_DOCUMENT_TYPE
public static final NavigationProperty.Single<ServiceDocumentTypeText,ServiceDocumentType> TO__SERVICE_DOCUMENT_TYPEUse with available request builders to apply the _ServiceDocumentType navigation property to query operations.
-
-
Constructor Details
-
ServiceDocumentTypeText
public ServiceDocumentTypeText() -
ServiceDocumentTypeText
public ServiceDocumentTypeText(@Nullable String serviceDocumentType, @Nullable String language, @Nullable String serviceDocumentTypeName, @Nullable ServiceDocumentType to_ServiceDocumentType)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceDocumentTypeText>
-
setServiceDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceDocumentType
- Parameters:
serviceDocumentType- Business Transaction Type
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key of Description
-
setServiceDocumentTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceDocumentTypeName
- Parameters:
serviceDocumentTypeName- Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceDocumentTypeText>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceDocumentTypeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceDocumentTypeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceDocumentTypeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceDocumentTypeText>
-
getServiceDocumentTypeIfPresent
Retrieval of associated ServiceDocumentType entity (one to one). This corresponds to the OData navigation property _ServiceDocumentType.If the navigation property for an entity ServiceDocumentTypeText 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 _ServiceDocumentType is already loaded, the result will
contain the ServiceDocumentType entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceDocumentType
Overwrites the associated ServiceDocumentType entity for the loaded navigation property _ServiceDocumentType.- Parameters:
value- New ServiceDocumentType entity.
-
builder
-
getServiceDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceDocumentType
- Returns:
- Business Transaction Type
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key of Description
-
getServiceDocumentTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceDocumentTypeName
- Returns:
- Description
-
toString
- Overrides:
toStringin classVdmObject<ServiceDocumentTypeText>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceDocumentTypeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceDocumentTypeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceDocumentTypeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ServiceDocumentTypeText>
-