Class PostingKeyField<FieldT>
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.EntityField<PostingKey,FieldT>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.field.PostingKeyField<FieldT>
- Type Parameters:
FieldT- Field type
- All Implemented Interfaces:
EntitySelectable<PostingKey>,PostingKeySelectable
public class PostingKeyField<FieldT>
extends EntityField<PostingKey,FieldT>
implements PostingKeySelectable
Template class to represent entity fields of the Entity
PostingKey. Instances of this
object are used in query modifier methods of the entity fluent helpers. Contains methods to compare a field's value
with a provided value.
Use the constants declared in each entity inner class. Instantiating directly requires knowing the underlying OData
field names, so use the constructor with caution.-
Constructor Summary
ConstructorsConstructorDescriptionPostingKeyField(String fieldName) Use the constants declared in each entity inner class.PostingKeyField(String fieldName, TypeConverter<FieldT, ?> typeConverter) Use the constants declared in each entity inner class. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.EntityField
canEqual, endsWith, eq, eqNull, equals, ge, getFieldName, getTypeConverter, gt, hashCode, le, lt, ne, neNull, startsWith, substringOfMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.EntitySelectable
getFieldName, getSelections
-
Constructor Details
-
PostingKeyField
Use the constants declared in each entity inner class. Instantiating directly requires knowing the underlying OData field names, so use with caution.- Parameters:
fieldName- OData field name. Must match the field returned by the underlying OData service.
-
PostingKeyField
Use the constants declared in each entity inner class. Instantiating directly requires knowing the underlying OData field names, so use with caution.When creating instances for custom fields, this constructor can be used to add a type converter that will be automatically used by the respective entity when getting or setting custom fields.- Parameters:
typeConverter- An implementation of a TypeConverter. The first type must match FieldT, the second type must match the type Olingo returns.fieldName- OData field name. Must match the field returned by the underlying OData service.
-