Class BaseProperty<T extends BaseValue>
java.lang.Object
io.camunda.zeebe.msgpack.property.BaseProperty<T>
- All Implemented Interfaces:
Recyclable
- Direct Known Subclasses:
ArrayProperty,BinaryProperty,BooleanProperty,DocumentProperty,EnumProperty,IntegerProperty,LongProperty,ObjectProperty,PackedProperty,StringProperty
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Tprotected booleanprotected final StringValueprotected final T -
Constructor Summary
ConstructorsConstructorDescriptionBaseProperty(String keyString, T value) BaseProperty(String keyString, T value, T defaultValue) BaseProperty(T value) -
Method Summary
-
Field Details
-
key
-
value
-
defaultValue
-
isSet
protected boolean isSet
-
-
Constructor Details
-
BaseProperty
-
BaseProperty
-
BaseProperty
-
-
Method Details
-
set
public void set() -
reset
public void reset()- Specified by:
resetin interfaceRecyclable
-
hasValue
public boolean hasValue() -
getKey
-
resolveValue
-
getEncodedLength
public int getEncodedLength() -
read
-
write
-
writeJSON
-
hashCode
public int hashCode() -
equals
-
toString
-