public class CndnContrType extends VdmEntity<CndnContrType>
Original entity name from the Odata EDM: A_CndnContrTypeType
Modifier and Type | Class and Description |
---|---|
static class |
CndnContrType.CndnContrTypeBuilder
Helper class to allow for fluent creation of CndnContrType instances.
|
Modifier and Type | Field and Description |
---|---|
static CndnContrTypeSelectable |
ALL_FIELDS
Selector for all available fields of CndnContrType.
|
static CndnContrTypeField<String> |
BUS_VOL_FLD_COMBN_SET
Use with available fluent helpers to apply the BusVolFldCombnSet field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_CHANGEABILITY
Use with available fluent helpers to apply the CndnContrChangeability field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_CLASSFCTN_TYPE
Use with available fluent helpers to apply the CndnContrClassfctnType field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_ELIGIBLE_CAT
Use with available fluent helpers to apply the CndnContrEligibleCat field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_HAS_NO_CONDITIONS
Use with available fluent helpers to apply the CndnContrHasNoConditions field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_PARTNER_CAT
Use with available fluent helpers to apply the CndnContrPartnerCat field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_PRTL_SETTLMT_CAT
Use with available fluent helpers to apply the CndnContrPrtlSettlmtCat field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_SETTLMT_TYPE
Use with available fluent helpers to apply the CndnContrSettlmtType field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_TYPE
Use with available fluent helpers to apply the CndnContrType field to query operations.
|
static CndnContrTypeField<String> |
CNDN_CONTR_TYPE_BLOCK_USAGE
Use with available fluent helpers to apply the CndnContrTypeBlockUsage field to query operations.
|
static CndnContrTypeLink<BusVolFldCombnSetTypeAssgmt> |
TO_BUS_VOL_FLD_COMBN_SET_TYPE_ASSGMT
Use with available fluent helpers to apply the to_BusVolFldCombnSetTypeAssgmt navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
CndnContrType() |
CndnContrType(String cndnContrType,
String busVolFldCombnSet,
String cndnContrTypeBlockUsage,
String cndnContrPartnerCat,
String cndnContrEligibleCat,
String cndnContrClassfctnType,
String cndnContrHasNoConditions,
String cndnContrSettlmtType,
String cndnContrChangeability,
String cndnContrPrtlSettlmtCat,
List<BusVolFldCombnSetTypeAssgmt> toBusVolFldCombnSetTypeAssgmt) |
Modifier and Type | Method and Description |
---|---|
void |
addBusVolFldCombnSetTypeAssgmt(BusVolFldCombnSetTypeAssgmt... entity)
Adds elements to the list of associated BusVolFldCombnSetTypeAssgmt entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static CndnContrType.CndnContrTypeBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<BusVolFldCombnSetTypeAssgmt> |
fetchBusVolFldCombnSetTypeAssgmt()
Fetches the BusVolFldCombnSetTypeAssgmt entities (one to many) associated with this entity.
|
static <T> CndnContrTypeField<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) |
String |
getBusVolFldCombnSet()
Constraints: Not nullable, Maximum length: 4
|
io.vavr.control.Option<List<BusVolFldCombnSetTypeAssgmt>> |
getBusVolFldCombnSetTypeAssgmtIfPresent()
Retrieval of associated BusVolFldCombnSetTypeAssgmt entities (one to many).
|
List<BusVolFldCombnSetTypeAssgmt> |
getBusVolFldCombnSetTypeAssgmtOrFetch()
Retrieval of associated BusVolFldCombnSetTypeAssgmt entities (one to many).
|
String |
getCndnContrChangeability()
Constraints: Not nullable, Maximum length: 2
|
String |
getCndnContrClassfctnType()
Constraints: Not nullable, Maximum length: 2
|
String |
getCndnContrEligibleCat()
Constraints: Not nullable, Maximum length: 2
|
String |
getCndnContrHasNoConditions()
Constraints: Not nullable, Maximum length: 1
|
String |
getCndnContrPartnerCat()
Constraints: Not nullable, Maximum length: 2
|
String |
getCndnContrPrtlSettlmtCat()
Constraints: Not nullable, Maximum length: 1
|
String |
getCndnContrSettlmtType()
Constraints: Not nullable, Maximum length: 1
|
String |
getCndnContrType()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCndnContrTypeBlockUsage()
Constraints: Not nullable, Maximum length: 1
|
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<CndnContrType> |
getType() |
int |
hashCode() |
void |
setBusVolFldCombnSet(String busVolFldCombnSet)
Constraints: Not nullable, Maximum length: 4
|
void |
setBusVolFldCombnSetTypeAssgmt(List<BusVolFldCombnSetTypeAssgmt> value)
Overwrites the list of associated BusVolFldCombnSetTypeAssgmt entities for the loaded navigation property
to_BusVolFldCombnSetTypeAssgmt.
|
void |
setCndnContrChangeability(String cndnContrChangeability)
Constraints: Not nullable, Maximum length: 2
|
void |
setCndnContrClassfctnType(String cndnContrClassfctnType)
Constraints: Not nullable, Maximum length: 2
|
void |
setCndnContrEligibleCat(String cndnContrEligibleCat)
Constraints: Not nullable, Maximum length: 2
|
void |
setCndnContrHasNoConditions(String cndnContrHasNoConditions)
Constraints: Not nullable, Maximum length: 1
|
void |
setCndnContrPartnerCat(String cndnContrPartnerCat)
Constraints: Not nullable, Maximum length: 2
|
void |
setCndnContrPrtlSettlmtCat(String cndnContrPrtlSettlmtCat)
Constraints: Not nullable, Maximum length: 1
|
void |
setCndnContrSettlmtType(String cndnContrSettlmtType)
Constraints: Not nullable, Maximum length: 1
|
void |
setCndnContrType(String cndnContrType)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCndnContrTypeBlockUsage(String cndnContrTypeBlockUsage)
Constraints: Not nullable, Maximum length: 1
|
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 CndnContrTypeSelectable ALL_FIELDS
public static final CndnContrTypeField<String> CNDN_CONTR_TYPE
public static final CndnContrTypeField<String> BUS_VOL_FLD_COMBN_SET
public static final CndnContrTypeField<String> CNDN_CONTR_TYPE_BLOCK_USAGE
public static final CndnContrTypeField<String> CNDN_CONTR_PARTNER_CAT
public static final CndnContrTypeField<String> CNDN_CONTR_ELIGIBLE_CAT
public static final CndnContrTypeField<String> CNDN_CONTR_CLASSFCTN_TYPE
public static final CndnContrTypeField<String> CNDN_CONTR_HAS_NO_CONDITIONS
public static final CndnContrTypeField<String> CNDN_CONTR_SETTLMT_TYPE
public static final CndnContrTypeField<String> CNDN_CONTR_CHANGEABILITY
public static final CndnContrTypeField<String> CNDN_CONTR_PRTL_SETTLMT_CAT
public static final CndnContrTypeLink<BusVolFldCombnSetTypeAssgmt> TO_BUS_VOL_FLD_COMBN_SET_TYPE_ASSGMT
public 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)
@Nonnull public Class<CndnContrType> getType()
getType
in class VdmObject<CndnContrType>
public void setCndnContrType(@Nullable String cndnContrType)
Original property name from the Odata EDM: CndnContrType
cndnContrType
- Condition Contract Typepublic void setBusVolFldCombnSet(@Nullable String busVolFldCombnSet)
Original property name from the Odata EDM: BusVolFldCombnSet
busVolFldCombnSet
- Set of Field Combinationspublic void setCndnContrTypeBlockUsage(@Nullable String cndnContrTypeBlockUsage)
Original property name from the Odata EDM: CndnContrTypeBlockUsage
cndnContrTypeBlockUsage
- Condition Contract Type Blockpublic void setCndnContrPartnerCat(@Nullable String cndnContrPartnerCat)
Original property name from the Odata EDM: CndnContrPartnerCat
cndnContrPartnerCat
- Type of Business Partner for Condition Contractpublic void setCndnContrEligibleCat(@Nullable String cndnContrEligibleCat)
Original property name from the Odata EDM: CndnContrEligibleCat
cndnContrEligibleCat
- Type of Eligible Partner for a Condition Contractpublic void setCndnContrClassfctnType(@Nullable String cndnContrClassfctnType)
Original property name from the Odata EDM: CndnContrClassfctnType
cndnContrClassfctnType
- Condition Contract Categorypublic void setCndnContrHasNoConditions(@Nullable String cndnContrHasNoConditions)
Original property name from the Odata EDM: CndnContrHasNoConditions
cndnContrHasNoConditions
- Hide Conditions Area in Condition Contract Maintenancepublic void setCndnContrSettlmtType(@Nullable String cndnContrSettlmtType)
Original property name from the Odata EDM: CndnContrSettlmtType
cndnContrSettlmtType
- Condition Contract Settlement Typepublic void setCndnContrChangeability(@Nullable String cndnContrChangeability)
Original property name from the Odata EDM: CndnContrChangeability
cndnContrChangeability
- Change via UIpublic void setCndnContrPrtlSettlmtCat(@Nullable String cndnContrPrtlSettlmtCat)
Original property name from the Odata EDM: CndnContrPrtlSettlmtCat
cndnContrPrtlSettlmtCat
- Condition Contract Settlement: Partial Settlement Typeprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CndnContrType>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CndnContrType>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CndnContrType>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CndnContrType>
@Nonnull public static <T> CndnContrTypeField<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> CndnContrTypeField<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<CndnContrType>
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<CndnContrType>
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<CndnContrType>
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<CndnContrType>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<CndnContrType>
@Nonnull public List<BusVolFldCombnSetTypeAssgmt> fetchBusVolFldCombnSetTypeAssgmt() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
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 List<BusVolFldCombnSetTypeAssgmt> getBusVolFldCombnSetTypeAssgmtOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
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<List<BusVolFldCombnSetTypeAssgmt>> getBusVolFldCombnSetTypeAssgmtIfPresent()
If the navigation property for an entity CndnContrType 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 setBusVolFldCombnSetTypeAssgmt(@Nonnull List<BusVolFldCombnSetTypeAssgmt> value)
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.
value
- List of BusVolFldCombnSetTypeAssgmt entities.public void addBusVolFldCombnSetTypeAssgmt(BusVolFldCombnSetTypeAssgmt... entity)
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.
entity
- Array of BusVolFldCombnSetTypeAssgmt entities.@Nonnull public static CndnContrType.CndnContrTypeBuilder builder()
@Nullable public String getCndnContrType()
Original property name from the Odata EDM: CndnContrType
@Nullable public String getBusVolFldCombnSet()
Original property name from the Odata EDM: BusVolFldCombnSet
@Nullable public String getCndnContrTypeBlockUsage()
Original property name from the Odata EDM: CndnContrTypeBlockUsage
@Nullable public String getCndnContrPartnerCat()
Original property name from the Odata EDM: CndnContrPartnerCat
@Nullable public String getCndnContrEligibleCat()
Original property name from the Odata EDM: CndnContrEligibleCat
@Nullable public String getCndnContrClassfctnType()
Original property name from the Odata EDM: CndnContrClassfctnType
@Nullable public String getCndnContrHasNoConditions()
Original property name from the Odata EDM: CndnContrHasNoConditions
@Nullable public String getCndnContrSettlmtType()
Original property name from the Odata EDM: CndnContrSettlmtType
@Nullable public String getCndnContrChangeability()
Original property name from the Odata EDM: CndnContrChangeability
@Nullable public String getCndnContrPrtlSettlmtCat()
Original property name from the Odata EDM: CndnContrPrtlSettlmtCat
@Nonnull public String toString()
toString
in class VdmObject<CndnContrType>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CndnContrType>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CndnContrType>
public int hashCode()
hashCode
in class VdmObject<CndnContrType>
Copyright © 2021 SAP SE. All rights reserved.