Class SituationTemplateText
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SituationTemplateText>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businesssituationtypev2.SituationTemplateText
Situation Template - Text
Original entity name from the Odata EDM: SituationTemplateTextType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SituationTemplateTextSelectableSelector for all available fields of SituationTemplateText.static final SituationTemplateTextField<String>Use with available fluent helpers to apply the Language field to query operations.static final SituationTemplateTextField<String>Use with available fluent helpers to apply the SitnDefDescription field to query operations.static final SituationTemplateTextField<String>Use with available fluent helpers to apply the SitnDefName field to query operations.static final SituationTemplateTextField<String>Use with available fluent helpers to apply the SitnDefTemplateID field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSituationTemplateText(String sitnDefTemplateID, String language, String sitnDefName, String sitnDefDescription) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SituationTemplateTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SituationTemplateTextField<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: 2Constraints: Not nullable, Maximum length: 250Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 32getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSitnDefDescription(String sitnDefDescription) Constraints: Not nullable, Maximum length: 250voidsetSitnDefName(String sitnDefName) Constraints: Not nullable, Maximum length: 40voidsetSitnDefTemplateID(String sitnDefTemplateID) (Key Field) Constraints: Not nullable, Maximum length: 32toString()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 SituationTemplateText. -
SITN_DEF_TEMPLATE_ID
Use with available fluent helpers to apply the SitnDefTemplateID field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
SITN_DEF_NAME
Use with available fluent helpers to apply the SitnDefName field to query operations. -
SITN_DEF_DESCRIPTION
Use with available fluent helpers to apply the SitnDefDescription field to query operations.
-
-
Constructor Details
-
SituationTemplateText
public SituationTemplateText() -
SituationTemplateText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SituationTemplateText>
-
setSitnDefTemplateID
(Key Field) Constraints: Not nullable, Maximum length: 32Original property name from the Odata EDM: SitnDefTemplateID
- Parameters:
sitnDefTemplateID- Situation Standard Template ID
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSitnDefName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SitnDefName
- Parameters:
sitnDefName- Situation Type Name
-
setSitnDefDescription
Constraints: Not nullable, Maximum length: 250Original property name from the Odata EDM: SitnDefDescription
- Parameters:
sitnDefDescription- Situation Condition Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SituationTemplateText>
-
getKey
- Overrides:
getKeyin classVdmObject<SituationTemplateText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SituationTemplateText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SituationTemplateText>
-
field
@Nonnull public static <T> SituationTemplateTextField<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> SituationTemplateTextField<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<SituationTemplateText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SituationTemplateText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SituationTemplateText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SituationTemplateText>
-
builder
-
getSitnDefTemplateID
(Key Field) Constraints: Not nullable, Maximum length: 32Original property name from the Odata EDM: SitnDefTemplateID
- Returns:
- Situation Standard Template ID
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSitnDefName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SitnDefName
- Returns:
- Situation Type Name
-
getSitnDefDescription
Constraints: Not nullable, Maximum length: 250Original property name from the Odata EDM: SitnDefDescription
- Returns:
- Situation Condition Description
-
toString
- Overrides:
toStringin classVdmObject<SituationTemplateText>
-
equals
- Overrides:
equalsin classVdmEntity<SituationTemplateText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SituationTemplateText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SituationTemplateText>
-