Class CndnContrType
Original entity name from the Odata EDM: A_CndnContrTypeType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CndnContrType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CndnContrTypeSelectableSelector for all available fields of CndnContrType.static final CndnContrTypeField<String>Use with available fluent helpers to apply the BusVolFldCombnSet field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrChangeability field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrClassfctnType field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrEligibleCat field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrHasNoConditions field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrPartnerCat field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrPrtlSettlmtCat field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrSettlmtType field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrType field to query operations.static final CndnContrTypeField<String>Use with available fluent helpers to apply the CndnContrTypeBlockUsage field to query operations.static final CndnContrTypeLink<BusVolFldCombnSetTypeAssgmt>Use with available fluent helpers to apply the to_BusVolFldCombnSetTypeAssgmt navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCndnContrType(String cndnContrType, String busVolFldCombnSet, String cndnContrTypeBlockUsage, String cndnContrPartnerCat, String cndnContrEligibleCat, String cndnContrClassfctnType, String cndnContrHasNoConditions, String cndnContrSettlmtType, String cndnContrChangeability, String cndnContrPrtlSettlmtCat, List<BusVolFldCombnSetTypeAssgmt> toBusVolFldCombnSetTypeAssgmt) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated BusVolFldCombnSetTypeAssgmt entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the BusVolFldCombnSetTypeAssgmt entities (one to many) associated with this entity.static <T,DomainT>
CndnContrTypeField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CndnContrTypeField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 4io.vavr.control.Option<List<BusVolFldCombnSetTypeAssgmt>>Retrieval of associated BusVolFldCombnSetTypeAssgmt entities (one to many).Retrieval of associated BusVolFldCombnSetTypeAssgmt entities (one to many).Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1protected Stringprotected StringgetKey()getType()inthashCode()voidsetBusVolFldCombnSet(String busVolFldCombnSet) Constraints: Not nullable, Maximum length: 4voidOverwrites the list of associated BusVolFldCombnSetTypeAssgmt entities for the loaded navigation property to_BusVolFldCombnSetTypeAssgmt.voidsetCndnContrChangeability(String cndnContrChangeability) Constraints: Not nullable, Maximum length: 2voidsetCndnContrClassfctnType(String cndnContrClassfctnType) Constraints: Not nullable, Maximum length: 2voidsetCndnContrEligibleCat(String cndnContrEligibleCat) Constraints: Not nullable, Maximum length: 2voidsetCndnContrHasNoConditions(String cndnContrHasNoConditions) Constraints: Not nullable, Maximum length: 1voidsetCndnContrPartnerCat(String cndnContrPartnerCat) Constraints: Not nullable, Maximum length: 2voidsetCndnContrPrtlSettlmtCat(String cndnContrPrtlSettlmtCat) Constraints: Not nullable, Maximum length: 1voidsetCndnContrSettlmtType(String cndnContrSettlmtType) Constraints: Not nullable, Maximum length: 1voidsetCndnContrType(String cndnContrType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCndnContrTypeBlockUsage(String cndnContrTypeBlockUsage) Constraints: Not nullable, Maximum length: 1protected 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 CndnContrType. -
CNDN_CONTR_TYPE
Use with available fluent helpers to apply the CndnContrType field to query operations. -
BUS_VOL_FLD_COMBN_SET
Use with available fluent helpers to apply the BusVolFldCombnSet field to query operations. -
CNDN_CONTR_TYPE_BLOCK_USAGE
Use with available fluent helpers to apply the CndnContrTypeBlockUsage field to query operations. -
CNDN_CONTR_PARTNER_CAT
Use with available fluent helpers to apply the CndnContrPartnerCat field to query operations. -
CNDN_CONTR_ELIGIBLE_CAT
Use with available fluent helpers to apply the CndnContrEligibleCat field to query operations. -
CNDN_CONTR_CLASSFCTN_TYPE
Use with available fluent helpers to apply the CndnContrClassfctnType field to query operations. -
CNDN_CONTR_HAS_NO_CONDITIONS
Use with available fluent helpers to apply the CndnContrHasNoConditions field to query operations. -
CNDN_CONTR_SETTLMT_TYPE
Use with available fluent helpers to apply the CndnContrSettlmtType field to query operations. -
CNDN_CONTR_CHANGEABILITY
Use with available fluent helpers to apply the CndnContrChangeability field to query operations. -
CNDN_CONTR_PRTL_SETTLMT_CAT
Use with available fluent helpers to apply the CndnContrPrtlSettlmtCat field to query operations. -
TO_BUS_VOL_FLD_COMBN_SET_TYPE_ASSGMT
public static final CndnContrTypeLink<BusVolFldCombnSetTypeAssgmt> TO_BUS_VOL_FLD_COMBN_SET_TYPE_ASSGMTUse with available fluent helpers to apply the to_BusVolFldCombnSetTypeAssgmt navigation property to query operations.
-
-
Constructor Details
-
CndnContrType
public CndnContrType() -
CndnContrType
public CndnContrType(@Nullable String cndnContrType, @Nullable String busVolFldCombnSet, @Nullable String cndnContrTypeBlockUsage, @Nullable String cndnContrPartnerCat, @Nullable String cndnContrEligibleCat, @Nullable String cndnContrClassfctnType, @Nullable String cndnContrHasNoConditions, @Nullable String cndnContrSettlmtType, @Nullable String cndnContrChangeability, @Nullable String cndnContrPrtlSettlmtCat, List<BusVolFldCombnSetTypeAssgmt> toBusVolFldCombnSetTypeAssgmt)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CndnContrType>
-
setCndnContrType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CndnContrType
- Parameters:
cndnContrType- Condition Contract Type
-
setBusVolFldCombnSet
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BusVolFldCombnSet
- Parameters:
busVolFldCombnSet- Set of Field Combinations
-
setCndnContrTypeBlockUsage
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CndnContrTypeBlockUsage
- Parameters:
cndnContrTypeBlockUsage- Condition Contract Type Block
-
setCndnContrPartnerCat
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CndnContrPartnerCat
- Parameters:
cndnContrPartnerCat- Type of Business Partner for Condition Contract
-
setCndnContrEligibleCat
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CndnContrEligibleCat
- Parameters:
cndnContrEligibleCat- Type of Eligible Partner for a Condition Contract
-
setCndnContrClassfctnType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CndnContrClassfctnType
- Parameters:
cndnContrClassfctnType- Condition Contract Category
-
setCndnContrHasNoConditions
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CndnContrHasNoConditions
- Parameters:
cndnContrHasNoConditions- Hide Conditions Area in Condition Contract Maintenance
-
setCndnContrSettlmtType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CndnContrSettlmtType
- Parameters:
cndnContrSettlmtType- Conditon Contract Settlement Type
-
setCndnContrChangeability
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CndnContrChangeability
- Parameters:
cndnContrChangeability- Control for Changes on the User Interface
-
setCndnContrPrtlSettlmtCat
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CndnContrPrtlSettlmtCat
- Parameters:
cndnContrPrtlSettlmtCat- Condition Contract Settlement: Partial Settlement Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CndnContrType>
-
getKey
- Overrides:
getKeyin classVdmObject<CndnContrType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CndnContrType>
-
fromMap
- Overrides:
fromMapin classVdmObject<CndnContrType>
-
field
@Nonnull public static <T> CndnContrTypeField<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> CndnContrTypeField<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<CndnContrType>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CndnContrType>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CndnContrType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CndnContrType>
-
fetchBusVolFldCombnSetTypeAssgmt
Fetches the BusVolFldCombnSetTypeAssgmt entities (one to many) associated with this entity. This corresponds to the OData navigation property to_BusVolFldCombnSetTypeAssgmt.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated BusVolFldCombnSetTypeAssgmt entities. If no entities are associated then an empty list is returned.
- 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.
-
getBusVolFldCombnSetTypeAssgmtOrFetch
Retrieval of associated BusVolFldCombnSetTypeAssgmt entities (one to many). This corresponds to the OData navigation property to_BusVolFldCombnSetTypeAssgmt.If the navigation property to_BusVolFldCombnSetTypeAssgmt of a queried CndnContrType 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 BusVolFldCombnSetTypeAssgmt entities.
- 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.
-
getBusVolFldCombnSetTypeAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<BusVolFldCombnSetTypeAssgmt>> getBusVolFldCombnSetTypeAssgmtIfPresent()Retrieval of associated BusVolFldCombnSetTypeAssgmt entities (one to many). This corresponds to the OData navigation property to_BusVolFldCombnSetTypeAssgmt.If the navigation property for an entity CndnContrType 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_BusVolFldCombnSetTypeAssgmt is already loaded, the
result will contain the BusVolFldCombnSetTypeAssgmt entities. If not, an
Optionwith result stateemptyis returned.
-
setBusVolFldCombnSetTypeAssgmt
Overwrites the list of associated BusVolFldCombnSetTypeAssgmt entities for the loaded navigation property to_BusVolFldCombnSetTypeAssgmt.If the navigation property to_BusVolFldCombnSetTypeAssgmt of a queried CndnContrType 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.
- Parameters:
value- List of BusVolFldCombnSetTypeAssgmt entities.
-
addBusVolFldCombnSetTypeAssgmt
Adds elements to the list of associated BusVolFldCombnSetTypeAssgmt entities. This corresponds to the OData navigation property to_BusVolFldCombnSetTypeAssgmt.If the navigation property to_BusVolFldCombnSetTypeAssgmt of a queried CndnContrType 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.
- Parameters:
entity- Array of BusVolFldCombnSetTypeAssgmt entities.
-
builder
-
getCndnContrType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CndnContrType
- Returns:
- Condition Contract Type
-
getBusVolFldCombnSet
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BusVolFldCombnSet
- Returns:
- Set of Field Combinations
-
getCndnContrTypeBlockUsage
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CndnContrTypeBlockUsage
- Returns:
- Condition Contract Type Block
-
getCndnContrPartnerCat
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CndnContrPartnerCat
- Returns:
- Type of Business Partner for Condition Contract
-
getCndnContrEligibleCat
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CndnContrEligibleCat
- Returns:
- Type of Eligible Partner for a Condition Contract
-
getCndnContrClassfctnType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CndnContrClassfctnType
- Returns:
- Condition Contract Category
-
getCndnContrHasNoConditions
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CndnContrHasNoConditions
- Returns:
- Hide Conditions Area in Condition Contract Maintenance
-
getCndnContrSettlmtType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CndnContrSettlmtType
- Returns:
- Conditon Contract Settlement Type
-
getCndnContrChangeability
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CndnContrChangeability
- Returns:
- Control for Changes on the User Interface
-
getCndnContrPrtlSettlmtCat
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CndnContrPrtlSettlmtCat
- Returns:
- Condition Contract Settlement: Partial Settlement Type
-
toString
- Overrides:
toStringin classVdmObject<CndnContrType>
-
equals
- Overrides:
equalsin classVdmEntity<CndnContrType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CndnContrType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CndnContrType>
-