public class SalesPricingAccessSequence extends VdmEntity<SalesPricingAccessSequence> implements VdmEntitySet
Original entity name from the Odata EDM: SalesPricingAccessSequenceType
Modifier and Type | Class and Description |
---|---|
static class |
SalesPricingAccessSequence.SalesPricingAccessSequenceBuilder
Helper class to allow for fluent creation of SalesPricingAccessSequence instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty.String<SalesPricingAccessSequence> |
ACCESS_SEQUENCE |
static SimpleProperty<SalesPricingAccessSequence> |
ALL_FIELDS
Selector for all available fields of SalesPricingAccessSequence.
|
static SimpleProperty.String<SalesPricingAccessSequence> |
CONDITION_APPLICATION |
static SimpleProperty.String<SalesPricingAccessSequence> |
CONDITION_USAGE |
static NavigationProperty.Collection<SalesPricingAccessSequence,SalesPricingAccess> |
TO__SALES_PRICING_ACCESS
Use with available request builders to apply the _SalesPricingAccess navigation property to query
operations.
|
static NavigationProperty.Collection<SalesPricingAccessSequence,SlsPricingAccessSequenceText> |
TO__TEXT
Use with available request builders to apply the _Text navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
SalesPricingAccessSequence() |
SalesPricingAccessSequence(String conditionUsage,
String conditionApplication,
String accessSequence,
List<SalesPricingAccess> to_SalesPricingAccess,
List<SlsPricingAccessSequenceText> to_Text) |
Modifier and Type | Method and Description |
---|---|
void |
addSalesPricingAccess(SalesPricingAccess... entity)
Adds elements to the list of associated SalesPricingAccess entities.
|
void |
addText(SlsPricingAccessSequenceText... entity)
Adds elements to the list of associated SlsPricingAccessSequenceText entities.
|
static SalesPricingAccessSequence.SalesPricingAccessSequenceBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
String |
getAccessSequence()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getConditionApplication()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getConditionUsage()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
io.vavr.control.Option<List<SalesPricingAccess>> |
getSalesPricingAccessIfPresent()
Retrieval of associated SalesPricingAccess entities (one to many).
|
io.vavr.control.Option<List<SlsPricingAccessSequenceText>> |
getTextIfPresent()
Retrieval of associated SlsPricingAccessSequenceText entities (one to many).
|
Class<SalesPricingAccessSequence> |
getType() |
int |
hashCode() |
void |
setAccessSequence(String accessSequence)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setConditionApplication(String conditionApplication)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setConditionUsage(String conditionUsage)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setSalesPricingAccess(List<SalesPricingAccess> value)
Overwrites the list of associated SalesPricingAccess entities for the loaded navigation property
_SalesPricingAccess.
|
void |
setText(List<SlsPricingAccessSequenceText> value)
Overwrites the list of associated SlsPricingAccessSequenceText entities for the loaded navigation property
_Text.
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<SalesPricingAccessSequence> ALL_FIELDS
public static final SimpleProperty.String<SalesPricingAccessSequence> CONDITION_USAGE
public static final SimpleProperty.String<SalesPricingAccessSequence> CONDITION_APPLICATION
public static final SimpleProperty.String<SalesPricingAccessSequence> ACCESS_SEQUENCE
public static final NavigationProperty.Collection<SalesPricingAccessSequence,SalesPricingAccess> TO__SALES_PRICING_ACCESS
public static final NavigationProperty.Collection<SalesPricingAccessSequence,SlsPricingAccessSequenceText> TO__TEXT
public SalesPricingAccessSequence()
public SalesPricingAccessSequence(@Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String accessSequence, List<SalesPricingAccess> to_SalesPricingAccess, List<SlsPricingAccessSequenceText> to_Text)
@Nonnull public Class<SalesPricingAccessSequence> getType()
getType
in class VdmObject<SalesPricingAccessSequence>
public void setConditionUsage(@Nullable String conditionUsage)
Original property name from the Odata EDM: ConditionUsage
conditionUsage
- Usage of the condition tablepublic void setConditionApplication(@Nullable String conditionApplication)
Original property name from the Odata EDM: ConditionApplication
conditionApplication
- Applicationpublic void setAccessSequence(@Nullable String accessSequence)
Original property name from the Odata EDM: AccessSequence
accessSequence
- Access sequenceprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SalesPricingAccessSequence>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<SalesPricingAccessSequence>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<SalesPricingAccessSequence>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<SalesPricingAccessSequence>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SalesPricingAccessSequence>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<SalesPricingAccessSequence>
@Nonnull public io.vavr.control.Option<List<SalesPricingAccess>> getSalesPricingAccessIfPresent()
If the navigation property for an entity SalesPricingAccessSequence 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 setSalesPricingAccess(@Nonnull List<SalesPricingAccess> value)
If the navigation property _SalesPricingAccess of a queried SalesPricingAccessSequence 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 SalesPricingAccess entities.public void addSalesPricingAccess(SalesPricingAccess... entity)
If the navigation property _SalesPricingAccess of a queried SalesPricingAccessSequence 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 SalesPricingAccess entities.@Nonnull public io.vavr.control.Option<List<SlsPricingAccessSequenceText>> getTextIfPresent()
If the navigation property for an entity SalesPricingAccessSequence 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 setText(@Nonnull List<SlsPricingAccessSequenceText> value)
If the navigation property _Text of a queried SalesPricingAccessSequence 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 SlsPricingAccessSequenceText entities.public void addText(SlsPricingAccessSequenceText... entity)
If the navigation property _Text of a queried SalesPricingAccessSequence 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 SlsPricingAccessSequenceText entities.@Nonnull public static SalesPricingAccessSequence.SalesPricingAccessSequenceBuilder builder()
@Nullable public String getConditionUsage()
Original property name from the Odata EDM: ConditionUsage
@Nullable public String getConditionApplication()
Original property name from the Odata EDM: ConditionApplication
@Nullable public String getAccessSequence()
Original property name from the Odata EDM: AccessSequence
@Nonnull public String toString()
toString
in class VdmObject<SalesPricingAccessSequence>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<SalesPricingAccessSequence>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<SalesPricingAccessSequence>
public int hashCode()
hashCode
in class VdmEntity<SalesPricingAccessSequence>
public String getOdataType()
getOdataType
in class VdmObject<SalesPricingAccessSequence>
Copyright © 2021 SAP SE. All rights reserved.