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 intfinal booleanfinal StringReturns the string-representation of thisId.final inthashCode()final StringtoString()ThistoString()-method returns a full representation of aStringIdwhich is compatible with theconstructor.
-
Constructor Details
-
Method Details
-
getString
Description copied from interface:IdReturns the string-representation of thisId. -
equals
-
hashCode
public final int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StringId>
-
toString
ThistoString()-method returns a full representation of aStringIdwhich is compatible with theconstructor. So thistoString()-method is usable in business-logic and not only for debugging purposes.
-