Modifier and Type | Class and Description |
---|---|
static class |
Segment.SegmentBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<Segment,String> |
SEGMENT
Use with available fluent helpers to apply the Segment field to query operations.
|
Constructor and Description |
---|
Segment() |
Segment(String segment,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static Segment.SegmentBuilder |
builder() |
boolean |
equals(Object o) |
List<SegmentText> |
fetchText()
Fetches the SegmentText entities (one to many) associated with this entity.
|
static <T> EntityField<Segment,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.
|
String |
getSegment()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<Segment> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setSegment(String segment)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
toString() |
public static final EntityField<Segment,String> SEGMENT
@Generated(value="lombok") public Segment()
@ConstructorProperties(value={"segment","erpConfigContext"}) @Generated(value="lombok") public Segment(@Nullable String segment, ErpConfigContext erpConfigContext)
public static <T> EntityField<Segment,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<SegmentText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static Segment.SegmentBuilder builder()
@Nullable @Generated(value="lombok") public String getSegment()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setSegment(@Nullable String segment)
segment
- @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.