|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.domain.model.QpidFeature
org.apache.qpid.management.domain.model.QpidAttribute
org.apache.qpid.management.domain.model.QpidProperty
org.apache.qpid.management.domain.model.QpidArgument
class QpidArgument
An argument is the formal definition of a parameter belonging to a specific method / operation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.qpid.management.domain.model.QpidProperty |
---|
QpidProperty.Decoder, QpidProperty.NumberValidator, QpidProperty.StringValidator |
Field Summary |
---|
Fields inherited from class org.apache.qpid.management.domain.model.QpidProperty |
---|
_decoder, _mandatoryPropertyDecoder, _optionalPropertyDecoder, EMPTY_VALIDATOR |
Fields inherited from class org.apache.qpid.management.domain.model.QpidAttribute |
---|
_type, _unit |
Fields inherited from class org.apache.qpid.management.domain.model.QpidFeature |
---|
_description, _name |
Constructor Summary | |
---|---|
QpidArgument()
|
Method Summary | |
---|---|
Object |
decode(org.apache.qpid.transport.codec.Decoder decoder)
Decodes the value for this argument according to its type & definition. |
void |
encode(Object value,
org.apache.qpid.transport.codec.Encoder encoder)
Encodes the given value according to this argument type & definition. |
Object |
getDefaultValue()
Returns the default value of this argument. |
Direction |
getDirection()
Returns the direction of this argument. |
boolean |
isInput()
Returns true if this is an Input argument. |
void |
setDefaultValue(Object defaultValue)
Sets the default value of this argument. |
void |
setDirection(String code)
Sets the direction of this argument. |
String |
toString()
Returns the name of the feature. |
Methods inherited from class org.apache.qpid.management.domain.model.QpidProperty |
---|
decodeValue, getAccessMode, getMaxLength, getMaxValue, getMinValue, isOptional, markAsOptional, setAccessMode, setMaxLength, setMaxValue, setMinValue, setType, validate |
Methods inherited from class org.apache.qpid.management.domain.model.QpidAttribute |
---|
decodeValue, getJavaType, getUnit, setUnit |
Methods inherited from class org.apache.qpid.management.domain.model.QpidFeature |
---|
getDescription, getName, setDescription, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
QpidArgument()
Method Detail |
---|
public void setDirection(String code)
the
- direction of this argument.public Direction getDirection()
public void setDefaultValue(Object defaultValue)
defaultValue
- the default value of this argument.public Object getDefaultValue()
public boolean isInput()
public String toString()
QpidFeature
toString
in class QpidAttribute
public void encode(Object value, org.apache.qpid.transport.codec.Encoder encoder)
value
- the value to be encoded.encoder
- the encoder.public Object decode(org.apache.qpid.transport.codec.Decoder decoder)
decoder
- the decoder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |