Modifier and Type | Class and Description |
---|---|
static class |
Ledger.LedgerBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<Ledger,Boolean> |
IS_LEADING_LEDGER
Use with available fluent helpers to apply the IsLeadingLedger field to query operations.
|
static EntityField<Ledger,String> |
LEDGER
Use with available fluent helpers to apply the Ledger field to query operations.
|
static EntityField<Ledger,String> |
LEDGER_APPLICATION
Use with available fluent helpers to apply the LedgerApplication field to query operations.
|
static EntityField<Ledger,String> |
LEDGER_SUB_APPLICATION
Use with available fluent helpers to apply the LedgerSubApplication field to query operations.
|
Constructor and Description |
---|
Ledger() |
Ledger(String ledger,
Boolean isLeadingLedger,
String ledgerApplication,
String ledgerSubApplication,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static Ledger.LedgerBuilder |
builder() |
boolean |
equals(Object o) |
List<LedgerText> |
fetchText()
Fetches the LedgerText entities (one to many) associated with this entity.
|
static <T> EntityField<Ledger,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.
|
Boolean |
getIsLeadingLedger()
Constraints: none
|
String |
getLedger()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getLedgerApplication()
Constraints: Not nullable, Maximum length: 2
|
String |
getLedgerSubApplication()
Constraints: Not nullable, Maximum length: 3
|
Class<Ledger> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setIsLeadingLedger(Boolean isLeadingLedger)
Constraints: none
|
void |
setLedger(String ledger)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setLedgerApplication(String ledgerApplication)
Constraints: Not nullable, Maximum length: 2
|
void |
setLedgerSubApplication(String ledgerSubApplication)
Constraints: Not nullable, Maximum length: 3
|
String |
toString() |
public static final EntityField<Ledger,String> LEDGER
public static final EntityField<Ledger,Boolean> IS_LEADING_LEDGER
public static final EntityField<Ledger,String> LEDGER_APPLICATION
public static final EntityField<Ledger,String> LEDGER_SUB_APPLICATION
@Generated(value="lombok") public Ledger()
@ConstructorProperties(value={"ledger","isLeadingLedger","ledgerApplication","ledgerSubApplication","erpConfigContext"}) @Generated(value="lombok") public Ledger(@Nullable String ledger, @Nullable Boolean isLeadingLedger, @Nullable String ledgerApplication, @Nullable String ledgerSubApplication, ErpConfigContext erpConfigContext)
public static <T> EntityField<Ledger,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<LedgerText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static Ledger.LedgerBuilder builder()
@Nullable @Generated(value="lombok") public String getLedger()
@Nullable @Generated(value="lombok") public Boolean getIsLeadingLedger()
You must designate one of your ledgers as the leading ledger. However, it is not possible to designate more than one ledger as the leading ledger. Caution: As soon as the leading ledger contains transaction data, the Leading indicator can no longer be deselected.
@Nullable @Generated(value="lombok") public String getLedgerApplication()
@Nullable @Generated(value="lombok") public String getLedgerSubApplication()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setLedger(@Nullable String ledger)
ledger
- @Generated(value="lombok") public void setIsLeadingLedger(@Nullable Boolean isLeadingLedger)
You must designate one of your ledgers as the leading ledger. However, it is not possible to designate more than one ledger as the leading ledger. Caution: As soon as the leading ledger contains transaction data, the Leading indicator can no longer be deselected.
isLeadingLedger
- @Generated(value="lombok") public void setLedgerApplication(@Nullable String ledgerApplication)
ledgerApplication
- @Generated(value="lombok") public void setLedgerSubApplication(@Nullable String ledgerSubApplication)
ledgerSubApplication
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
Copyright © 2017 SAP SE. All rights reserved.