public class ProductClass extends Entity<ProductClass>
Modifier and Type | Class and Description |
---|---|
static class |
ProductClass.ProductClassBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<ProductClass,String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static EntityField<ProductClass,String> |
CLASS_INTERNAL_ID
Use with available fluent helpers to apply the ClassInternalID field to query operations.
|
static EntityField<ProductClass,String> |
CLASS_TYPE
Use with available fluent helpers to apply the ClassType field to query operations.
|
static EntityField<ProductClass,Calendar> |
KEY_DATE
Use with available fluent helpers to apply the KeyDate field to query operations.
|
static EntityField<ProductClass,String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
Constructor and Description |
---|
ProductClass() |
ProductClass(String product,
String classInternalID,
Calendar keyDate,
String changeNumber,
String classType,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductClass.ProductClassBuilder |
builder() |
boolean |
equals(Object o) |
List<ProductClassCharc> |
fetchCharacteristics()
Fetches the ProductClassCharc entities (one to many) associated with this entity.
|
ClfnClassForKeyDate |
fetchClassDetails()
Fetches the ClfnClassForKeyDate entity (one to one) associated with this entity.
|
static <T> EntityField<ProductClass,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getClassInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getClassType()
Constraints: Not nullable, Maximum length: 3
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Calendar |
getKeyDate()
Constraints: Not nullable, Precision: 0
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 90
|
Class<ProductClass> |
getType() |
int |
hashCode() |
void |
setChangeNumber(String changeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setClassInternalID(String classInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setClassType(String classType)
Constraints: Not nullable, Maximum length: 3
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setKeyDate(Calendar keyDate)
Constraints: Not nullable, Precision: 0
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 90
|
String |
toString() |
public static final EntityField<ProductClass,String> PRODUCT
public static final EntityField<ProductClass,String> CLASS_INTERNAL_ID
public static final EntityField<ProductClass,Calendar> KEY_DATE
public static final EntityField<ProductClass,String> CHANGE_NUMBER
public static final EntityField<ProductClass,String> CLASS_TYPE
@Generated(value="lombok") public ProductClass()
@ConstructorProperties(value={"product","classInternalID","keyDate","changeNumber","classType","erpConfigContext"}) @Generated(value="lombok") public ProductClass(@Nullable String product, @Nullable String classInternalID, @Nullable Calendar keyDate, @Nullable String changeNumber, @Nullable String classType, ErpConfigContext erpConfigContext)
public Class<ProductClass> getType()
getType
in class Entity<ProductClass>
public static <T> EntityField<ProductClass,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<ProductClassCharc> fetchCharacteristics() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
public ClfnClassForKeyDate fetchClassDetails() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static ProductClass.ProductClassBuilder builder()
@Nullable @Generated(value="lombok") public String getProduct()
@Nullable @Generated(value="lombok") public String getClassInternalID()
@Nullable @Generated(value="lombok") public Calendar getKeyDate()
@Nullable @Generated(value="lombok") public String getChangeNumber()
If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal: The system determines the validity conditions The conditions that the change is effective under can be defined in the change master record as follows: Changes with a date validity (valid-from date) Changes with parameter effectivity (for example: serial no. effectivity) Log of the changes made Documentation of the changes Assignment of a revision level to a change state of a material or document Release of changes for the different areas in the company
@Nullable @Generated(value="lombok") public String getClassType()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setProduct(@Nullable String product)
product
- @Generated(value="lombok") public void setClassInternalID(@Nullable String classInternalID)
classInternalID
- @Generated(value="lombok") public void setKeyDate(@Nullable Calendar keyDate)
keyDate
- @Generated(value="lombok") public void setChangeNumber(@Nullable String changeNumber)
If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal: The system determines the validity conditions The conditions that the change is effective under can be defined in the change master record as follows: Changes with a date validity (valid-from date) Changes with parameter effectivity (for example: serial no. effectivity) Log of the changes made Documentation of the changes Assignment of a revision level to a change state of a material or document Release of changes for the different areas in the company
changeNumber
- @Generated(value="lombok") public void setClassType(@Nullable String classType)
classType
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<ProductClass>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<ProductClass>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<ProductClass>
Copyright © 2017 SAP SE. All rights reserved.