edu.umich.eecs.tac.props
Class Query
java.lang.Object
edu.umich.eecs.tac.props.AbstractTransportable
edu.umich.eecs.tac.props.ManufacturerComponentComposable
edu.umich.eecs.tac.props.Query
- All Implemented Interfaces:
- java.io.Serializable, se.sics.isl.transport.Transportable
public class Query
- extends ManufacturerComponentComposable
The query class represents a set of information the user is revealing during
a search. A query can contain a manufacturer and a component, a manufacturer,
a component, or neither.
- Author:
- Patrick Jordan, Lee Callender
- See Also:
- Serialized Form
Constructor Summary |
Query()
Creates a new query with without manufacturer and component information. |
Query(java.lang.String manufacturer,
java.lang.String component)
Creates a new query with the given manufacturer and component. |
Methods inherited from class edu.umich.eecs.tac.props.ManufacturerComponentComposable |
calculateHashCode, composableEquals, equals, getComponent, getManufacturer, hashCode, readWithLock, setComponent, setManufacturer, toString, writeWithLock |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Query
public Query(java.lang.String manufacturer,
java.lang.String component)
- Creates a new query with the given manufacturer and component.
- Parameters:
manufacturer
- the manufacturer in the querycomponent
- the component in the query
Query
public Query()
- Creates a new query with without manufacturer and component information.
getType
public final QueryType getType()
- Returns the query type of the query. This method delegates to
QueryType.value(Query)
.
- Returns:
- the query type of the query.
Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.