Initializer
Query(Parameter[] parameters)
Parameters:
  • parameters

    The list of query parameters

Attributes
hashSource Codeshared actual Integer hash

The hash value of the value, which allows the value to be an element of a hash-based set or key of a hash-based map. Implementations must respect the constraint that:

  • if x==y then x.hash==y.hash.

Therefore, a class which refines equals must also refine hash.

In general, hash values vary between platforms and between executions of the same program.

Note that when executing on a Java Virtual Machine, the 64-bit Integer value returned by an implementation of hash is truncated to a 32-bit integer value by removal of the 32 highest order bits, before returning the value to the caller.

Refines Identifiable.hash ultimately refines Object.hash
humanRepresentationSource Codeshared String humanRepresentation

Returns a human (non parseable) representation of this part

parametersSource Codeshared Parameter[] parameters

The list of query parameters

specifiedSource Codeshared Boolean specified

Returns true if we have any query parameter

stringSource Codeshared actual String string

Returns an externalisable (percent-encoded) representation of this part

Inherited Attributes
Attributes inherited from: Object
Methods
equalsSource Codeshared actual Boolean equals(Object that)

Returns true if the given object is the same as this object

Refines Identifiable.equals ultimately refines Object.equals
toRepresentationSource Codeshared String toRepresentation(Boolean human)

Returns either an externalisable (percent-encoded) or human (non parseable) representation of this part

Inherited Methods
Methods inherited from: Object