Class DefectCodeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<DefectCodeText>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.defectcodeandcodegroup.DefectCodeText
Defect Code Texts
Original entity name from the Odata EDM: A_DefectCodeTextType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefectCodeTextSelectableSelector for all available fields of DefectCodeText.static final DefectCodeTextField<String>Use with available fluent helpers to apply the DefectCode field to query operations.static final DefectCodeTextField<String>Use with available fluent helpers to apply the DefectCodeGroup field to query operations.static final DefectCodeTextField<String>Use with available fluent helpers to apply the DefectCodeText field to query operations.static final DefectCodeTextField<String>Use with available fluent helpers to apply the Language field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionDefectCodeText(String defectCodeGroup, String defectCode, String language, String defectCodeText) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
DefectCodeTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> DefectCodeTextField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected String(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 40protected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetDefectCode(String defectCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetDefectCodeGroup(String defectCodeGroup) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetDefectCodeText(String defectCodeText) Constraints: Not nullable, Maximum length: 40voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2protected 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 DefectCodeText. -
DEFECT_CODE_GROUP
Use with available fluent helpers to apply the DefectCodeGroup field to query operations. -
DEFECT_CODE
Use with available fluent helpers to apply the DefectCode field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
DEFECT_CODE_TEXT
Use with available fluent helpers to apply the DefectCodeText field to query operations.
-
-
Constructor Details
-
DefectCodeText
public DefectCodeText() -
DefectCodeText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DefectCodeText>
-
setDefectCodeGroup
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: DefectCodeGroup
- Parameters:
defectCodeGroup- Defect Code Group
-
setDefectCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: DefectCode
- Parameters:
defectCode- Defect Code
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setDefectCodeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: DefectCodeText
- Parameters:
defectCodeText- Text for Defect Code
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<DefectCodeText>
-
getKey
- Overrides:
getKeyin classVdmObject<DefectCodeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DefectCodeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<DefectCodeText>
-
field
@Nonnull public static <T> DefectCodeTextField<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> DefectCodeTextField<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<DefectCodeText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<DefectCodeText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<DefectCodeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DefectCodeText>
-
builder
-
getDefectCodeGroup
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: DefectCodeGroup
- Returns:
- Defect Code Group
-
getDefectCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: DefectCode
- Returns:
- Defect Code
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getDefectCodeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: DefectCodeText
- Returns:
- Text for Defect Code
-
toString
- Overrides:
toStringin classVdmObject<DefectCodeText>
-
equals
- Overrides:
equalsin classVdmEntity<DefectCodeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<DefectCodeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<DefectCodeText>
-