Package com.saperion.common.lang.id
Class StringId
java.lang.Object
com.saperion.common.lang.id.StringId
- All Implemented Interfaces:
Id
,Serializable
,Comparable<StringId>
- Direct Known Subclasses:
HierarchicalName
- Author:
- agz
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
final boolean
final String
Returns the string-representation of thisId
.final int
hashCode()
final String
toString()
ThistoString()
-method returns a full representation of aStringId
which is compatible with theconstructor
.
-
Constructor Details
-
Method Details
-
getString
Description copied from interface:Id
Returns the string-representation of thisId
. -
equals
-
hashCode
public final int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<StringId>
-
toString
ThistoString()
-method returns a full representation of aStringId
which is compatible with theconstructor
. So thistoString()
-method is usable in business-logic and not only for debugging purposes.
-