|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.ItemId
@ThreadSafe public class ItemId
Carries a unique identifier for the data carried by an Item.
| Field Summary | |
|---|---|
private String |
id
Unique ID for the Item. |
private static long |
serialVersionUID
Serial version UID. |
| Constructor Summary | |
|---|---|
ItemId(String itemId)
Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(ItemId o)
|
boolean |
equals(Object obj)
|
String |
getId()
Gets a unique identifier for the data carried by the Item. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private String id
| Constructor Detail |
|---|
public ItemId(@Nonnull@NotEmpty
String itemId)
itemId - a unique identifier for the entity, never null| Method Detail |
|---|
@Nonnull public String getId()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int compareTo(ItemId o)
compareTo in interface Comparable<ItemId>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||