Class ErpBoolean
java.lang.Object
com.sap.cloud.sdk.s4hana.serialization.ErpBoolean
- All Implemented Interfaces:
ErpType<ErpBoolean>
,Serializable
Deprecated.
This module will be discontinued, along with its classes and methods.
Representation of a boolean in an ERP.
This class translates the representation of booleans in an ERP ("X" is true, " " is false, and "-" is undefined).
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ErpBoolean
Deprecated.The FALSE instance.static final ErpBoolean
Deprecated.The TRUE instance. -
Constructor Summary
ConstructorDescriptionErpBoolean
(Boolean value) Deprecated.ErpBoolean
(String value) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.boolean
Deprecated.Deprecated.Get the type converter for the ERP type.getValue()
Deprecated.int
hashCode()
Deprecated.boolean
isFalse()
Deprecated.Checks whether this ERP boolean is not null and false.boolean
isTrue()
Deprecated.Checks whether this ERP boolean is not null and true.static ErpBoolean
Deprecated.A static method factory method.toString()
Deprecated.
-
Field Details
-
TRUE
Deprecated.The TRUE instance. -
FALSE
Deprecated.The FALSE instance.
-
-
Constructor Details
-
ErpBoolean
Deprecated.Constructor.- Parameters:
value
- The String value.- Throws:
IllegalArgumentException
- when the input value could not be converted.
-
ErpBoolean
Deprecated.
-
-
Method Details
-
of
Deprecated.A static method factory method.- Parameters:
value
- The Boolean value.- Returns:
- The ERP type representation of the boolean value.
- Throws:
IllegalArgumentException
- when the input value could not be converted.
-
getTypeConverter
Deprecated.Description copied from interface:ErpType
Get the type converter for the ERP type.- Specified by:
getTypeConverter
in interfaceErpType<ErpBoolean>
- Returns:
- The type converter.
-
isTrue
public boolean isTrue()Deprecated.Checks whether this ERP boolean is not null and true.- Returns:
- The boolean value.
-
isFalse
public boolean isFalse()Deprecated.Checks whether this ERP boolean is not null and false.- Returns:
- The inverted boolean value.
-
toString
Deprecated. -
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
getValue
Deprecated.
-