Class Project.NameKey
- java.lang.Object
-
- com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
- com.google.gerrit.reviewdb.client.Project.NameKey
-
- All Implemented Interfaces:
com.google.gwtorm.client.Key<com.google.gwtorm.client.Key<?>>
,Serializable
,Comparable<com.google.gwtorm.client.StringKey<?>>
- Direct Known Subclasses:
AllProjectsName
,AllUsersName
- Enclosing class:
- Project
public static class Project.NameKey extends com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
Project name key- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
asStringOrNull(Project.NameKey key)
boolean
equals(Object b)
String
get()
int
hashCode()
static Project.NameKey
parse(String str)
Parse a Project.NameKey out of a string representation.protected void
set(String newValue)
-
-
-
Field Detail
-
name
protected String name
-
-
Constructor Detail
-
NameKey
protected NameKey()
-
NameKey
public NameKey(String n)
-
-
Method Detail
-
get
public String get()
- Specified by:
get
in classcom.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
set
protected void set(String newValue)
- Specified by:
set
in classcom.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.gwtorm.client.Key<com.google.gwtorm.client.Key<?>>
- Overrides:
hashCode
in classcom.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
equals
public boolean equals(Object b)
- Specified by:
equals
in interfacecom.google.gwtorm.client.Key<com.google.gwtorm.client.Key<?>>
- Overrides:
equals
in classcom.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
parse
public static Project.NameKey parse(String str)
Parse a Project.NameKey out of a string representation.
-
asStringOrNull
public static String asStringOrNull(Project.NameKey key)
-
-