public final class CollectionItem
extends java.lang.Object
123:45
Modifier and Type | Field and Description |
---|---|
CollectionId |
collectionId |
long |
itemId |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static CollectionItem |
of(CollectionId collectionId,
long itemId) |
static CollectionItem |
of(java.lang.String colAndServer)
Creates a collection item from the unique identifier of an item in a
collection like
123:45 where 123 is the collection id and 45 is
the item id in the collection. |
static CollectionItem |
of(java.lang.String collectionId,
long itemId) |
java.lang.String |
toString() |
public final CollectionId collectionId
public final long itemId
public static CollectionItem of(java.lang.String colAndServer)
123:45
where 123 is the collection id and 45 is
the item id in the collection.colAndServer
- a server uid string likepublic java.lang.String toString()
toString
in class java.lang.Object
public static CollectionItem of(java.lang.String collectionId, long itemId)
public static CollectionItem of(CollectionId collectionId, long itemId)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2021. All Rights Reserved.