public class BR_NFTransportedVolume extends VdmEntity<BR_NFTransportedVolume>
Original entity name from the Odata EDM: A_BR_NFTransportedVolumeType
Modifier and Type | Class and Description |
---|---|
static class |
BR_NFTransportedVolume.BR_NFTransportedVolumeBuilder
Helper class to allow for fluent creation of BR_NFTransportedVolume instances.
|
Modifier and Type | Field and Description |
---|---|
static BR_NFTransportedVolumeSelectable |
ALL_FIELDS
Selector for all available fields of BR_NFTransportedVolume.
|
static BR_NFTransportedVolumeField<String> |
BR_NOTA_FISCAL
Use with available fluent helpers to apply the BR_NotaFiscal field to query operations.
|
static BR_NFTransportedVolumeField<String> |
BRNF_TRANSPORTED_VOLUME_ID
Use with available fluent helpers to apply the BR_NFTransportedVolumeID field to query operations.
|
static BR_NFTransportedVolumeField<BigDecimal> |
BRNF_TRANSPORTED_VOLUME_QTY_VAL
Use with available fluent helpers to apply the BR_NFTransportedVolumeQtyVal field to query operations.
|
static BR_NFTransportedVolumeField<String> |
BRNF_TRANSPORTED_VOLUME_SEAL
Use with available fluent helpers to apply the BR_NFTransportedVolumeSeal field to query operations.
|
static BR_NFTransportedVolumeField<String> |
BRNF_TRANSPORTED_VOLUME_TYPE
Use with available fluent helpers to apply the BR_NFTransportedVolumeType field to query operations.
|
static BR_NFTransportedVolumeField<String> |
BRNF_TRANSPT_VOL_GROSS_WGT_UNIT
Use with available fluent helpers to apply the BR_NFTransptVolGrossWgtUnit field to query operations.
|
static BR_NFTransportedVolumeField<String> |
BRNF_TRANSPT_VOL_NET_WEIGHT_UNIT
Use with available fluent helpers to apply the BR_NFTransptVolNetWeightUnit field to query operations.
|
static BR_NFTransportedVolumeField<BigDecimal> |
BRNF_TRANSPT_VOLUME_GROSS_WEIGHT
Use with available fluent helpers to apply the BR_NFTransptVolumeGrossWeight field to query operations.
|
static BR_NFTransportedVolumeField<BigDecimal> |
BRNF_TRANSPT_VOLUME_NET_WEIGHT
Use with available fluent helpers to apply the BR_NFTransptVolumeNetWeight field to query operations.
|
static BR_NFTransportedVolumeField<String> |
BRNF_TRANSPT_VOLUME_TRADEMARK
Use with available fluent helpers to apply the BR_NFTransptVolumeTrademark field to query operations.
|
static BR_NFTransportedVolumeField<String> |
BRNF_TRANSPT_VOLUMES_SEQUENCE
Use with available fluent helpers to apply the BR_NFTransptVolumesSequence field to query operations.
|
static BR_NFTransportedVolumeOneToOneLink<BR_NFDocument> |
TO_BRNF_DOC
Use with available fluent helpers to apply the to_BR_NFDoc navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BR_NFTransportedVolume() |
BR_NFTransportedVolume(String bR_NotaFiscal,
String bR_NFTransptVolumesSequence,
BigDecimal bR_NFTransportedVolumeQtyVal,
String bR_NFTransportedVolumeType,
String bR_NFTransptVolumeTrademark,
String bR_NFTransportedVolumeID,
String bR_NFTransptVolNetWeightUnit,
BigDecimal bR_NFTransptVolumeNetWeight,
String bR_NFTransptVolGrossWgtUnit,
BigDecimal bR_NFTransptVolumeGrossWeight,
String bR_NFTransportedVolumeSeal,
BR_NFDocument toBR_NFDoc) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static BR_NFTransportedVolume.BR_NFTransportedVolumeBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
BR_NFDocument |
fetchBR_NFDoc()
Fetches the BR_NFDocument entity (one to one) associated with this entity.
|
static <T> BR_NFTransportedVolumeField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
io.vavr.control.Option<BR_NFDocument> |
getBR_NFDocIfPresent()
Retrieval of associated BR_NFDocument entity (one to one).
|
BR_NFDocument |
getBR_NFDocOrFetch()
Retrieval of associated BR_NFDocument entity (one to one).
|
String |
getBR_NFTransportedVolumeID()
Constraints: Not nullable, Maximum length: 60
|
BigDecimal |
getBR_NFTransportedVolumeQtyVal()
Constraints: Not nullable, Precision: 15, Scale: 0
|
String |
getBR_NFTransportedVolumeSeal()
Constraints: Not nullable, Maximum length: 60
|
String |
getBR_NFTransportedVolumeType()
Constraints: Not nullable, Maximum length: 60
|
String |
getBR_NFTransptVolGrossWgtUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getBR_NFTransptVolNetWeightUnit()
Constraints: Not nullable, Maximum length: 3
|
BigDecimal |
getBR_NFTransptVolumeGrossWeight()
Constraints: Not nullable, Precision: 15, Scale: 3
|
BigDecimal |
getBR_NFTransptVolumeNetWeight()
Constraints: Not nullable, Precision: 15, Scale: 3
|
String |
getBR_NFTransptVolumesSequence()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getBR_NFTransptVolumeTrademark()
Constraints: Not nullable, Maximum length: 60
|
String |
getBR_NotaFiscal()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
Class<BR_NFTransportedVolume> |
getType() |
int |
hashCode() |
void |
setBR_NFDoc(BR_NFDocument value)
Overwrites the associated BR_NFDocument entity for the loaded navigation property to_BR_NFDoc.
|
void |
setBR_NFTransportedVolumeID(String bR_NFTransportedVolumeID)
Constraints: Not nullable, Maximum length: 60
|
void |
setBR_NFTransportedVolumeQtyVal(BigDecimal bR_NFTransportedVolumeQtyVal)
Constraints: Not nullable, Precision: 15, Scale: 0
|
void |
setBR_NFTransportedVolumeSeal(String bR_NFTransportedVolumeSeal)
Constraints: Not nullable, Maximum length: 60
|
void |
setBR_NFTransportedVolumeType(String bR_NFTransportedVolumeType)
Constraints: Not nullable, Maximum length: 60
|
void |
setBR_NFTransptVolGrossWgtUnit(String bR_NFTransptVolGrossWgtUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setBR_NFTransptVolNetWeightUnit(String bR_NFTransptVolNetWeightUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setBR_NFTransptVolumeGrossWeight(BigDecimal bR_NFTransptVolumeGrossWeight)
Constraints: Not nullable, Precision: 15, Scale: 3
|
void |
setBR_NFTransptVolumeNetWeight(BigDecimal bR_NFTransptVolumeNetWeight)
Constraints: Not nullable, Precision: 15, Scale: 3
|
void |
setBR_NFTransptVolumesSequence(String bR_NFTransptVolumesSequence)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setBR_NFTransptVolumeTrademark(String bR_NFTransptVolumeTrademark)
Constraints: Not nullable, Maximum length: 60
|
void |
setBR_NotaFiscal(String bR_NotaFiscal)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final BR_NFTransportedVolumeSelectable ALL_FIELDS
public static final BR_NFTransportedVolumeField<String> BR_NOTA_FISCAL
public static final BR_NFTransportedVolumeField<String> BRNF_TRANSPT_VOLUMES_SEQUENCE
public static final BR_NFTransportedVolumeField<BigDecimal> BRNF_TRANSPORTED_VOLUME_QTY_VAL
public static final BR_NFTransportedVolumeField<String> BRNF_TRANSPORTED_VOLUME_TYPE
public static final BR_NFTransportedVolumeField<String> BRNF_TRANSPT_VOLUME_TRADEMARK
public static final BR_NFTransportedVolumeField<String> BRNF_TRANSPORTED_VOLUME_ID
public static final BR_NFTransportedVolumeField<String> BRNF_TRANSPT_VOL_NET_WEIGHT_UNIT
public static final BR_NFTransportedVolumeField<BigDecimal> BRNF_TRANSPT_VOLUME_NET_WEIGHT
public static final BR_NFTransportedVolumeField<String> BRNF_TRANSPT_VOL_GROSS_WGT_UNIT
public static final BR_NFTransportedVolumeField<BigDecimal> BRNF_TRANSPT_VOLUME_GROSS_WEIGHT
public static final BR_NFTransportedVolumeField<String> BRNF_TRANSPORTED_VOLUME_SEAL
public static final BR_NFTransportedVolumeOneToOneLink<BR_NFDocument> TO_BRNF_DOC
public BR_NFTransportedVolume()
public BR_NFTransportedVolume(@Nullable String bR_NotaFiscal, @Nullable String bR_NFTransptVolumesSequence, @Nullable BigDecimal bR_NFTransportedVolumeQtyVal, @Nullable String bR_NFTransportedVolumeType, @Nullable String bR_NFTransptVolumeTrademark, @Nullable String bR_NFTransportedVolumeID, @Nullable String bR_NFTransptVolNetWeightUnit, @Nullable BigDecimal bR_NFTransptVolumeNetWeight, @Nullable String bR_NFTransptVolGrossWgtUnit, @Nullable BigDecimal bR_NFTransptVolumeGrossWeight, @Nullable String bR_NFTransportedVolumeSeal, @Nullable BR_NFDocument toBR_NFDoc)
@Nonnull public Class<BR_NFTransportedVolume> getType()
getType
in class VdmObject<BR_NFTransportedVolume>
public void setBR_NotaFiscal(@Nullable String bR_NotaFiscal)
Original property name from the Odata EDM: BR_NotaFiscal
bR_NotaFiscal
- Document Numberpublic void setBR_NFTransptVolumesSequence(@Nullable String bR_NFTransptVolumesSequence)
Original property name from the Odata EDM: BR_NFTransptVolumesSequence
bR_NFTransptVolumesSequence
- Counterpublic void setBR_NFTransportedVolumeQtyVal(@Nullable BigDecimal bR_NFTransportedVolumeQtyVal)
Original property name from the Odata EDM: BR_NFTransportedVolumeQtyVal
bR_NFTransportedVolumeQtyVal
- Volume Quantitypublic void setBR_NFTransportedVolumeType(@Nullable String bR_NFTransportedVolumeType)
Original property name from the Odata EDM: BR_NFTransportedVolumeType
bR_NFTransportedVolumeType
- Volume Typepublic void setBR_NFTransptVolumeTrademark(@Nullable String bR_NFTransptVolumeTrademark)
Original property name from the Odata EDM: BR_NFTransptVolumeTrademark
bR_NFTransptVolumeTrademark
- Volume Trademarkpublic void setBR_NFTransportedVolumeID(@Nullable String bR_NFTransportedVolumeID)
Original property name from the Odata EDM: BR_NFTransportedVolumeID
bR_NFTransportedVolumeID
- Volume Numberpublic void setBR_NFTransptVolNetWeightUnit(@Nullable String bR_NFTransptVolNetWeightUnit)
Original property name from the Odata EDM: BR_NFTransptVolNetWeightUnit
bR_NFTransptVolNetWeightUnit
- Unit of Measurementpublic void setBR_NFTransptVolumeNetWeight(@Nullable BigDecimal bR_NFTransptVolumeNetWeight)
Original property name from the Odata EDM: BR_NFTransptVolumeNetWeight
bR_NFTransptVolumeNetWeight
- Net Weightpublic void setBR_NFTransptVolGrossWgtUnit(@Nullable String bR_NFTransptVolGrossWgtUnit)
Original property name from the Odata EDM: BR_NFTransptVolGrossWgtUnit
bR_NFTransptVolGrossWgtUnit
- Unit of Measurementpublic void setBR_NFTransptVolumeGrossWeight(@Nullable BigDecimal bR_NFTransptVolumeGrossWeight)
Original property name from the Odata EDM: BR_NFTransptVolumeGrossWeight
bR_NFTransptVolumeGrossWeight
- Gross Weightpublic void setBR_NFTransportedVolumeSeal(@Nullable String bR_NFTransportedVolumeSeal)
Original property name from the Odata EDM: BR_NFTransportedVolumeSeal
bR_NFTransportedVolumeSeal
- Seal Numberprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BR_NFTransportedVolume>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BR_NFTransportedVolume>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BR_NFTransportedVolume>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BR_NFTransportedVolume>
@Nonnull public static <T> BR_NFTransportedVolumeField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> BR_NFTransportedVolumeField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<BR_NFTransportedVolume>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<BR_NFTransportedVolume>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<BR_NFTransportedVolume>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BR_NFTransportedVolume>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<BR_NFTransportedVolume>
@Nullable public BR_NFDocument fetchBR_NFDoc() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nullable public BR_NFDocument getBR_NFDocOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_BR_NFDoc of a queried BR_NFTransportedVolume is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<BR_NFDocument> getBR_NFDocIfPresent()
If the navigation property for an entity BR_NFTransportedVolume has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state empty
is
returned.public void setBR_NFDoc(BR_NFDocument value)
value
- New BR_NFDocument entity.@Nonnull public static BR_NFTransportedVolume.BR_NFTransportedVolumeBuilder builder()
@Nullable public String getBR_NotaFiscal()
Original property name from the Odata EDM: BR_NotaFiscal
@Nullable public String getBR_NFTransptVolumesSequence()
Original property name from the Odata EDM: BR_NFTransptVolumesSequence
@Nullable public BigDecimal getBR_NFTransportedVolumeQtyVal()
Original property name from the Odata EDM: BR_NFTransportedVolumeQtyVal
@Nullable public String getBR_NFTransportedVolumeType()
Original property name from the Odata EDM: BR_NFTransportedVolumeType
@Nullable public String getBR_NFTransptVolumeTrademark()
Original property name from the Odata EDM: BR_NFTransptVolumeTrademark
@Nullable public String getBR_NFTransportedVolumeID()
Original property name from the Odata EDM: BR_NFTransportedVolumeID
@Nullable public String getBR_NFTransptVolNetWeightUnit()
Original property name from the Odata EDM: BR_NFTransptVolNetWeightUnit
@Nullable public BigDecimal getBR_NFTransptVolumeNetWeight()
Original property name from the Odata EDM: BR_NFTransptVolumeNetWeight
@Nullable public String getBR_NFTransptVolGrossWgtUnit()
Original property name from the Odata EDM: BR_NFTransptVolGrossWgtUnit
@Nullable public BigDecimal getBR_NFTransptVolumeGrossWeight()
Original property name from the Odata EDM: BR_NFTransptVolumeGrossWeight
@Nullable public String getBR_NFTransportedVolumeSeal()
Original property name from the Odata EDM: BR_NFTransportedVolumeSeal
@Nonnull public String toString()
toString
in class VdmObject<BR_NFTransportedVolume>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BR_NFTransportedVolume>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BR_NFTransportedVolume>
public int hashCode()
hashCode
in class VdmObject<BR_NFTransportedVolume>
Copyright © 2021 SAP SE. All rights reserved.