Class SDDocumentReasonText
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SDDocumentReasonText>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesanddistributiondocumentorderreason.SDDocumentReasonText
Order Reason Description
Original entity name from the Odata EDM: A_SDDocumentReasonTextType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SDDocumentReasonTextSelectableSelector for all available fields of SDDocumentReasonText.static final SDDocumentReasonTextField<String>Use with available fluent helpers to apply the Language field to query operations.static final SDDocumentReasonTextField<String>Use with available fluent helpers to apply the SDDocumentReason field to query operations.static final SDDocumentReasonTextField<String>Use with available fluent helpers to apply the SDDocumentReasonText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSDDocumentReasonText(String sDDocumentReason, String language, String sDDocumentReasonText) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SDDocumentReasonTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SDDocumentReasonTextField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSDDocumentReason(String sDDocumentReason) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetSDDocumentReasonText(String sDDocumentReasonText) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SDDocumentReasonText. -
SD_DOCUMENT_REASON
Use with available fluent helpers to apply the SDDocumentReason field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
SD_DOCUMENT_REASON_TEXT
Use with available fluent helpers to apply the SDDocumentReasonText field to query operations.
-
-
Constructor Details
-
SDDocumentReasonText
public SDDocumentReasonText() -
SDDocumentReasonText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SDDocumentReasonText>
-
setSDDocumentReason
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SDDocumentReason
- Parameters:
sDDocumentReason- Order Reason (Reason for the Business Transaction)
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSDDocumentReasonText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SDDocumentReasonText
- Parameters:
sDDocumentReasonText- Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SDDocumentReasonText>
-
getKey
- Overrides:
getKeyin classVdmObject<SDDocumentReasonText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SDDocumentReasonText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SDDocumentReasonText>
-
field
@Nonnull public static <T> SDDocumentReasonTextField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> SDDocumentReasonTextField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<SDDocumentReasonText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SDDocumentReasonText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SDDocumentReasonText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SDDocumentReasonText>
-
builder
-
getSDDocumentReason
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SDDocumentReason
- Returns:
- Order Reason (Reason for the Business Transaction)
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSDDocumentReasonText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SDDocumentReasonText
- Returns:
- Description
-
toString
- Overrides:
toStringin classVdmObject<SDDocumentReasonText>
-
equals
- Overrides:
equalsin classVdmEntity<SDDocumentReasonText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SDDocumentReasonText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SDDocumentReasonText>
-