Class CorDappManifest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CorDappManifest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CorDappManifest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
bundleSymbolicName
public String
bundleVersion
public int
minPlatformVersion
public int
targetPlatformVersion
public CorDappType
type
public String
shortName
public String
vendor
public Integer
versionId
public String
license
public Map<String, String>
attributes
-
Method Summary
Modifier and Type Method Description String
getBundleSymbolicName()
Gets the value of the 'bundleSymbolicName' field. CorDappManifest.Builder
setBundleSymbolicName(String value)
Sets the value of the 'bundleSymbolicName' field. String
getBundleVersion()
Gets the value of the 'bundleVersion' field. CorDappManifest.Builder
setBundleVersion(String value)
Sets the value of the 'bundleVersion' field. int
getMinPlatformVersion()
Gets the value of the 'minPlatformVersion' field. CorDappManifest.Builder
setMinPlatformVersion(int value)
Sets the value of the 'minPlatformVersion' field. int
getTargetPlatformVersion()
Gets the value of the 'targetPlatformVersion' field. CorDappManifest.Builder
setTargetPlatformVersion(int value)
Sets the value of the 'targetPlatformVersion' field. CorDappType
getType()
Gets the value of the 'type' field. CorDappManifest.Builder
setType(CorDappType value)
Sets the value of the 'type' field. String
getShortName()
Gets the value of the 'shortName' field. CorDappManifest.Builder
setShortName(String value)
Sets the value of the 'shortName' field. String
getVendor()
Gets the value of the 'vendor' field. CorDappManifest.Builder
setVendor(String value)
Sets the value of the 'vendor' field. Integer
getVersionId()
Gets the value of the 'versionId' field. CorDappManifest.Builder
setVersionId(Integer value)
Sets the value of the 'versionId' field. String
getLicense()
Gets the value of the 'license' field. CorDappManifest.Builder
setLicense(String value)
Sets the value of the 'license' field. Map<String, String>
getAttributes()
Gets the value of the 'attributes' field. CorDappManifest.Builder
setAttributes(Map<String, String> value)
Sets the value of the 'attributes' field. boolean
hasBundleSymbolicName()
Checks whether the 'bundleSymbolicName' field has been set. CorDappManifest.Builder
clearBundleSymbolicName()
Clears the value of the 'bundleSymbolicName' field. boolean
hasBundleVersion()
Checks whether the 'bundleVersion' field has been set. CorDappManifest.Builder
clearBundleVersion()
Clears the value of the 'bundleVersion' field. boolean
hasMinPlatformVersion()
Checks whether the 'minPlatformVersion' field has been set. CorDappManifest.Builder
clearMinPlatformVersion()
Clears the value of the 'minPlatformVersion' field. boolean
hasTargetPlatformVersion()
Checks whether the 'targetPlatformVersion' field has been set. CorDappManifest.Builder
clearTargetPlatformVersion()
Clears the value of the 'targetPlatformVersion' field. boolean
hasType()
Checks whether the 'type' field has been set. CorDappManifest.Builder
clearType()
Clears the value of the 'type' field. boolean
hasShortName()
Checks whether the 'shortName' field has been set. CorDappManifest.Builder
clearShortName()
Clears the value of the 'shortName' field. boolean
hasVendor()
Checks whether the 'vendor' field has been set. CorDappManifest.Builder
clearVendor()
Clears the value of the 'vendor' field. boolean
hasVersionId()
Checks whether the 'versionId' field has been set. CorDappManifest.Builder
clearVersionId()
Clears the value of the 'versionId' field. boolean
hasLicense()
Checks whether the 'license' field has been set. CorDappManifest.Builder
clearLicense()
Clears the value of the 'license' field. boolean
hasAttributes()
Checks whether the 'attributes' field has been set. CorDappManifest.Builder
clearAttributes()
Clears the value of the 'attributes' field. CorDappManifest
build()
-
-
Method Detail
-
getBundleSymbolicName
String getBundleSymbolicName()
Gets the value of the 'bundleSymbolicName' field.
-
setBundleSymbolicName
CorDappManifest.Builder setBundleSymbolicName(String value)
Sets the value of the 'bundleSymbolicName' field.
- Parameters:
value
- The value of 'bundleSymbolicName'.
-
getBundleVersion
String getBundleVersion()
Gets the value of the 'bundleVersion' field.
-
setBundleVersion
CorDappManifest.Builder setBundleVersion(String value)
Sets the value of the 'bundleVersion' field.
- Parameters:
value
- The value of 'bundleVersion'.
-
getMinPlatformVersion
int getMinPlatformVersion()
Gets the value of the 'minPlatformVersion' field.
-
setMinPlatformVersion
CorDappManifest.Builder setMinPlatformVersion(int value)
Sets the value of the 'minPlatformVersion' field.
- Parameters:
value
- The value of 'minPlatformVersion'.
-
getTargetPlatformVersion
int getTargetPlatformVersion()
Gets the value of the 'targetPlatformVersion' field.
-
setTargetPlatformVersion
CorDappManifest.Builder setTargetPlatformVersion(int value)
Sets the value of the 'targetPlatformVersion' field.
- Parameters:
value
- The value of 'targetPlatformVersion'.
-
getType
CorDappType getType()
Gets the value of the 'type' field.
-
setType
CorDappManifest.Builder setType(CorDappType value)
Sets the value of the 'type' field.
- Parameters:
value
- The value of 'type'.
-
getShortName
String getShortName()
Gets the value of the 'shortName' field.
-
setShortName
CorDappManifest.Builder setShortName(String value)
Sets the value of the 'shortName' field.
- Parameters:
value
- The value of 'shortName'.
-
setVendor
CorDappManifest.Builder setVendor(String value)
Sets the value of the 'vendor' field.
- Parameters:
value
- The value of 'vendor'.
-
getVersionId
Integer getVersionId()
Gets the value of the 'versionId' field.
-
setVersionId
CorDappManifest.Builder setVersionId(Integer value)
Sets the value of the 'versionId' field.
- Parameters:
value
- The value of 'versionId'.
-
getLicense
String getLicense()
Gets the value of the 'license' field.
-
setLicense
CorDappManifest.Builder setLicense(String value)
Sets the value of the 'license' field.
- Parameters:
value
- The value of 'license'.
-
getAttributes
Map<String, String> getAttributes()
Gets the value of the 'attributes' field.
-
setAttributes
CorDappManifest.Builder setAttributes(Map<String, String> value)
Sets the value of the 'attributes' field.
- Parameters:
value
- The value of 'attributes'.
-
hasBundleSymbolicName
boolean hasBundleSymbolicName()
Checks whether the 'bundleSymbolicName' field has been set.
-
clearBundleSymbolicName
CorDappManifest.Builder clearBundleSymbolicName()
Clears the value of the 'bundleSymbolicName' field.
-
hasBundleVersion
boolean hasBundleVersion()
Checks whether the 'bundleVersion' field has been set.
-
clearBundleVersion
CorDappManifest.Builder clearBundleVersion()
Clears the value of the 'bundleVersion' field.
-
hasMinPlatformVersion
boolean hasMinPlatformVersion()
Checks whether the 'minPlatformVersion' field has been set.
-
clearMinPlatformVersion
CorDappManifest.Builder clearMinPlatformVersion()
Clears the value of the 'minPlatformVersion' field.
-
hasTargetPlatformVersion
boolean hasTargetPlatformVersion()
Checks whether the 'targetPlatformVersion' field has been set.
-
clearTargetPlatformVersion
CorDappManifest.Builder clearTargetPlatformVersion()
Clears the value of the 'targetPlatformVersion' field.
-
hasType
boolean hasType()
Checks whether the 'type' field has been set.
-
clearType
CorDappManifest.Builder clearType()
Clears the value of the 'type' field.
-
hasShortName
boolean hasShortName()
Checks whether the 'shortName' field has been set.
-
clearShortName
CorDappManifest.Builder clearShortName()
Clears the value of the 'shortName' field.
-
hasVendor
boolean hasVendor()
Checks whether the 'vendor' field has been set.
-
clearVendor
CorDappManifest.Builder clearVendor()
Clears the value of the 'vendor' field.
-
hasVersionId
boolean hasVersionId()
Checks whether the 'versionId' field has been set.
-
clearVersionId
CorDappManifest.Builder clearVersionId()
Clears the value of the 'versionId' field.
-
hasLicense
boolean hasLicense()
Checks whether the 'license' field has been set.
-
clearLicense
CorDappManifest.Builder clearLicense()
Clears the value of the 'license' field.
-
hasAttributes
boolean hasAttributes()
Checks whether the 'attributes' field has been set.
-
clearAttributes
CorDappManifest.Builder clearAttributes()
Clears the value of the 'attributes' field.
-
build
CorDappManifest build()
-
-
-
-