Class MappedField

  • All Implemented Interfaces:
    java.io.Serializable

    public class MappedField
    extends java.lang.Object
    implements java.io.Serializable
    An immutable mapping between a field ID and a set of names.
    See Also:
    Serialized Form
    • Method Detail

      • of

        public static MappedField of​(java.lang.Integer id,
                                     java.lang.String name)
      • of

        public static MappedField of​(java.lang.Integer id,
                                     java.lang.Iterable<java.lang.String> names)
      • of

        public static MappedField of​(java.lang.Integer id,
                                     java.lang.Iterable<java.lang.String> names,
                                     MappedFields nestedMapping)
      • id

        public java.lang.Integer id()
      • names

        public java.util.Set<java.lang.String> names()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object