Class Patch.Key
- java.lang.Object
-
- com.google.gwtorm.client.StringKey<PatchSet.Id>
-
- com.google.gerrit.reviewdb.client.Patch.Key
-
- All Implemented Interfaces:
com.google.gwtorm.client.Key<PatchSet.Id>
,Serializable
,Comparable<com.google.gwtorm.client.StringKey<?>>
- Enclosing class:
- Patch
public static class Patch.Key extends com.google.gwtorm.client.StringKey<PatchSet.Id>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
fileName
protected PatchSet.Id
patchSetId
-
Constructor Summary
Constructors Modifier Constructor Description protected
Key()
Key(PatchSet.Id ps, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fileName()
String
get()
String
getFileName()
PatchSet.Id
getParentKey()
static Patch.Key
parse(String str)
Parse a Patch.Id out of a string representation.PatchSet.Id
patchSetId()
protected void
set(String newValue)
-
-
-
Field Detail
-
patchSetId
protected PatchSet.Id patchSetId
-
fileName
protected String fileName
-
-
Constructor Detail
-
Key
protected Key()
-
Key
public Key(PatchSet.Id ps, String name)
-
-
Method Detail
-
getParentKey
public PatchSet.Id getParentKey()
- Specified by:
getParentKey
in interfacecom.google.gwtorm.client.Key<PatchSet.Id>
- Overrides:
getParentKey
in classcom.google.gwtorm.client.StringKey<PatchSet.Id>
-
patchSetId
public PatchSet.Id patchSetId()
-
get
public String get()
- Specified by:
get
in classcom.google.gwtorm.client.StringKey<PatchSet.Id>
-
fileName
public String fileName()
-
set
protected void set(String newValue)
- Specified by:
set
in classcom.google.gwtorm.client.StringKey<PatchSet.Id>
-
getFileName
public String getFileName()
-
-