public class ProductCharcValue extends VdmEntity<ProductCharcValue>
Modifier and Type | Class and Description |
---|---|
static class |
ProductCharcValue.ProductCharcValueBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductCharcValueSelectable |
ALL_FIELDS
Selector for all available fields of ProductCharcValue.
|
static ProductCharcValueField<String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static ProductCharcValueField<String> |
CHARACTERISTIC_AUTHOR
Use with available fluent helpers to apply the CharacteristicAuthor field to query operations.
|
static ProductCharcValueField<BigDecimal> |
CHARC_FROM_AMOUNT
Use with available fluent helpers to apply the CharcFromAmount field to query operations.
|
static ProductCharcValueField<Calendar> |
CHARC_FROM_DATE
Use with available fluent helpers to apply the CharcFromDate field to query operations.
|
static ProductCharcValueField<BigDecimal> |
CHARC_FROM_DECIMAL_VALUE
Use with available fluent helpers to apply the CharcFromDecimalValue field to query operations.
|
static ProductCharcValueField<Double> |
CHARC_FROM_NUMERIC_VALUE
Use with available fluent helpers to apply the CharcFromNumericValue field to query operations.
|
static ProductCharcValueField<String> |
CHARC_FROM_NUMERIC_VALUE_UNIT
Use with available fluent helpers to apply the CharcFromNumericValueUnit field to query operations.
|
static ProductCharcValueField<Calendar> |
CHARC_FROM_TIME
Use with available fluent helpers to apply the CharcFromTime field to query operations.
|
static ProductCharcValueField<String> |
CHARC_INTERNAL_ID
Use with available fluent helpers to apply the CharcInternalID field to query operations.
|
static ProductCharcValueField<BigDecimal> |
CHARC_TO_AMOUNT
Use with available fluent helpers to apply the CharcToAmount field to query operations.
|
static ProductCharcValueField<Calendar> |
CHARC_TO_DATE
Use with available fluent helpers to apply the CharcToDate field to query operations.
|
static ProductCharcValueField<BigDecimal> |
CHARC_TO_DECIMAL_VALUE
Use with available fluent helpers to apply the CharcToDecimalValue field to query operations.
|
static ProductCharcValueField<Double> |
CHARC_TO_NUMERIC_VALUE
Use with available fluent helpers to apply the CharcToNumericValue field to query operations.
|
static ProductCharcValueField<String> |
CHARC_TO_NUMERIC_VALUE_UNIT
Use with available fluent helpers to apply the CharcToNumericValueUnit field to query operations.
|
static ProductCharcValueField<Calendar> |
CHARC_TO_TIME
Use with available fluent helpers to apply the CharcToTime field to query operations.
|
static ProductCharcValueField<String> |
CHARC_VALUE
Use with available fluent helpers to apply the CharcValue field to query operations.
|
static ProductCharcValueField<String> |
CHARC_VALUE_DEPENDENCY
Use with available fluent helpers to apply the CharcValueDependency field to query operations.
|
static ProductCharcValueField<String> |
CHARC_VALUE_POSITION_NUMBER
Use with available fluent helpers to apply the CharcValuePositionNumber field to query operations.
|
static ProductCharcValueField<String> |
CLASS_TYPE
Use with available fluent helpers to apply the ClassType field to query operations.
|
static ProductCharcValueField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ProductCharcValueField<Calendar> |
KEY_DATE
Use with available fluent helpers to apply the KeyDate field to query operations.
|
static ProductCharcValueField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
Constructor and Description |
---|
ProductCharcValue() |
ProductCharcValue(String product,
String classType,
String charcInternalID,
String charcValuePositionNumber,
Calendar keyDate,
String changeNumber,
String charcValueDependency,
String charcValue,
Double charcFromNumericValue,
String charcFromNumericValueUnit,
Double charcToNumericValue,
String charcToNumericValueUnit,
BigDecimal charcFromDecimalValue,
BigDecimal charcToDecimalValue,
BigDecimal charcFromAmount,
BigDecimal charcToAmount,
String currency,
Calendar charcFromDate,
Calendar charcToDate,
Calendar charcFromTime,
Calendar charcToTime,
String characteristicAuthor,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductCharcValue.ProductCharcValueBuilder |
builder() |
boolean |
equals(Object o) |
static <T> ProductCharcValueField<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 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
|
String |
getCharacteristicAuthor()
Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getCharcFromAmount()
Constraints: Not nullable, Precision: 24, Scale: 3
|
Calendar |
getCharcFromDate()
Constraints: Not nullable, Precision: 0
|
BigDecimal |
getCharcFromDecimalValue()
Constraints: Not nullable, Precision: 31, Scale: 14
|
Double |
getCharcFromNumericValue()
Constraints: none
|
String |
getCharcFromNumericValueUnit()
Constraints: Not nullable, Maximum length: 3 This format is used for internal processing.
|
Calendar |
getCharcFromTime()
Constraints: Not nullable, Precision: 0
|
String |
getCharcInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
BigDecimal |
getCharcToAmount()
Constraints: Not nullable, Precision: 24, Scale: 3
|
Calendar |
getCharcToDate()
Constraints: Not nullable, Precision: 0
|
BigDecimal |
getCharcToDecimalValue()
Constraints: Not nullable, Precision: 31, Scale: 14
|
Double |
getCharcToNumericValue()
Constraints: none
|
String |
getCharcToNumericValueUnit()
Constraints: Not nullable, Maximum length: 3 This format is used for internal processing.
|
Calendar |
getCharcToTime()
Constraints: Not nullable, Precision: 0
|
String |
getCharcValue()
Constraints: Not nullable, Maximum length: 70 If the characteristic has character format (CHAR), this field contains a single character string.
|
String |
getCharcValueDependency()
Constraints: Not nullable, Maximum length: 1 Example: 1.54>-<2.088
The coding of the individual possible entries is described below.
|
String |
getCharcValuePositionNumber()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getClassType()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
Calendar |
getKeyDate()
Constraints: Not nullable, Precision: 0
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 90
|
Class<ProductCharcValue> |
getType() |
int |
hashCode() |
void |
setChangeNumber(String changeNumber)
Constraints: Not nullable, Maximum length: 12 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
|
void |
setCharacteristicAuthor(String characteristicAuthor)
Constraints: Not nullable, Maximum length: 1
|
void |
setCharcFromAmount(BigDecimal charcFromAmount)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setCharcFromDate(Calendar charcFromDate)
Constraints: Not nullable, Precision: 0
|
void |
setCharcFromDecimalValue(BigDecimal charcFromDecimalValue)
Constraints: Not nullable, Precision: 31, Scale: 14
|
void |
setCharcFromNumericValue(Double charcFromNumericValue)
Constraints: none
|
void |
setCharcFromNumericValueUnit(String charcFromNumericValueUnit)
Constraints: Not nullable, Maximum length: 3 This format is used for internal processing.
|
void |
setCharcFromTime(Calendar charcFromTime)
Constraints: Not nullable, Precision: 0
|
void |
setCharcInternalID(String charcInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCharcToAmount(BigDecimal charcToAmount)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setCharcToDate(Calendar charcToDate)
Constraints: Not nullable, Precision: 0
|
void |
setCharcToDecimalValue(BigDecimal charcToDecimalValue)
Constraints: Not nullable, Precision: 31, Scale: 14
|
void |
setCharcToNumericValue(Double charcToNumericValue)
Constraints: none
|
void |
setCharcToNumericValueUnit(String charcToNumericValueUnit)
Constraints: Not nullable, Maximum length: 3 This format is used for internal processing.
|
void |
setCharcToTime(Calendar charcToTime)
Constraints: Not nullable, Precision: 0
|
void |
setCharcValue(String charcValue)
Constraints: Not nullable, Maximum length: 70 If the characteristic has character format (CHAR), this field contains a single character string.
|
void |
setCharcValueDependency(String charcValueDependency)
Constraints: Not nullable, Maximum length: 1 Example: 1.54>-<2.088
The coding of the individual possible entries is described below.
|
void |
setCharcValuePositionNumber(String charcValuePositionNumber)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setClassType(String classType)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setKeyDate(Calendar keyDate)
Constraints: Not nullable, Precision: 0
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 90
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final ProductCharcValueSelectable ALL_FIELDS
public static final ProductCharcValueField<String> PRODUCT
public static final ProductCharcValueField<String> CLASS_TYPE
public static final ProductCharcValueField<String> CHARC_INTERNAL_ID
public static final ProductCharcValueField<String> CHARC_VALUE_POSITION_NUMBER
public static final ProductCharcValueField<Calendar> KEY_DATE
public static final ProductCharcValueField<String> CHANGE_NUMBER
public static final ProductCharcValueField<String> CHARC_VALUE_DEPENDENCY
public static final ProductCharcValueField<String> CHARC_VALUE
public static final ProductCharcValueField<Double> CHARC_FROM_NUMERIC_VALUE
public static final ProductCharcValueField<String> CHARC_FROM_NUMERIC_VALUE_UNIT
public static final ProductCharcValueField<Double> CHARC_TO_NUMERIC_VALUE
public static final ProductCharcValueField<String> CHARC_TO_NUMERIC_VALUE_UNIT
public static final ProductCharcValueField<BigDecimal> CHARC_FROM_DECIMAL_VALUE
public static final ProductCharcValueField<BigDecimal> CHARC_TO_DECIMAL_VALUE
public static final ProductCharcValueField<BigDecimal> CHARC_FROM_AMOUNT
public static final ProductCharcValueField<BigDecimal> CHARC_TO_AMOUNT
public static final ProductCharcValueField<String> CURRENCY
public static final ProductCharcValueField<Calendar> CHARC_FROM_DATE
public static final ProductCharcValueField<Calendar> CHARC_TO_DATE
public static final ProductCharcValueField<Calendar> CHARC_FROM_TIME
public static final ProductCharcValueField<Calendar> CHARC_TO_TIME
public static final ProductCharcValueField<String> CHARACTERISTIC_AUTHOR
public ProductCharcValue()
public ProductCharcValue(@Nullable String product, @Nullable String classType, @Nullable String charcInternalID, @Nullable String charcValuePositionNumber, @Nullable Calendar keyDate, @Nullable String changeNumber, @Nullable String charcValueDependency, @Nullable String charcValue, @Nullable Double charcFromNumericValue, @Nullable String charcFromNumericValueUnit, @Nullable Double charcToNumericValue, @Nullable String charcToNumericValueUnit, @Nullable BigDecimal charcFromDecimalValue, @Nullable BigDecimal charcToDecimalValue, @Nullable BigDecimal charcFromAmount, @Nullable BigDecimal charcToAmount, @Nullable String currency, @Nullable Calendar charcFromDate, @Nullable Calendar charcToDate, @Nullable Calendar charcFromTime, @Nullable Calendar charcToTime, @Nullable String characteristicAuthor, @Nullable ErpConfigContext erpConfigContext)
public Class<ProductCharcValue> getType()
getType
in class VdmObject<ProductCharcValue>
public static <T> ProductCharcValueField<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 static ProductCharcValue.ProductCharcValueBuilder builder()
@Nullable public String getProduct()
@Nullable public String getClassType()
@Nullable public String getCharcInternalID()
@Nullable public String getCharcValuePositionNumber()
@Nullable 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 public String getCharcValueDependency()
Example: 1.54>-<2.088 The coding of the individual possible entries is described below. Code Operator Value1 Operator Value2 1 EQ 2 GE LT 3 GE LE 4 GT LT 5 GT LE 6 LT 7 LE 8 GT 9 GE
@Nullable public String getCharcValue()
If the characteristic has character format (CHAR), this field contains a single character string.
Values in time format (TIME) must have the format HH:MM:SS. The separators are set automatically.
Example: 112855 --> 11:28:55
The values in date format (DATE) must have the format DD.MM.YYYY. The separators are set automatically.
Example: 110100 --> 11.01.2000
Note
If you valuate validity parameters, you cannot specify intervals. You can only specify individual values.
The following description does not apply to the valuation of validity parameters:
If the characteristic format is numeric (NUM), time (TIME), or date (DATE), you can enter a number or (if allowed) an interval.
Intervals are written in the following format:
Value1 - Value2 (from Value1 to Value2)
>Value1 (greater than Value1)
>=Value1 (greater than or equal to Value1)
@Nullable public Double getCharcFromNumericValue()
@Nullable public String getCharcFromNumericValueUnit()
This format is used for internal processing. The internal format is automatically replaced by either the external commercial (three-character) or technical (six-character) format before output to the screen.
@Nullable public Double getCharcToNumericValue()
@Nullable public String getCharcToNumericValueUnit()
This format is used for internal processing. The internal format is automatically replaced by either the external commercial (three-character) or technical (six-character) format before output to the screen.
@Nullable public BigDecimal getCharcFromDecimalValue()
@Nullable public BigDecimal getCharcToDecimalValue()
@Nullable public BigDecimal getCharcFromAmount()
@Nullable public BigDecimal getCharcToAmount()
@Nullable public String getCurrency()
@Nullable public Calendar getCharcFromDate()
@Nullable public Calendar getCharcToDate()
@Nullable public Calendar getCharcFromTime()
@Nullable public Calendar getCharcToTime()
@Nullable public String getCharacteristicAuthor()
@Nullable public ErpConfigContext getErpConfigContext()
public void setProduct(@Nullable String product)
product
- public void setClassType(@Nullable String classType)
classType
- public void setCharcInternalID(@Nullable String charcInternalID)
charcInternalID
- public void setCharcValuePositionNumber(@Nullable String charcValuePositionNumber)
charcValuePositionNumber
- public void setKeyDate(@Nullable Calendar keyDate)
keyDate
- 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
- public void setCharcValueDependency(@Nullable String charcValueDependency)
Example: 1.54>-<2.088 The coding of the individual possible entries is described below. Code Operator Value1 Operator Value2 1 EQ 2 GE LT 3 GE LE 4 GT LT 5 GT LE 6 LT 7 LE 8 GT 9 GE
charcValueDependency
- public void setCharcValue(@Nullable String charcValue)
If the characteristic has character format (CHAR), this field contains a single character string.
Values in time format (TIME) must have the format HH:MM:SS. The separators are set automatically.
Example: 112855 --> 11:28:55
The values in date format (DATE) must have the format DD.MM.YYYY. The separators are set automatically.
Example: 110100 --> 11.01.2000
Note
If you valuate validity parameters, you cannot specify intervals. You can only specify individual values.
The following description does not apply to the valuation of validity parameters:
If the characteristic format is numeric (NUM), time (TIME), or date (DATE), you can enter a number or (if allowed) an interval.
Intervals are written in the following format:
Value1 - Value2 (from Value1 to Value2)
>Value1 (greater than Value1)
>=Value1 (greater than or equal to Value1)
charcValue
- public void setCharcFromNumericValue(@Nullable Double charcFromNumericValue)
charcFromNumericValue
- public void setCharcFromNumericValueUnit(@Nullable String charcFromNumericValueUnit)
This format is used for internal processing. The internal format is automatically replaced by either the external commercial (three-character) or technical (six-character) format before output to the screen.
charcFromNumericValueUnit
- public void setCharcToNumericValue(@Nullable Double charcToNumericValue)
charcToNumericValue
- public void setCharcToNumericValueUnit(@Nullable String charcToNumericValueUnit)
This format is used for internal processing. The internal format is automatically replaced by either the external commercial (three-character) or technical (six-character) format before output to the screen.
charcToNumericValueUnit
- public void setCharcFromDecimalValue(@Nullable BigDecimal charcFromDecimalValue)
charcFromDecimalValue
- public void setCharcToDecimalValue(@Nullable BigDecimal charcToDecimalValue)
charcToDecimalValue
- public void setCharcFromAmount(@Nullable BigDecimal charcFromAmount)
charcFromAmount
- public void setCharcToAmount(@Nullable BigDecimal charcToAmount)
charcToAmount
- public void setCurrency(@Nullable String currency)
currency
- public void setCharcFromDate(@Nullable Calendar charcFromDate)
charcFromDate
- public void setCharcToDate(@Nullable Calendar charcToDate)
charcToDate
- public void setCharcFromTime(@Nullable Calendar charcFromTime)
charcFromTime
- public void setCharcToTime(@Nullable Calendar charcToTime)
charcToTime
- public void setCharacteristicAuthor(@Nullable String characteristicAuthor)
characteristicAuthor
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductCharcValue>
public boolean equals(Object o)
equals
in class VdmObject<ProductCharcValue>
public int hashCode()
hashCode
in class VdmObject<ProductCharcValue>
Copyright © 2018 SAP SE. All rights reserved.