Class Plant
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<Plant>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.Plant
Plant (Master Data)
Original entity name from the Odata EDM: Plant
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlantSelectableSelector for all available fields of Plant.static final PlantField<String>Use with available fluent helpers to apply the Plant_ID field to query operations.static final PlantField<String>Use with available fluent helpers to apply the PlantText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) static Plant.PlantBuilderbuilder()protected booleanbooleanstatic <T,DomainT>
PlantField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PlantField<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: 4Constraints: nonegetType()inthashCode()voidsetPlant_ID(String plant_ID) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetPlantText(String plantText) Constraints: noneprotected 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 Plant. -
PLANT_ID
Use with available fluent helpers to apply the Plant_ID field to query operations. -
PLANT_TEXT
Use with available fluent helpers to apply the PlantText field to query operations.
-
-
Constructor Details
-
Plant
public Plant() -
Plant
-
-
Method Details
-
getType
-
setPlant_ID
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant_ID
- Parameters:
plant_ID- Plant
-
setPlantText
Constraints: noneOriginal property name from the Odata EDM: PlantText
- Parameters:
plantText- Plant (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Plant>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Plant>
-
fromMap
-
field
@Nonnull public static <T> PlantField<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> PlantField<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<Plant>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<Plant>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<Plant>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Plant>
-
builder
-
getPlant_ID
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant_ID
- Returns:
- Plant
-
getPlantText
Constraints: noneOriginal property name from the Odata EDM: PlantText
- Returns:
- Plant (Description)
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-