Package org.apache.activemq.command
Class BrokerId
- java.lang.Object
-
- org.apache.activemq.command.BrokerId
-
- All Implemented Interfaces:
DataStructure
public class BrokerId extends Object implements DataStructure
-
-
Field Summary
Fields Modifier and Type Field Description static byteDATA_STRUCTURE_TYPEprotected Stringvalue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)bytegetDataStructureType()StringgetValue()inthashCode()booleanisMarshallAware()voidsetValue(String brokerId)StringtoString()
-
-
-
Field Detail
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
-
value
protected String value
-
-
Constructor Detail
-
BrokerId
public BrokerId()
-
BrokerId
public BrokerId(String brokerId)
-
-
Method Detail
-
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureTypein interfaceDataStructure- Returns:
- The type of the data structure
-
getValue
public String getValue()
-
setValue
public void setValue(String brokerId)
-
isMarshallAware
public boolean isMarshallAware()
- Specified by:
isMarshallAwarein interfaceDataStructure
-
-