public class ReturnDataSet extends VdmEntity<ReturnDataSet>
Original entity name from the Odata EDM: ReturnDataSet
Modifier and Type | Class and Description |
---|---|
static class |
ReturnDataSet.ReturnDataSetBuilder |
Modifier and Type | Field and Description |
---|---|
static ReturnDataSetSelectable |
ALL_FIELDS
Selector for all available fields of ReturnDataSet.
|
static ReturnDataSetField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the Company_Code field to query operations.
|
static ReturnDataSetField<String> |
DOCUMENT_REF
Use with available fluent helpers to apply the Document_Ref field to query operations.
|
static ReturnDataSetField<String> |
ERROR_MSG
Use with available fluent helpers to apply the Error_Msg field to query operations.
|
static ReturnDataSetField<String> |
LEDGER
Use with available fluent helpers to apply the Ledger field to query operations.
|
static ReturnDataSetField<String> |
SUCCESS_STATUS
Use with available fluent helpers to apply the Success_Status field to query operations.
|
static ReturnDataSetField<String> |
WBSELEMENT_ID
Use with available fluent helpers to apply the Wbselement_ID field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ReturnDataSet() |
ReturnDataSet(String wbselement_ID,
String company_Code,
String ledger,
String success_Status,
String document_Ref,
String error_Msg) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ReturnDataSet.ReturnDataSetBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ReturnDataSetField<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 |
getCompany_Code()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
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.
|
String |
getDocument_Ref()
(Key Field) Constraints: Not nullable
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getError_Msg()
(Key Field) Constraints: Not nullable
|
protected Map<String,Object> |
getKey() |
String |
getLedger()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getSuccess_Status()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
Class<ReturnDataSet> |
getType() |
String |
getWbselement_ID()
(Key Field) Constraints: Not nullable, Maximum length: 24
|
int |
hashCode() |
void |
setCompany_Code(String company_Code)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setDocument_Ref(String document_Ref)
(Key Field) Constraints: Not nullable
|
void |
setError_Msg(String error_Msg)
(Key Field) Constraints: Not nullable
|
void |
setLedger(String ledger)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSuccess_Status(String success_Status)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setWbselement_ID(String wbselement_ID)
(Key Field) Constraints: Not nullable, Maximum length: 24
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ReturnDataSetSelectable ALL_FIELDS
public static final ReturnDataSetField<String> WBSELEMENT_ID
public static final ReturnDataSetField<String> COMPANY_CODE
public static final ReturnDataSetField<String> LEDGER
public static final ReturnDataSetField<String> SUCCESS_STATUS
public static final ReturnDataSetField<String> DOCUMENT_REF
public static final ReturnDataSetField<String> ERROR_MSG
@Nonnull public Class<ReturnDataSet> getType()
getType
in class VdmObject<ReturnDataSet>
public void setWbselement_ID(@Nullable String wbselement_ID)
Original property name from the Odata EDM: Wbselement_ID
wbselement_ID
- Key identifying a WBS element.public void setCompany_Code(@Nullable String company_Code)
Original property name from the Odata EDM: Company_Code
company_Code
- The company code is an organizational unit within financial accounting.public void setLedger(@Nullable String ledger)
Original property name from the Odata EDM: Ledger
ledger
- The unique identification of a special ledger.public void setSuccess_Status(@Nullable String success_Status)
Original property name from the Odata EDM: Success_Status
success_Status
- Success statuspublic void setDocument_Ref(@Nullable String document_Ref)
Original property name from the Odata EDM: Document_Ref
document_Ref
- FINS EBRR Stringpublic void setError_Msg(@Nullable String error_Msg)
Original property name from the Odata EDM: Error_Msg
error_Msg
- FINS EBRR Stringprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ReturnDataSet>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ReturnDataSet>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ReturnDataSet>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ReturnDataSet>
@Nonnull public static <T> ReturnDataSetField<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> ReturnDataSetField<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<ReturnDataSet>
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<ReturnDataSet>
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<ReturnDataSet>
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<ReturnDataSet>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ReturnDataSet.ReturnDataSetBuilder builder()
@Nullable public String getWbselement_ID()
Original property name from the Odata EDM: Wbselement_ID
@Nullable public String getCompany_Code()
Original property name from the Odata EDM: Company_Code
@Nullable public String getLedger()
Original property name from the Odata EDM: Ledger
@Nullable public String getSuccess_Status()
Original property name from the Odata EDM: Success_Status
@Nullable public String getDocument_Ref()
Original property name from the Odata EDM: Document_Ref
@Nullable public String getError_Msg()
Original property name from the Odata EDM: Error_Msg
@Nonnull public String toString()
toString
in class VdmObject<ReturnDataSet>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ReturnDataSet>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ReturnDataSet>
public int hashCode()
hashCode
in class VdmObject<ReturnDataSet>
Copyright © 2021 SAP SE. All rights reserved.