org.apache.qpid.transport
Class ExchangeQueryResult
java.lang.Object
org.apache.qpid.transport.Struct
org.apache.qpid.transport.ExchangeQueryResult
- All Implemented Interfaces:
- Encodable
public final class ExchangeQueryResult
- extends Struct
Field Summary |
static int |
TYPE
|
Fields inherited from class org.apache.qpid.transport.Struct |
dirty |
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
ExchangeQueryResult
public ExchangeQueryResult()
ExchangeQueryResult
public ExchangeQueryResult(String type,
Map<String,Object> arguments,
Option... _options)
getStructType
public final int getStructType()
- Specified by:
getStructType
in class Struct
getSizeWidth
public final int getSizeWidth()
- Specified by:
getSizeWidth
in class Struct
getPackWidth
public final int getPackWidth()
- Specified by:
getPackWidth
in class Struct
hasPayload
public final boolean hasPayload()
getEncodedTrack
public final byte getEncodedTrack()
hasType
public final boolean hasType()
clearType
public final ExchangeQueryResult clearType()
getType
public final String getType()
setType
public final ExchangeQueryResult setType(String value)
type
public final ExchangeQueryResult type(String value)
hasDurable
public final boolean hasDurable()
clearDurable
public final ExchangeQueryResult clearDurable()
getDurable
public final boolean getDurable()
setDurable
public final ExchangeQueryResult setDurable(boolean value)
durable
public final ExchangeQueryResult durable(boolean value)
hasNotFound
public final boolean hasNotFound()
clearNotFound
public final ExchangeQueryResult clearNotFound()
getNotFound
public final boolean getNotFound()
setNotFound
public final ExchangeQueryResult setNotFound(boolean value)
notFound
public final ExchangeQueryResult notFound(boolean value)
hasArguments
public final boolean hasArguments()
clearArguments
public final ExchangeQueryResult clearArguments()
getArguments
public final Map<String,Object> getArguments()
setArguments
public final ExchangeQueryResult setArguments(Map<String,Object> value)
arguments
public final ExchangeQueryResult arguments(Map<String,Object> value)
write
public void write(Encoder enc)
- Description copied from interface:
Encodable
- Encodes this encodable using the given encoder.
- Specified by:
write
in interface Encodable
- Specified by:
write
in class Struct
- Parameters:
enc
- the encoder.
read
public void read(Decoder dec)
- Description copied from interface:
Encodable
- Decodes this encodable using the given decoder.
- Specified by:
read
in interface Encodable
- Specified by:
read
in class Struct
- Parameters:
dec
- the decoder.
getFields
public Map<String,Object> getFields()
- Specified by:
getFields
in class Struct
Licensed to the Apache Software Foundation