Class DistributionChannel
java.lang.Object
com.sap.cloud.sdk.s4hana.serialization.StringBasedErpType<DistributionChannel>
com.sap.cloud.sdk.s4hana.serialization.DistributionChannel
- All Implemented Interfaces:
ErpType<DistributionChannel>
,StringRepresentableKey
,Serializable
,Comparable<DistributionChannel>
Deprecated.
This module will be discontinued, along with its classes and methods.
Representation of a distribution channel (VTWEG).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sap.cloud.sdk.s4hana.serialization.StringBasedErpType
StringBasedErpType.CharCasing, StringBasedErpType.FillCharStrategy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DistributionChannel
Deprecated.The empty instance. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.boolean
Deprecated.Deprecated.Returns the strategy of how the type should handle fill characters.int
Deprecated.Returns the maximum length of the string-based ERP type.getType()
Deprecated.Returns the class of the string-based ERP type.Deprecated.Get the type converter for the ERP type.int
hashCode()
Deprecated.static DistributionChannel
Deprecated.Static method factory for the value type.static Set<DistributionChannel>
toDistributionChannels
(Collection<String> values) Deprecated.Helper method to transform a collection of Strings to a Set of objects.toStrings
(Collection<DistributionChannel> values) Deprecated.Helper method to transform a collection of objects to a Set of Strings.Methods inherited from class com.sap.cloud.sdk.s4hana.serialization.StringBasedErpType
compareTo, getFillChar, getKeyAsString, getValue, isDefault, isEmpty, toString, toString, transformToString, transformToType
-
Field Details
-
EMPTY
Deprecated.The empty instance.
-
-
Constructor Details
-
DistributionChannel
Deprecated.Default constructor.- Parameters:
value
- The String representation.- Throws:
IllegalArgumentException
- when the String value cannot be parsed accordingly.
-
-
Method Details
-
of
@Nullable public static DistributionChannel of(@Nullable String value) throws IllegalArgumentException Deprecated.Static method factory for the value type.- Parameters:
value
- The String representation.- Returns:
- A newly constructed value instance.
- Throws:
IllegalArgumentException
- when the String value cannot be parsed accordingly.
-
getTypeConverter
Deprecated.Description copied from interface:ErpType
Get the type converter for the ERP type.- Returns:
- The type converter.
-
getType
Deprecated.Description copied from class:StringBasedErpType
Returns the class of the string-based ERP type.- Specified by:
getType
in classStringBasedErpType<DistributionChannel>
- Returns:
- The class of the string-based ERP type.
-
getMaxLength
public int getMaxLength()Deprecated.Description copied from class:StringBasedErpType
Returns the maximum length of the string-based ERP type.- Specified by:
getMaxLength
in classStringBasedErpType<DistributionChannel>
- Returns:
- The maximum length of the string-based ERP type.
-
getFillCharStrategy
Deprecated.Description copied from class:StringBasedErpType
Returns the strategy of how the type should handle fill characters.- Specified by:
getFillCharStrategy
in classStringBasedErpType<DistributionChannel>
- Returns:
- The strategy of how the type should handle fill characters.
-
toDistributionChannels
@Nonnull public static Set<DistributionChannel> toDistributionChannels(@Nonnull Collection<String> values) Deprecated.Helper method to transform a collection of Strings to a Set of objects.- Parameters:
values
- The items of type String- Returns:
- The Set of converted Objects.
-
toStrings
Deprecated.Helper method to transform a collection of objects to a Set of Strings.- Parameters:
values
- The items of type DistributionChannel- Returns:
- The Set of String representations.
-
equals
Deprecated.- Overrides:
equals
in classStringBasedErpType<DistributionChannel>
-
canEqual
Deprecated.- Overrides:
canEqual
in classStringBasedErpType<DistributionChannel>
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classStringBasedErpType<DistributionChannel>
-