Class Property.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class Property.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for Property instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
id
public int
version
public ChangeDetails
lastChangeDetails
public ChangeDetails.Builder
lastChangeDetailsBuilder
public String
key
public String
value
-
Method Summary
Modifier and Type Method Description String
getId()
Gets the value of the 'id' field. Property.Builder
setId(String value)
Sets the value of the 'id' field. int
getVersion()
Gets the value of the 'version' field. Property.Builder
setVersion(int value)
Sets the value of the 'version' field. ChangeDetails
getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field. Property.Builder
setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field. ChangeDetails.Builder
getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet. Property.Builder
setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field String
getKey()
Gets the value of the 'key' field. Property.Builder
setKey(String value)
Sets the value of the 'key' field. String
getValue()
Gets the value of the 'value' field. Property.Builder
setValue(String value)
Sets the value of the 'value' field. boolean
hasId()
Checks whether the 'id' field has been set. Property.Builder
clearId()
Clears the value of the 'id' field. boolean
hasVersion()
Checks whether the 'version' field has been set. Property.Builder
clearVersion()
Clears the value of the 'version' field. boolean
hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set. boolean
hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance Property.Builder
clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field. boolean
hasKey()
Checks whether the 'key' field has been set. Property.Builder
clearKey()
Clears the value of the 'key' field. boolean
hasValue()
Checks whether the 'value' field has been set. Property.Builder
clearValue()
Clears the value of the 'value' field. Property
build()
-
-
Method Detail
-
setId
Property.Builder setId(String value)
Sets the value of the 'id' field.
- Parameters:
value
- The value of 'id'.
-
getVersion
int getVersion()
Gets the value of the 'version' field.
-
setVersion
Property.Builder setVersion(int value)
Sets the value of the 'version' field.
- Parameters:
value
- The value of 'version'.
-
getLastChangeDetails
ChangeDetails getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field.
-
setLastChangeDetails
Property.Builder setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field.
- Parameters:
value
- The value of 'lastChangeDetails'.
-
getLastChangeDetailsBuilder
ChangeDetails.Builder getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet.
-
setLastChangeDetailsBuilder
Property.Builder setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field
- Parameters:
value
- The builder instance that must be set.
-
setKey
Property.Builder setKey(String value)
Sets the value of the 'key' field.
- Parameters:
value
- The value of 'key'.
-
setValue
Property.Builder setValue(String value)
Sets the value of the 'value' field.
- Parameters:
value
- The value of 'value'.
-
hasId
boolean hasId()
Checks whether the 'id' field has been set.
-
clearId
Property.Builder clearId()
Clears the value of the 'id' field.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set.
-
clearVersion
Property.Builder clearVersion()
Clears the value of the 'version' field.
-
hasLastChangeDetails
boolean hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set.
-
hasLastChangeDetailsBuilder
boolean hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance
-
clearLastChangeDetails
Property.Builder clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field.
-
hasKey
boolean hasKey()
Checks whether the 'key' field has been set.
-
clearKey
Property.Builder clearKey()
Clears the value of the 'key' field.
-
hasValue
boolean hasValue()
Checks whether the 'value' field has been set.
-
clearValue
Property.Builder clearValue()
Clears the value of the 'value' field.
-
-
-
-