Class CordaPackageSummary.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CordaPackageSummary.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CordaPackageSummary instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
name
public String
version
public String
signerSummaryHash
public String
fileChecksum
-
Method Summary
Modifier and Type Method Description String
getName()
Gets the value of the 'name' field. CordaPackageSummary.Builder
setName(String value)
Sets the value of the 'name' field. String
getVersion()
Gets the value of the 'version' field. CordaPackageSummary.Builder
setVersion(String value)
Sets the value of the 'version' field. String
getSignerSummaryHash()
Gets the value of the 'signerSummaryHash' field. CordaPackageSummary.Builder
setSignerSummaryHash(String value)
Sets the value of the 'signerSummaryHash' field. String
getFileChecksum()
Gets the value of the 'fileChecksum' field. CordaPackageSummary.Builder
setFileChecksum(String value)
Sets the value of the 'fileChecksum' field. boolean
hasName()
Checks whether the 'name' field has been set. CordaPackageSummary.Builder
clearName()
Clears the value of the 'name' field. boolean
hasVersion()
Checks whether the 'version' field has been set. CordaPackageSummary.Builder
clearVersion()
Clears the value of the 'version' field. boolean
hasSignerSummaryHash()
Checks whether the 'signerSummaryHash' field has been set. CordaPackageSummary.Builder
clearSignerSummaryHash()
Clears the value of the 'signerSummaryHash' field. boolean
hasFileChecksum()
Checks whether the 'fileChecksum' field has been set. CordaPackageSummary.Builder
clearFileChecksum()
Clears the value of the 'fileChecksum' field. CordaPackageSummary
build()
-
-
Method Detail
-
setName
CordaPackageSummary.Builder setName(String value)
Sets the value of the 'name' field. Name of the package.
- Parameters:
value
- The value of 'name'.
-
getVersion
String getVersion()
Gets the value of the 'version' field. Version of the package.
-
setVersion
CordaPackageSummary.Builder setVersion(String value)
Sets the value of the 'version' field. Version of the package.
- Parameters:
value
- The value of 'version'.
-
getSignerSummaryHash
String getSignerSummaryHash()
Gets the value of the 'signerSummaryHash' field. The signer summary hash.
-
setSignerSummaryHash
CordaPackageSummary.Builder setSignerSummaryHash(String value)
Sets the value of the 'signerSummaryHash' field. The signer summary hash.
- Parameters:
value
- The value of 'signerSummaryHash'.
-
getFileChecksum
String getFileChecksum()
Gets the value of the 'fileChecksum' field. The checksum of the package file.
-
setFileChecksum
CordaPackageSummary.Builder setFileChecksum(String value)
Sets the value of the 'fileChecksum' field. The checksum of the package file.
- Parameters:
value
- The value of 'fileChecksum'.
-
hasName
boolean hasName()
Checks whether the 'name' field has been set. Name of the package.
-
clearName
CordaPackageSummary.Builder clearName()
Clears the value of the 'name' field. Name of the package.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set. Version of the package.
-
clearVersion
CordaPackageSummary.Builder clearVersion()
Clears the value of the 'version' field. Version of the package.
-
hasSignerSummaryHash
boolean hasSignerSummaryHash()
Checks whether the 'signerSummaryHash' field has been set. The signer summary hash.
-
clearSignerSummaryHash
CordaPackageSummary.Builder clearSignerSummaryHash()
Clears the value of the 'signerSummaryHash' field. The signer summary hash.
-
hasFileChecksum
boolean hasFileChecksum()
Checks whether the 'fileChecksum' field has been set. The checksum of the package file.
-
clearFileChecksum
CordaPackageSummary.Builder clearFileChecksum()
Clears the value of the 'fileChecksum' field. The checksum of the package file.
-
build
CordaPackageSummary build()
-
-
-
-