Modifier and Type | Class and Description |
---|---|
static class |
Value.ValueBuilder
Helper class to allow for fluent creation of Value instances.
|
Modifier and Type | Field and Description |
---|---|
static ValueSelectable |
ALL_FIELDS
Selector for all available fields of Value.
|
static ValueField<String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static ValueField<String> |
CHARACTERISTIC
Use with available fluent helpers to apply the Characteristic field to query operations.
|
static ValueField<String> |
CHARC_DATA_TYPE
Use with available fluent helpers to apply the CharcDataType field to query operations.
|
static ValueField<BigDecimal> |
CHARC_FROM_AMOUNT
Use with available fluent helpers to apply the CharcFromAmount field to query operations.
|
static ValueField<LocalDateTime> |
CHARC_FROM_DATE
Use with available fluent helpers to apply the CharcFromDate field to query operations.
|
static ValueField<BigDecimal> |
CHARC_FROM_DECIMAL_VALUE
Use with available fluent helpers to apply the CharcFromDecimalValue field to query operations.
|
static ValueField<Double> |
CHARC_FROM_NUMERIC_VALUE
Use with available fluent helpers to apply the CharcFromNumericValue field to query operations.
|
static ValueField<String> |
CHARC_FROM_NUMERIC_VALUE_UNIT
Use with available fluent helpers to apply the CharcFromNumericValueUnit field to query operations.
|
static ValueField<LocalTime> |
CHARC_FROM_TIME
Use with available fluent helpers to apply the CharcFromTime field to query operations.
|
static ValueField<String> |
CHARC_INTERNAL_ID
Use with available fluent helpers to apply the CharcInternalID field to query operations.
|
static ValueField<BigDecimal> |
CHARC_TO_AMOUNT
Use with available fluent helpers to apply the CharcToAmount field to query operations.
|
static ValueField<LocalDateTime> |
CHARC_TO_DATE
Use with available fluent helpers to apply the CharcToDate field to query operations.
|
static ValueField<BigDecimal> |
CHARC_TO_DECIMAL_VALUE
Use with available fluent helpers to apply the CharcToDecimalValue field to query operations.
|
static ValueField<Double> |
CHARC_TO_NUMERIC_VALUE
Use with available fluent helpers to apply the CharcToNumericValue field to query operations.
|
static ValueField<String> |
CHARC_TO_NUMERIC_VALUE_UNIT
Use with available fluent helpers to apply the CharcToNumericValueUnit field to query operations.
|
static ValueField<LocalTime> |
CHARC_TO_TIME
Use with available fluent helpers to apply the CharcToTime field to query operations.
|
static ValueField<String> |
CHARC_VALUE
Use with available fluent helpers to apply the CharcValue field to query operations.
|
static ValueField<String> |
CHARC_VALUE_DEPENDENCY
Use with available fluent helpers to apply the CharcValueDependency field to query operations.
|
static ValueField<String> |
CHARC_VALUE_POSITION_NUMBER
Use with available fluent helpers to apply the CharcValuePositionNumber field to query operations.
|
static ValueField<String> |
CLASS_INTERNAL_ID
Use with available fluent helpers to apply the ClassInternalID field to query operations.
|
static ValueField<String> |
CLASS_TYPE
Use with available fluent helpers to apply the ClassType field to query operations.
|
static ValueField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ValueField<String> |
FUNCTIONAL_LOCATION
Use with available fluent helpers to apply the FunctionalLocation field to query operations.
|
static ValueField<String> |
FUNCTIONAL_LOCATION_LABEL_NAME
Use with available fluent helpers to apply the FunctionalLocationLabelName field to query operations.
|
static ValueField<LocalDateTime> |
KEY_DATE
Use with available fluent helpers to apply the KeyDate field to query operations.
|
static ValueOneToOneLink<Characteristic> |
TO_CHARACTERISTIC
Use with available fluent helpers to apply the to_Characteristic navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Value() |
Value(String functionalLocation,
String classType,
String charcValuePositionNumber,
String charcInternalID,
String functionalLocationLabelName,
String characteristic,
String charcDataType,
String classInternalID,
LocalDateTime 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,
LocalDateTime charcFromDate,
LocalDateTime charcToDate,
LocalTime charcFromTime,
LocalTime charcToTime,
Characteristic toCharacteristic) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static Value.ValueBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Characteristic |
fetchCharacteristic()
Fetches the Characteristic entity (one to one) associated with this entity.
|
static <T> ValueField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getCharacteristic()
Constraints: Not nullable, Maximum length: 30
|
io.vavr.control.Option<Characteristic> |
getCharacteristicIfPresent()
Retrieval of associated Characteristic entity (one to one).
|
Characteristic |
getCharacteristicOrFetch()
Retrieval of associated Characteristic entity (one to one).
|
String |
getCharcDataType()
Constraints: Not nullable, Maximum length: 4
|
BigDecimal |
getCharcFromAmount()
Constraints: Not nullable, Precision: 24, Scale: 3
|
LocalDateTime |
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
|
LocalTime |
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
|
LocalDateTime |
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
|
LocalTime |
getCharcToTime()
Constraints: Not nullable, Precision: 0
|
String |
getCharcValue()
Constraints: Not nullable, Maximum length: 70
|
String |
getCharcValueDependency()
Constraints: Not nullable, Maximum length: 1
|
String |
getCharcValuePositionNumber()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getClassInternalID()
Constraints: Not nullable, Maximum length: 10
|
String |
getClassType()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFunctionalLocation()
(Key Field) Constraints: Not nullable, Maximum length: 90
|
String |
getFunctionalLocationLabelName()
Constraints: Not nullable, Maximum length: 40
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getKeyDate()
Constraints: Not nullable, Precision: 0
|
Class<Value> |
getType() |
int |
hashCode() |
void |
setChangeNumber(String changeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setCharacteristic(Characteristic value)
Overwrites the associated Characteristic entity for the loaded navigation property
to_Characteristic.
|
void |
setCharacteristic(String characteristic)
Constraints: Not nullable, Maximum length: 30
|
void |
setCharcDataType(String charcDataType)
Constraints: Not nullable, Maximum length: 4
|
void |
setCharcFromAmount(BigDecimal charcFromAmount)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setCharcFromDate(LocalDateTime 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
|
void |
setCharcFromTime(LocalTime 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(LocalDateTime 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
|
void |
setCharcToTime(LocalTime charcToTime)
Constraints: Not nullable, Precision: 0
|
void |
setCharcValue(String charcValue)
Constraints: Not nullable, Maximum length: 70
|
void |
setCharcValueDependency(String charcValueDependency)
Constraints: Not nullable, Maximum length: 1
|
void |
setCharcValuePositionNumber(String charcValuePositionNumber)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setClassInternalID(String classInternalID)
Constraints: Not nullable, Maximum length: 10
|
void |
setClassType(String classType)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setFunctionalLocation(String functionalLocation)
(Key Field) Constraints: Not nullable, Maximum length: 90
|
void |
setFunctionalLocationLabelName(String functionalLocationLabelName)
Constraints: Not nullable, Maximum length: 40
|
void |
setKeyDate(LocalDateTime keyDate)
Constraints: Not nullable, Precision: 0
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ValueSelectable ALL_FIELDS
public static final ValueField<String> FUNCTIONAL_LOCATION
public static final ValueField<String> CLASS_TYPE
public static final ValueField<String> CHARC_VALUE_POSITION_NUMBER
public static final ValueField<String> CHARC_INTERNAL_ID
public static final ValueField<String> FUNCTIONAL_LOCATION_LABEL_NAME
public static final ValueField<String> CHARACTERISTIC
public static final ValueField<String> CHARC_DATA_TYPE
public static final ValueField<String> CLASS_INTERNAL_ID
public static final ValueField<LocalDateTime> KEY_DATE
public static final ValueField<String> CHANGE_NUMBER
public static final ValueField<String> CHARC_VALUE_DEPENDENCY
public static final ValueField<String> CHARC_VALUE
public static final ValueField<Double> CHARC_FROM_NUMERIC_VALUE
public static final ValueField<String> CHARC_FROM_NUMERIC_VALUE_UNIT
public static final ValueField<Double> CHARC_TO_NUMERIC_VALUE
public static final ValueField<String> CHARC_TO_NUMERIC_VALUE_UNIT
public static final ValueField<BigDecimal> CHARC_FROM_DECIMAL_VALUE
public static final ValueField<BigDecimal> CHARC_TO_DECIMAL_VALUE
public static final ValueField<BigDecimal> CHARC_FROM_AMOUNT
public static final ValueField<BigDecimal> CHARC_TO_AMOUNT
public static final ValueField<String> CURRENCY
public static final ValueField<LocalDateTime> CHARC_FROM_DATE
public static final ValueField<LocalDateTime> CHARC_TO_DATE
public static final ValueField<LocalTime> CHARC_FROM_TIME
public static final ValueField<LocalTime> CHARC_TO_TIME
public static final ValueOneToOneLink<Characteristic> TO_CHARACTERISTIC
public Value()
public Value(@Nullable String functionalLocation, @Nullable String classType, @Nullable String charcValuePositionNumber, @Nullable String charcInternalID, @Nullable String functionalLocationLabelName, @Nullable String characteristic, @Nullable String charcDataType, @Nullable String classInternalID, @Nullable LocalDateTime 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 LocalDateTime charcFromDate, @Nullable LocalDateTime charcToDate, @Nullable LocalTime charcFromTime, @Nullable LocalTime charcToTime, @Nullable Characteristic toCharacteristic)
public void setFunctionalLocation(@Nullable String functionalLocation)
Original property name from the Odata EDM: FunctionalLocation
functionalLocation
- Key of Object to be Classifiedpublic void setClassType(@Nullable String classType)
Original property name from the Odata EDM: ClassType
classType
- Uniquely identifies the class typepublic void setCharcValuePositionNumber(@Nullable String charcValuePositionNumber)
Original property name from the Odata EDM: CharcValuePositionNumber
charcValuePositionNumber
- Characteristic value counterpublic void setCharcInternalID(@Nullable String charcInternalID)
Original property name from the Odata EDM: CharcInternalID
charcInternalID
- Characteristic Internal IDpublic void setFunctionalLocationLabelName(@Nullable String functionalLocationLabelName)
Original property name from the Odata EDM: FunctionalLocationLabelName
The functional location label can be changed where necessary. The system then automatically creates a labeling history and prevents historical labels from being reused without this first being checked. The labeling history also enables the interpretation of historical location labels in non-changeable documents outside the SAP System.You can assign one primary and several alternative labels to a functional location.
functionalLocationLabelName
- The label is used to identify a functional location from a user's point of view.public void setCharacteristic(@Nullable String characteristic)
Original property name from the Odata EDM: Characteristic
characteristic
- Name that uniquely identifies a characteristic.public void setCharcDataType(@Nullable String charcDataType)
Original property name from the Odata EDM: CharcDataType
The data type defines whether a characteristic value is a character string, a number, a date, or a time.
charcDataType
- Data type of a characteristic's values.public void setClassInternalID(@Nullable String classInternalID)
Original property name from the Odata EDM: ClassInternalID
classInternalID
- Internal Class Numberpublic void setKeyDate(@Nullable LocalDateTime keyDate)
Original property name from the Odata EDM: KeyDate
keyDate
- The keyDate to set.public void setChangeNumber(@Nullable String changeNumber)
Original property name from the Odata EDM: 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 conditionsThe 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 madeDocumentation of the changesAssignment of a revision level to a change state of a material or documentRelease of changes for the different areas in the company
changeNumber
- Number used to uniquely identify a change master record.public void setCharcValueDependency(@Nullable String charcValueDependency)
Original property name from the Odata EDM: CharcValueDependency
Example: 1.54>-<2.088The coding of the individual possible entries is described below.Code Operator Value1 Operator Value21 EQ2 GE LT3 GE LE4 GT LT5 GT LE6 LT7 LE8 GT9 GE
charcValueDependency
- When defining values, intervals can be defined such that the FROM value or TO value is given an
operator.public void setCharcValue(@Nullable String charcValue)
Original property name from the Odata EDM: 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:55The values in date format (DATE) must have the format DD.MM.YYYY. The separators are set automatically.
Example: 110100 --> 11.01.2000NoteIf 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
- Value of a characteristic.public void setCharcFromNumericValue(@Nullable Double charcFromNumericValue)
Original property name from the Odata EDM: CharcFromNumericValue
charcFromNumericValue
- Internal floating point frompublic void setCharcFromNumericValueUnit(@Nullable String charcFromNumericValueUnit)
Original property name from the Odata EDM: 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
- Internal, language-independent, measurement unit format.public void setCharcToNumericValue(@Nullable Double charcToNumericValue)
Original property name from the Odata EDM: CharcToNumericValue
charcToNumericValue
- Internal floating point value topublic void setCharcToNumericValueUnit(@Nullable String charcToNumericValueUnit)
Original property name from the Odata EDM: 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
- Internal, language-independent, measurement unit format.public void setCharcFromDecimalValue(@Nullable BigDecimal charcFromDecimalValue)
Original property name from the Odata EDM: CharcFromDecimalValue
charcFromDecimalValue
- Lower Boundary for Numeric Fieldpublic void setCharcToDecimalValue(@Nullable BigDecimal charcToDecimalValue)
Original property name from the Odata EDM: CharcToDecimalValue
charcToDecimalValue
- Upper Boundary for Numeric Fieldpublic void setCharcFromAmount(@Nullable BigDecimal charcFromAmount)
Original property name from the Odata EDM: CharcFromAmount
charcFromAmount
- Lower Boundary for Currency Fieldpublic void setCharcToAmount(@Nullable BigDecimal charcToAmount)
Original property name from the Odata EDM: CharcToAmount
charcToAmount
- Upper Boundary for Currency Fieldpublic void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
currency
- Key for the currency in which the amounts are managed in the system.public void setCharcFromDate(@Nullable LocalDateTime charcFromDate)
Original property name from the Odata EDM: CharcFromDate
charcFromDate
- Lower Boundary for Date-Intervalpublic void setCharcToDate(@Nullable LocalDateTime charcToDate)
Original property name from the Odata EDM: CharcToDate
charcToDate
- Upper Boundary for Date-Intervalpublic void setCharcFromTime(@Nullable LocalTime charcFromTime)
Original property name from the Odata EDM: CharcFromTime
charcFromTime
- Lower Boundary for Time-Intervalpublic void setCharcToTime(@Nullable LocalTime charcToTime)
Original property name from the Odata EDM: CharcToTime
charcToTime
- Upper Boundary for Time-Intervalprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<Value>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Value>
@Nonnull public static <T> ValueField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ValueField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<Value>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<Value>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<Value>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<Value>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<Value>
@Nullable public Characteristic fetchCharacteristic() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nullable public Characteristic getCharacteristicOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Characteristic of a queried Value is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<Characteristic> getCharacteristicIfPresent()
If the navigation property for an entity Value has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setCharacteristic(Characteristic value)
value
- New Characteristic entity.@Nonnull public static Value.ValueBuilder builder()
@Nullable public String getFunctionalLocation()
Original property name from the Odata EDM: FunctionalLocation
@Nullable public String getClassType()
Original property name from the Odata EDM: ClassType
@Nullable public String getCharcValuePositionNumber()
Original property name from the Odata EDM: CharcValuePositionNumber
@Nullable public String getCharcInternalID()
Original property name from the Odata EDM: CharcInternalID
@Nullable public String getFunctionalLocationLabelName()
Original property name from the Odata EDM: FunctionalLocationLabelName
The functional location label can be changed where necessary. The system then automatically creates a labeling history and prevents historical labels from being reused without this first being checked. The labeling history also enables the interpretation of historical location labels in non-changeable documents outside the SAP System.You can assign one primary and several alternative labels to a functional location.
@Nullable public String getCharacteristic()
Original property name from the Odata EDM: Characteristic
@Nullable public String getCharcDataType()
Original property name from the Odata EDM: CharcDataType
The data type defines whether a characteristic value is a character string, a number, a date, or a time.
@Nullable public String getClassInternalID()
Original property name from the Odata EDM: ClassInternalID
@Nullable public LocalDateTime getKeyDate()
Original property name from the Odata EDM: KeyDate
@Nullable public String getChangeNumber()
Original property name from the Odata EDM: 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 conditionsThe 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 madeDocumentation of the changesAssignment of a revision level to a change state of a material or documentRelease of changes for the different areas in the company
@Nullable public String getCharcValueDependency()
Original property name from the Odata EDM: CharcValueDependency
Example: 1.54>-<2.088The coding of the individual possible entries is described below.Code Operator Value1 Operator Value21 EQ2 GE LT3 GE LE4 GT LT5 GT LE6 LT7 LE8 GT9 GE
@Nullable public String getCharcValue()
Original property name from the Odata EDM: 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:55The values in date format (DATE) must have the format DD.MM.YYYY. The separators are set automatically.
Example: 110100 --> 11.01.2000NoteIf 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()
Original property name from the Odata EDM: CharcFromNumericValue
@Nullable public String getCharcFromNumericValueUnit()
Original property name from the Odata EDM: 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.
@Nullable public Double getCharcToNumericValue()
Original property name from the Odata EDM: CharcToNumericValue
@Nullable public String getCharcToNumericValueUnit()
Original property name from the Odata EDM: 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.
@Nullable public BigDecimal getCharcFromDecimalValue()
Original property name from the Odata EDM: CharcFromDecimalValue
@Nullable public BigDecimal getCharcToDecimalValue()
Original property name from the Odata EDM: CharcToDecimalValue
@Nullable public BigDecimal getCharcFromAmount()
Original property name from the Odata EDM: CharcFromAmount
@Nullable public BigDecimal getCharcToAmount()
Original property name from the Odata EDM: CharcToAmount
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
@Nullable public LocalDateTime getCharcFromDate()
Original property name from the Odata EDM: CharcFromDate
@Nullable public LocalDateTime getCharcToDate()
Original property name from the Odata EDM: CharcToDate
@Nullable public LocalTime getCharcFromTime()
Original property name from the Odata EDM: CharcFromTime
@Nullable public LocalTime getCharcToTime()
Original property name from the Odata EDM: CharcToTime
Copyright © 2020 SAP SE. All rights reserved.