public class DefectCategory extends Entity<DefectCategory>
Modifier and Type | Class and Description |
---|---|
static class |
DefectCategory.DefectCategoryBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<DefectCategory,String> |
DEFECT_CATEGORY
Use with available fluent helpers to apply the DefectCategory field to query operations.
|
Constructor and Description |
---|
DefectCategory() |
DefectCategory(String defectCategory,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static DefectCategory.DefectCategoryBuilder |
builder() |
boolean |
equals(Object o) |
List<DefectCategoryText> |
fetchText()
Fetches the DefectCategoryText entities (one to many) associated with this entity.
|
static <T> EntityField<DefectCategory,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getDefectCategory()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Class<DefectCategory> |
getType() |
int |
hashCode() |
void |
setDefectCategory(String defectCategory)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
toString() |
public static final EntityField<DefectCategory,String> DEFECT_CATEGORY
@Generated(value="lombok") public DefectCategory()
@ConstructorProperties(value={"defectCategory","erpConfigContext"}) @Generated(value="lombok") public DefectCategory(@Nullable String defectCategory, ErpConfigContext erpConfigContext)
public Class<DefectCategory> getType()
getType
in class Entity<DefectCategory>
public static <T> EntityField<DefectCategory,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<DefectCategoryText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static DefectCategory.DefectCategoryBuilder builder()
@Nullable @Generated(value="lombok") public String getDefectCategory()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setDefectCategory(@Nullable String defectCategory)
defectCategory
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<DefectCategory>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<DefectCategory>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<DefectCategory>
Copyright © 2017 SAP SE. All rights reserved.