Class SapClient
java.lang.Object
com.sap.cloud.sdk.s4hana.serialization.StringBasedErpType<SapClient>
com.sap.cloud.sdk.s4hana.serialization.SapClient
- All Implemented Interfaces:
ErpType<SapClient>
,StringRepresentableKey
,Serializable
,Comparable<SapClient>
Deprecated.
This module will be discontinued, along with its classes and methods.
Representation of a SAP client (MANDT).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sap.cloud.sdk.s4hana.serialization.StringBasedErpType
StringBasedErpType.CharCasing, StringBasedErpType.FillCharStrategy
-
Field Summary
-
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 SapClient
Deprecated.Creates a newSapClient
based on the given Stringvalue
.toSapClients
(Collection<String> values) Deprecated.Transforms the given collection of Strings representingSapClient
s to a set ofSapClient
s via theSapClientConverter
.toStrings
(Collection<SapClient> values) Deprecated.Transforms the given collection ofSapClient
s to a set of Strings representing thoseSapClient
s via theSapClientConverter
.Methods inherited from class com.sap.cloud.sdk.s4hana.serialization.StringBasedErpType
compareTo, getFillChar, getKeyAsString, getValue, isDefault, isEmpty, toString, toString, transformToString, transformToType
-
Field Details
-
DEFAULT
Deprecated. -
EMPTY
Deprecated.
-
-
Constructor Details
-
SapClient
Deprecated.Creates a newSapClient
representing the given ERP String.- Parameters:
value
- The String value to represent.- Throws:
IllegalArgumentException
- Ifvalue
is null or the length ofvalue
is longer than the length specified bygetMaxLength()
.
-
-
Method Details
-
of
Deprecated.Creates a newSapClient
based on the given Stringvalue
.- Parameters:
value
- The String value theSapClient
should represent.- Returns:
- A newly created
SapClient
, or null, ifvalue
is null. - Throws:
IllegalArgumentException
- If the length ofvalue
is longer than the length specified bygetMaxLength()
.
-
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<SapClient>
- 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<SapClient>
- 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<SapClient>
- Returns:
- The strategy of how the type should handle fill characters.
-
toSapClients
Deprecated.Transforms the given collection of Strings representingSapClient
s to a set ofSapClient
s via theSapClientConverter
.- Parameters:
values
- The collection of strings to convert.- Returns:
- The set of
SapClient
s.
-
toStrings
Deprecated.Transforms the given collection ofSapClient
s to a set of Strings representing thoseSapClient
s via theSapClientConverter
.- Parameters:
values
- The collection ofSapClient
s to convert.- Returns:
- The set of Strings.
-
equals
Deprecated.- Overrides:
equals
in classStringBasedErpType<SapClient>
-
canEqual
Deprecated.- Overrides:
canEqual
in classStringBasedErpType<SapClient>
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classStringBasedErpType<SapClient>
-