Class PatchSet.Id
- java.lang.Object
-
- com.google.gwtorm.client.IntKey<Change.Id>
-
- com.google.gerrit.reviewdb.client.PatchSet.Id
-
- All Implemented Interfaces:
com.google.gwtorm.client.Key<Change.Id>
,Serializable
- Enclosing class:
- PatchSet
public static class PatchSet.Id extends com.google.gwtorm.client.IntKey<Change.Id>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Change.Id
changeId
int
patchSetId
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Change.Id
changeId()
static PatchSet.Id
fromRef(String ref)
Parse a PatchSet.Id from aPatchSet.getRefName()
result.int
get()
String
getId()
Change.Id
getParentKey()
static PatchSet.Id
parse(String str)
Parse a PatchSet.Id out of a string representation.protected void
set(int newValue)
static String
toId(int number)
String
toRefName()
-
-
-
Field Detail
-
changeId
public Change.Id changeId
-
patchSetId
public int patchSetId
-
-
Constructor Detail
-
Id
public Id()
-
Id
public Id(Change.Id change, int id)
-
-
Method Detail
-
getParentKey
public Change.Id getParentKey()
-
changeId
public Change.Id changeId()
-
get
public int get()
- Specified by:
get
in classcom.google.gwtorm.client.IntKey<Change.Id>
-
set
protected void set(int newValue)
- Specified by:
set
in classcom.google.gwtorm.client.IntKey<Change.Id>
-
toRefName
public String toRefName()
-
parse
public static PatchSet.Id parse(String str)
Parse a PatchSet.Id out of a string representation.
-
fromRef
public static PatchSet.Id fromRef(String ref)
Parse a PatchSet.Id from aPatchSet.getRefName()
result.
-
getId
public String getId()
-
toId
public static String toId(int number)
-
-