Class CN_TaxInvoiceBindingRecord
Original entity name from the Odata EDM: A_CN_TaxInvoiceBindingRecordType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CN_TaxInvoiceBindingRecord instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CN_TaxInvoiceBindingRecordSelectableSelector for all available fields of CN_TaxInvoiceBindingRecord.static final CN_TaxInvoiceBindingRecordField<UUID>Use with available fluent helpers to apply the CN_TaxInvcBindgItmUUID field to query operations.static final CN_TaxInvoiceBindingRecordField<String>Use with available fluent helpers to apply the CN_TaxInvcBindgSrceBusObjKey field to query operations.static final CN_TaxInvoiceBindingRecordField<String>Use with available fluent helpers to apply the CN_TaxInvcBindgSrceBusObjType field to query operations.static final CN_TaxInvoiceBindingRecordField<UUID>Use with available fluent helpers to apply the CN_TaxInvcBindgUUID field to query operations.static final CN_TaxInvoiceBindingRecordField<String>Use with available fluent helpers to apply the CN_TaxInvcCode field to query operations.static final CN_TaxInvoiceBindingRecordField<String>Use with available fluent helpers to apply the CN_TaxInvcNmbr field to query operations.static final CN_TaxInvoiceBindingRecordField<UUID>Use with available fluent helpers to apply the CN_TaxInvcUUID field to query operations.static final CN_TaxInvoiceBindingRecordOneToOneLink<CN_TaxInputInvoice>Use with available fluent helpers to apply the to_Invoice navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCN_TaxInvoiceBindingRecord(UUID cN_TaxInvcBindgUUID, UUID cN_TaxInvcBindgItmUUID, UUID cN_TaxInvcUUID, String cN_TaxInvcCode, String cN_TaxInvcNmbr, String cN_TaxInvcBindgSrceBusObjType, String cN_TaxInvcBindgSrceBusObjKey, CN_TaxInputInvoice toInvoice) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CN_TaxInputInvoice entity (one to one) associated with this entity.static <T,DomainT>
CN_TaxInvoiceBindingRecordField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CN_TaxInvoiceBindingRecordField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 30Constraints: noneprotected Stringprotected Stringio.vavr.control.Option<CN_TaxInputInvoice>Retrieval of associated CN_TaxInputInvoice entity (one to one).Retrieval of associated CN_TaxInputInvoice entity (one to one).getKey()getType()inthashCode()voidsetCN_TaxInvcBindgItmUUID(UUID cN_TaxInvcBindgItmUUID) (Key Field) Constraints: Not nullablevoidsetCN_TaxInvcBindgSrceBusObjKey(String cN_TaxInvcBindgSrceBusObjKey) Constraints: Not nullable, Maximum length: 40voidsetCN_TaxInvcBindgSrceBusObjType(String cN_TaxInvcBindgSrceBusObjType) Constraints: Not nullable, Maximum length: 10voidsetCN_TaxInvcBindgUUID(UUID cN_TaxInvcBindgUUID) (Key Field) Constraints: Not nullablevoidsetCN_TaxInvcCode(String cN_TaxInvcCode) Constraints: Not nullable, Maximum length: 20voidsetCN_TaxInvcNmbr(String cN_TaxInvcNmbr) Constraints: Not nullable, Maximum length: 30voidsetCN_TaxInvcUUID(UUID cN_TaxInvcUUID) Constraints: nonevoidsetInvoice(CN_TaxInputInvoice value) Overwrites the associated CN_TaxInputInvoice entity for the loaded navigation property to_Invoice.protected 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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CN_TaxInvoiceBindingRecord. -
CN_TAX_INVC_BINDG_UUID
Use with available fluent helpers to apply the CN_TaxInvcBindgUUID field to query operations. -
CN_TAX_INVC_BINDG_ITM_UUID
Use with available fluent helpers to apply the CN_TaxInvcBindgItmUUID field to query operations. -
CN_TAX_INVC_UUID
Use with available fluent helpers to apply the CN_TaxInvcUUID field to query operations. -
CN_TAX_INVC_CODE
Use with available fluent helpers to apply the CN_TaxInvcCode field to query operations. -
CN_TAX_INVC_NMBR
Use with available fluent helpers to apply the CN_TaxInvcNmbr field to query operations. -
CN_TAX_INVC_BINDG_SRCE_BUS_OBJ_TYPE
Use with available fluent helpers to apply the CN_TaxInvcBindgSrceBusObjType field to query operations. -
CN_TAX_INVC_BINDG_SRCE_BUS_OBJ_KEY
Use with available fluent helpers to apply the CN_TaxInvcBindgSrceBusObjKey field to query operations. -
TO_INVOICE
Use with available fluent helpers to apply the to_Invoice navigation property to query operations.
-
-
Constructor Details
-
CN_TaxInvoiceBindingRecord
public CN_TaxInvoiceBindingRecord() -
CN_TaxInvoiceBindingRecord
public CN_TaxInvoiceBindingRecord(@Nullable UUID cN_TaxInvcBindgUUID, @Nullable UUID cN_TaxInvcBindgItmUUID, @Nullable UUID cN_TaxInvcUUID, @Nullable String cN_TaxInvcCode, @Nullable String cN_TaxInvcNmbr, @Nullable String cN_TaxInvcBindgSrceBusObjType, @Nullable String cN_TaxInvcBindgSrceBusObjKey, @Nullable CN_TaxInputInvoice toInvoice)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CN_TaxInvoiceBindingRecord>
-
setCN_TaxInvcBindgUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CN_TaxInvcBindgUUID
- Parameters:
cN_TaxInvcBindgUUID- China Tax Invoice Binding UUID
-
setCN_TaxInvcBindgItmUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CN_TaxInvcBindgItmUUID
- Parameters:
cN_TaxInvcBindgItmUUID- China Tax Invoice Binding Item UUID
-
setCN_TaxInvcUUID
Constraints: noneOriginal property name from the Odata EDM: CN_TaxInvcUUID
- Parameters:
cN_TaxInvcUUID- China Tax Invoice UUID
-
setCN_TaxInvcCode
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CN_TaxInvcCode
- Parameters:
cN_TaxInvcCode- China Tax Invoice Code
-
setCN_TaxInvcNmbr
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: CN_TaxInvcNmbr
- Parameters:
cN_TaxInvcNmbr- China Tax Invoice Number
-
setCN_TaxInvcBindgSrceBusObjType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CN_TaxInvcBindgSrceBusObjType
- Parameters:
cN_TaxInvcBindgSrceBusObjType- China Tax Invoice Binding Source BO Type
-
setCN_TaxInvcBindgSrceBusObjKey
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CN_TaxInvcBindgSrceBusObjKey
- Parameters:
cN_TaxInvcBindgSrceBusObjKey- China Tax Invoice Binding Source BO Key
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CN_TaxInvoiceBindingRecord>
-
getKey
- Overrides:
getKeyin classVdmObject<CN_TaxInvoiceBindingRecord>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CN_TaxInvoiceBindingRecord>
-
fromMap
- Overrides:
fromMapin classVdmObject<CN_TaxInvoiceBindingRecord>
-
field
@Nonnull public static <T> CN_TaxInvoiceBindingRecordField<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> CN_TaxInvoiceBindingRecordField<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<CN_TaxInvoiceBindingRecord>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CN_TaxInvoiceBindingRecord>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CN_TaxInvoiceBindingRecord>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CN_TaxInvoiceBindingRecord>
-
fetchInvoice
Fetches the CN_TaxInputInvoice entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Invoice.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated CN_TaxInputInvoice entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getInvoiceOrFetch
Retrieval of associated CN_TaxInputInvoice entity (one to one). This corresponds to the OData navigation property to_Invoice.If the navigation property to_Invoice of a queried CN_TaxInvoiceBindingRecord 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.
- Returns:
- List of associated CN_TaxInputInvoice entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getInvoiceIfPresent
Retrieval of associated CN_TaxInputInvoice entity (one to one). This corresponds to the OData navigation property to_Invoice.If the navigation property for an entity CN_TaxInvoiceBindingRecord has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Invoice is already loaded, the result will contain
the CN_TaxInputInvoice entity. If not, an
Optionwith result stateemptyis returned.
-
setInvoice
Overwrites the associated CN_TaxInputInvoice entity for the loaded navigation property to_Invoice.- Parameters:
value- New CN_TaxInputInvoice entity.
-
builder
-
getCN_TaxInvcBindgUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CN_TaxInvcBindgUUID
- Returns:
- China Tax Invoice Binding UUID
-
getCN_TaxInvcBindgItmUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CN_TaxInvcBindgItmUUID
- Returns:
- China Tax Invoice Binding Item UUID
-
getCN_TaxInvcUUID
Constraints: noneOriginal property name from the Odata EDM: CN_TaxInvcUUID
- Returns:
- China Tax Invoice UUID
-
getCN_TaxInvcCode
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CN_TaxInvcCode
- Returns:
- China Tax Invoice Code
-
getCN_TaxInvcNmbr
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: CN_TaxInvcNmbr
- Returns:
- China Tax Invoice Number
-
getCN_TaxInvcBindgSrceBusObjType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CN_TaxInvcBindgSrceBusObjType
- Returns:
- China Tax Invoice Binding Source BO Type
-
getCN_TaxInvcBindgSrceBusObjKey
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CN_TaxInvcBindgSrceBusObjKey
- Returns:
- China Tax Invoice Binding Source BO Key
-
toString
- Overrides:
toStringin classVdmObject<CN_TaxInvoiceBindingRecord>
-
equals
- Overrides:
equalsin classVdmEntity<CN_TaxInvoiceBindingRecord>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CN_TaxInvoiceBindingRecord>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CN_TaxInvoiceBindingRecord>
-