public class C_TRIALBALANCEParameters extends VdmEntity<C_TRIALBALANCEParameters>
Modifier and Type | Class and Description |
---|---|
static class |
C_TRIALBALANCEParameters.C_TRIALBALANCEParametersBuilder |
Modifier and Type | Field and Description |
---|---|
static C_TRIALBALANCEParametersSelectable |
ALL_FIELDS
Selector for all available fields of C_TRIALBALANCEParameters.
|
static C_TRIALBALANCEParametersField<Calendar> |
P_FROM_POSTING_DATE
Use with available fluent helpers to apply the P_FromPostingDate field to query operations.
|
static C_TRIALBALANCEParametersField<String> |
P_FROM_POSTING_DATE_TEXT
Use with available fluent helpers to apply the P_FromPostingDateText field to query operations.
|
static C_TRIALBALANCEParametersField<Calendar> |
P_TO_POSTING_DATE
Use with available fluent helpers to apply the P_ToPostingDate field to query operations.
|
static C_TRIALBALANCEParametersField<String> |
P_TO_POSTING_DATE_TEXT
Use with available fluent helpers to apply the P_ToPostingDateText field to query operations.
|
static C_TRIALBALANCEParametersLink<C_TRIALBALANCEResult> |
TO_RESULTS
Use with available fluent helpers to apply the Results navigation property to query operations.
|
Constructor and Description |
---|
C_TRIALBALANCEParameters() |
C_TRIALBALANCEParameters(Calendar p_FromPostingDate,
String p_FromPostingDateText,
Calendar p_ToPostingDate,
String p_ToPostingDateText,
ErpConfigContext erpConfigContext,
List<C_TRIALBALANCEResult> toResults) |
Modifier and Type | Method and Description |
---|---|
void |
addResults(C_TRIALBALANCEResult... entity)
Adds elements to the list of associated C_TRIALBALANCEResult entities.
|
static C_TRIALBALANCEParameters.C_TRIALBALANCEParametersBuilder |
builder() |
boolean |
equals(Object o) |
List<C_TRIALBALANCEResult> |
fetchResults()
Fetches the C_TRIALBALANCEResult entities (one to many) associated with this entity.
|
static <T> C_TRIALBALANCEParametersField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Calendar |
getP_FromPostingDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
String |
getP_FromPostingDateText()
Constraints: Not nullable, Maximum length: 60
|
Calendar |
getP_ToPostingDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
String |
getP_ToPostingDateText()
Constraints: Not nullable, Maximum length: 60
|
List<C_TRIALBALANCEResult> |
getResultsOrFetch()
Retrieval of associated C_TRIALBALANCEResult entities (one to many).
|
com.google.common.base.Optional<List<C_TRIALBALANCEResult>> |
getResultsOrNull()
Retrieval of associated C_TRIALBALANCEResult entities (one to many).
|
Class<C_TRIALBALANCEParameters> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setP_FromPostingDate(Calendar p_FromPostingDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setP_FromPostingDateText(String p_FromPostingDateText)
Constraints: Not nullable, Maximum length: 60
|
void |
setP_ToPostingDate(Calendar p_ToPostingDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setP_ToPostingDateText(String p_ToPostingDateText)
Constraints: Not nullable, Maximum length: 60
|
void |
setResults(List<C_TRIALBALANCEResult> value)
Overwrites the list of associated C_TRIALBALANCEResult entities for the loaded navigation property Results.
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final C_TRIALBALANCEParametersSelectable ALL_FIELDS
public static final C_TRIALBALANCEParametersField<Calendar> P_FROM_POSTING_DATE
public static final C_TRIALBALANCEParametersField<String> P_FROM_POSTING_DATE_TEXT
public static final C_TRIALBALANCEParametersField<Calendar> P_TO_POSTING_DATE
public static final C_TRIALBALANCEParametersField<String> P_TO_POSTING_DATE_TEXT
public static final C_TRIALBALANCEParametersLink<C_TRIALBALANCEResult> TO_RESULTS
@Generated(value="lombok") public C_TRIALBALANCEParameters()
@ConstructorProperties(value={"p_FromPostingDate","p_FromPostingDateText","p_ToPostingDate","p_ToPostingDateText","erpConfigContext","toResults"}) @Generated(value="lombok") public C_TRIALBALANCEParameters(@Nullable Calendar p_FromPostingDate, @Nullable String p_FromPostingDateText, @Nullable Calendar p_ToPostingDate, @Nullable String p_ToPostingDateText, @Nullable ErpConfigContext erpConfigContext, List<C_TRIALBALANCEResult> toResults)
public Class<C_TRIALBALANCEParameters> getType()
getType
in class VdmObject<C_TRIALBALANCEParameters>
public static <T> C_TRIALBALANCEParametersField<T> field(String fieldName, Class<T> fieldType)
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.public List<C_TRIALBALANCEResult> fetchResults() 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.public List<C_TRIALBALANCEResult> getResultsOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property Results of a queried C_TRIALBALANCEParameters 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.public com.google.common.base.Optional<List<C_TRIALBALANCEResult>> getResultsOrNull()
If the navigation property Results for an entity C_TRIALBALANCEParameters has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setResults(@NonNull List<C_TRIALBALANCEResult> value)
If the navigation property Results of a queried C_TRIALBALANCEParameters 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 C_TRIALBALANCEResult entities.public void addResults(C_TRIALBALANCEResult... entity)
If the navigation property Results of a queried C_TRIALBALANCEParameters 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 C_TRIALBALANCEResult entities.@Generated(value="lombok") public static C_TRIALBALANCEParameters.C_TRIALBALANCEParametersBuilder builder()
@Nullable @Generated(value="lombok") public Calendar getP_FromPostingDate()
@Nullable @Generated(value="lombok") public String getP_FromPostingDateText()
@Nullable @Generated(value="lombok") public Calendar getP_ToPostingDate()
@Nullable @Generated(value="lombok") public String getP_ToPostingDateText()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setP_FromPostingDate(@Nullable Calendar p_FromPostingDate)
p_FromPostingDate
- @Generated(value="lombok") public void setP_FromPostingDateText(@Nullable String p_FromPostingDateText)
p_FromPostingDateText
- @Generated(value="lombok") public void setP_ToPostingDate(@Nullable Calendar p_ToPostingDate)
p_ToPostingDate
- @Generated(value="lombok") public void setP_ToPostingDateText(@Nullable String p_ToPostingDateText)
p_ToPostingDateText
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<C_TRIALBALANCEParameters>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<C_TRIALBALANCEParameters>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<C_TRIALBALANCEParameters>
Copyright © 2018 SAP SE. All rights reserved.