public final class IdAndName extends Object
Modifier and Type | Method and Description |
---|---|
static IdAndName |
create(String id,
String name) |
boolean |
equals(Object obj) |
String |
getId()
The id of the resource.
|
String |
getName()
The name of the resource.
|
int |
hashCode() |
static com.google.common.base.Predicate<IdAndName> |
nameEqualTo(String name)
convenience predicate as typically the user is unaware of the system
generated id of a resource
|
String |
toString() |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.