Class SchemaAndObjects

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SchemaAndObjects>

    public class SchemaAndObjects
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<SchemaAndObjects>
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the openGql.grammar.SchemaAndObjects type.
      • SCHEMA_REFERENCE

        public static final Name SCHEMA_REFERENCE
        Name of the openGql.grammar.SchemaAndObjects.schemaReference field.
      • OBJECTS

        public static final Name OBJECTS
        Name of the openGql.grammar.SchemaAndObjects.objects field.
      • objects

        public final java.util.List<java.lang.String> objects
    • Constructor Detail

      • SchemaAndObjects

        public SchemaAndObjects​(SchemaReference schemaReference,
                                java.util.List<java.lang.String> objects)
        Constructs an immutable SchemaAndObjects.
    • Method Detail

      • 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
      • withObjects

        public SchemaAndObjects withObjects​(java.util.List<java.lang.String> objects)
        Returns a copy of this SchemaAndObjects with objects replaced.