Class AccountGroup.UUID
- java.lang.Object
-
- com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
- com.google.gerrit.reviewdb.client.AccountGroup.UUID
-
- All Implemented Interfaces:
com.google.gwtorm.client.Key<com.google.gwtorm.client.Key<?>>
,Serializable
,Comparable<com.google.gwtorm.client.StringKey<?>>
- Enclosing class:
- AccountGroup
public static class AccountGroup.UUID extends com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
Globally unique identifier.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountGroup.UUID
fromRef(String ref)
Parse anAccountGroup.UUID
out of a ref-name.static AccountGroup.UUID
fromRefPart(String refPart)
Parse anAccountGroup.UUID
out of a part of a ref-name.String
get()
static AccountGroup.UUID
parse(String str)
Parse anAccountGroup.UUID
out of a string representation.protected void
set(String newValue)
-
-
-
Field Detail
-
uuid
protected String uuid
-
-
Constructor Detail
-
UUID
protected UUID()
-
UUID
public UUID(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<?>>
-
parse
public static AccountGroup.UUID parse(String str)
Parse anAccountGroup.UUID
out of a string representation.
-
fromRef
public static AccountGroup.UUID fromRef(String ref)
Parse anAccountGroup.UUID
out of a ref-name.
-
fromRefPart
public static AccountGroup.UUID fromRefPart(String refPart)
Parse anAccountGroup.UUID
out of a part of a ref-name.- Parameters:
refPart
- a ref name with the following syntax:"12/1234..."
. We assume that the caller has trimmed any prefix.
-
-