@groovy.transform.EqualsAndHashCode class ProductId
A DTO describing Product Identifiers The ProductId should be used as a general class describing identifiers like the OfferId and the CostEstimateId. It consists of a fixed Part depending on the product category and an Integer based versioning @since: 2.0.0
Modifiers | Name | Description |
---|---|---|
static class |
ProductId.Builder |
A builder for ProductId instances. |
Constructor and description |
---|
ProductId
(java.lang.String type, java.lang.String identifier) Creates an identifier object with the |
private ProductId
(ProjectManager.Builder builder) |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
compareTo(ProductId productId2) |
|
java.lang.String |
getIdentifier() Returns the identifying running number |
|
java.lang.String |
getType() Returns the type of the identifier @return |
|
java.lang.Long |
getUniqueId() Returns the identifying running number |
|
java.lang.String |
toString() Returns a String representation in the format: |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The type of the identifier is defined by the implementing identifier
Identifying number used in conjunction with the type
Creates an identifier object with the
type
- describing the type of the underlying identifieridentifier
- describes the identifying running numberReturns the identifying running number
Returns the type of the identifier
Returns the identifying running number
Returns a String representation in the format: [type]_[version]
Groovy Documentation