Class CntrlPurContrLegalTrans
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CntrlPurContrLegalTrans>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.centralpurchasecontract.CntrlPurContrLegalTrans
Legal Transaction
Original entity name from the Odata EDM: A_CntrlPurContrLegalTransType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CntrlPurContrLegalTransSelectableSelector for all available fields of CntrlPurContrLegalTrans.static final CntrlPurContrLegalTransField<String>Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.static final CntrlPurContrLegalTransField<String>Use with available fluent helpers to apply the LegalTransaction field to query operations.static final CntrlPurContrLegalTransField<String>Use with available fluent helpers to apply the LegalTransactionTitle field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCntrlPurContrLegalTrans(String centralPurchaseContract, String legalTransaction, String legalTransactionTitle) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
CntrlPurContrLegalTransField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CntrlPurContrLegalTransField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 10protected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 128getType()inthashCode()voidsetCentralPurchaseContract(String centralPurchaseContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetLegalTransaction(String legalTransaction) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetLegalTransactionTitle(String legalTransactionTitle) Constraints: Not nullable, Maximum length: 128protected 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 CntrlPurContrLegalTrans. -
CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the CentralPurchaseContract field to query operations. -
LEGAL_TRANSACTION
Use with available fluent helpers to apply the LegalTransaction field to query operations. -
LEGAL_TRANSACTION_TITLE
Use with available fluent helpers to apply the LegalTransactionTitle field to query operations.
-
-
Constructor Details
-
CntrlPurContrLegalTrans
public CntrlPurContrLegalTrans() -
CntrlPurContrLegalTrans
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CntrlPurContrLegalTrans>
-
setCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Parameters:
centralPurchaseContract- Central Purchase Contract
-
setLegalTransaction
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LegalTransaction
- Parameters:
legalTransaction- Legal Transaction ID
-
setLegalTransactionTitle
Constraints: Not nullable, Maximum length: 128Original property name from the Odata EDM: LegalTransactionTitle
- Parameters:
legalTransactionTitle- Legal Transaction Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CntrlPurContrLegalTrans>
-
getKey
- Overrides:
getKeyin classVdmObject<CntrlPurContrLegalTrans>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CntrlPurContrLegalTrans>
-
fromMap
- Overrides:
fromMapin classVdmObject<CntrlPurContrLegalTrans>
-
field
@Nonnull public static <T> CntrlPurContrLegalTransField<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> CntrlPurContrLegalTransField<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<CntrlPurContrLegalTrans>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CntrlPurContrLegalTrans>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CntrlPurContrLegalTrans>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CntrlPurContrLegalTrans>
-
builder
-
getCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Returns:
- Central Purchase Contract
-
getLegalTransaction
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LegalTransaction
- Returns:
- Legal Transaction ID
-
getLegalTransactionTitle
Constraints: Not nullable, Maximum length: 128Original property name from the Odata EDM: LegalTransactionTitle
- Returns:
- Legal Transaction Name
-
toString
- Overrides:
toStringin classVdmObject<CntrlPurContrLegalTrans>
-
equals
- Overrides:
equalsin classVdmEntity<CntrlPurContrLegalTrans>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CntrlPurContrLegalTrans>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CntrlPurContrLegalTrans>
-