Class Change.Key

  • All Implemented Interfaces:
    com.google.gwtorm.client.Key<com.google.gwtorm.client.Key<?>>, Serializable, Comparable<com.google.gwtorm.client.StringKey<?>>
    Enclosing class:
    Change

    public static class Change.Key
    extends com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
    Globally unique identification of this change. This generally takes the form of a string "Ixxxxxx...", and is stored in the Change-Id footer of a commit.
    See Also:
    Serialized Form
    • Constructor Detail

      • Key

        protected Key()
      • Key

        public Key​(String id)
    • Method Detail

      • get

        public String get()
        Specified by:
        get in class com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
      • set

        protected void set​(String newValue)
        Specified by:
        set in class com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
      • max

        public Change.Key max()
        Construct a key that is after all keys prefixed by this key.
      • abbreviate

        public String abbreviate()
        Obtain a shorter version of this key string, using a leading prefix.
      • parse

        public static Change.Key parse​(String str)
        Parse a Change.Key out of a string representation.