Class VirtualNodeInfo
-
- All Implemented Interfaces:
-
java.io.Externalizable
,java.io.Serializable
,java.lang.Comparable
,org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.GenericRecord
,org.apache.avro.generic.IndexedRecord
,org.apache.avro.specific.SpecificRecord
public class VirtualNodeInfo extends SpecificRecordBase implements SpecificRecord
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
VirtualNodeInfo.Builder
RecordBuilder for VirtualNodeInfo instances.
-
Field Summary
Fields Modifier and Type Field Description public final static Schema
SCHEMA$
public HoldingIdentity
holdingIdentity
public CpiIdentifier
cpiIdentifier
public String
vaultDdlConnectionId
public String
vaultDmlConnectionId
public String
cryptoDdlConnectionId
public String
cryptoDmlConnectionId
public String
uniquenessDdlConnectionId
public String
uniquenessDmlConnectionId
public String
hsmConnectionId
public VirtualNodeOperationalState
flowP2pOperationalStatus
public VirtualNodeOperationalState
flowStartOperationalStatus
public VirtualNodeOperationalState
flowOperationalStatus
public VirtualNodeOperationalState
vaultDbOperationalStatus
public String
operationInProgress
public String
externalMessagingRouteConfig
public int
version
public Instant
timestamp
-
Constructor Summary
Constructors Constructor Description VirtualNodeInfo()
Default constructor. VirtualNodeInfo(HoldingIdentity holdingIdentity, CpiIdentifier cpiIdentifier, String vaultDdlConnectionId, String vaultDmlConnectionId, String cryptoDdlConnectionId, String cryptoDmlConnectionId, String uniquenessDdlConnectionId, String uniquenessDmlConnectionId, String hsmConnectionId, VirtualNodeOperationalState flowP2pOperationalStatus, VirtualNodeOperationalState flowStartOperationalStatus, VirtualNodeOperationalState flowOperationalStatus, VirtualNodeOperationalState vaultDbOperationalStatus, String operationInProgress, String externalMessagingRouteConfig, Integer version, Instant timestamp)
All-args constructor.
-
Method Summary
Modifier and Type Method Description HoldingIdentity
getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. void
setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. CpiIdentifier
getCpiIdentifier()
Gets the value of the 'cpiIdentifier' field. void
setCpiIdentifier(CpiIdentifier value)
Sets the value of the 'cpiIdentifier' field. String
getVaultDdlConnectionId()
Gets the value of the 'vaultDdlConnectionId' field. void
setVaultDdlConnectionId(String value)
Sets the value of the 'vaultDdlConnectionId' field. String
getVaultDmlConnectionId()
Gets the value of the 'vaultDmlConnectionId' field. void
setVaultDmlConnectionId(String value)
Sets the value of the 'vaultDmlConnectionId' field. String
getCryptoDdlConnectionId()
Gets the value of the 'cryptoDdlConnectionId' field. void
setCryptoDdlConnectionId(String value)
Sets the value of the 'cryptoDdlConnectionId' field. String
getCryptoDmlConnectionId()
Gets the value of the 'cryptoDmlConnectionId' field. void
setCryptoDmlConnectionId(String value)
Sets the value of the 'cryptoDmlConnectionId' field. String
getUniquenessDdlConnectionId()
Gets the value of the 'uniquenessDdlConnectionId' field. void
setUniquenessDdlConnectionId(String value)
Sets the value of the 'uniquenessDdlConnectionId' field. String
getUniquenessDmlConnectionId()
Gets the value of the 'uniquenessDmlConnectionId' field. void
setUniquenessDmlConnectionId(String value)
Sets the value of the 'uniquenessDmlConnectionId' field. String
getHsmConnectionId()
Gets the value of the 'hsmConnectionId' field. void
setHsmConnectionId(String value)
Sets the value of the 'hsmConnectionId' field. VirtualNodeOperationalState
getFlowP2pOperationalStatus()
Gets the value of the 'flowP2pOperationalStatus' field. void
setFlowP2pOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowP2pOperationalStatus' field. VirtualNodeOperationalState
getFlowStartOperationalStatus()
Gets the value of the 'flowStartOperationalStatus' field. void
setFlowStartOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowStartOperationalStatus' field. VirtualNodeOperationalState
getFlowOperationalStatus()
Gets the value of the 'flowOperationalStatus' field. void
setFlowOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowOperationalStatus' field. VirtualNodeOperationalState
getVaultDbOperationalStatus()
Gets the value of the 'vaultDbOperationalStatus' field. void
setVaultDbOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'vaultDbOperationalStatus' field. String
getOperationInProgress()
Gets the value of the 'operationInProgress' field. void
setOperationInProgress(String value)
Sets the value of the 'operationInProgress' field. String
getExternalMessagingRouteConfig()
Gets the value of the 'externalMessagingRouteConfig' field. void
setExternalMessagingRouteConfig(String value)
Sets the value of the 'externalMessagingRouteConfig' field. int
getVersion()
Gets the value of the 'version' field. void
setVersion(int value)
Sets the value of the 'version' field. Instant
getTimestamp()
Gets the value of the 'timestamp' field. void
setTimestamp(Instant value)
Sets the value of the 'timestamp' field. static Schema
getClassSchema()
static BinaryMessageEncoder<VirtualNodeInfo>
getEncoder()
Return the BinaryMessageEncoder instance used by this class. static BinaryMessageDecoder<VirtualNodeInfo>
getDecoder()
Return the BinaryMessageDecoder instance used by this class. static BinaryMessageDecoder<VirtualNodeInfo>
createDecoder(SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore. ByteBuffer
toByteBuffer()
Serializes this VirtualNodeInfo to a ByteBuffer. static VirtualNodeInfo
fromByteBuffer(ByteBuffer b)
Deserializes a VirtualNodeInfo from a ByteBuffer. SpecificData
getSpecificData()
Schema
getSchema()
Object
get(int field$)
Conversion<out Object>
getConversion(int field)
void
put(int field$, Object value$)
static VirtualNodeInfo.Builder
newBuilder()
Creates a new VirtualNodeInfo RecordBuilder. static VirtualNodeInfo.Builder
newBuilder(VirtualNodeInfo.Builder other)
Creates a new VirtualNodeInfo RecordBuilder by copying an existing Builder. static VirtualNodeInfo.Builder
newBuilder(VirtualNodeInfo other)
Creates a new VirtualNodeInfo RecordBuilder by copying an existing VirtualNodeInfo instance. void
writeExternal(ObjectOutput out)
void
readExternal(ObjectInput in)
-
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, customDecode, customEncode, equals, hashCode, toString
-
Methods inherited from class org.apache.avro.generic.GenericRecord
hasField
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
VirtualNodeInfo
VirtualNodeInfo()
Default constructor.
-
VirtualNodeInfo
VirtualNodeInfo(HoldingIdentity holdingIdentity, CpiIdentifier cpiIdentifier, String vaultDdlConnectionId, String vaultDmlConnectionId, String cryptoDdlConnectionId, String cryptoDmlConnectionId, String uniquenessDdlConnectionId, String uniquenessDmlConnectionId, String hsmConnectionId, VirtualNodeOperationalState flowP2pOperationalStatus, VirtualNodeOperationalState flowStartOperationalStatus, VirtualNodeOperationalState flowOperationalStatus, VirtualNodeOperationalState vaultDbOperationalStatus, String operationInProgress, String externalMessagingRouteConfig, Integer version, Instant timestamp)
All-args constructor.- Parameters:
holdingIdentity
- The new value for holdingIdentitycpiIdentifier
- The new value for cpiIdentifiervaultDdlConnectionId
- ID of virtual node Vault DB connection for DDL operations.vaultDmlConnectionId
- ID of virtual node Vault DB connection for DML operations.cryptoDdlConnectionId
- ID of virtual node Crypto DB connection for DDL operations.cryptoDmlConnectionId
- ID of virtual node Crypto DB connection for DML operations.uniquenessDdlConnectionId
- ID of virtual node Uniqueness DB connection for DDL operations.uniquenessDmlConnectionId
- ID of virtual node Uniqueness DB connection for DML operations.hsmConnectionId
- ID of HSM connection.flowP2pOperationalStatus
- The new value for flowP2pOperationalStatusflowStartOperationalStatus
- The new value for flowStartOperationalStatusflowOperationalStatus
- The new value for flowOperationalStatusvaultDbOperationalStatus
- The new value for vaultDbOperationalStatusoperationInProgress
- The new value for operationInProgressexternalMessagingRouteConfig
- Route configuration used for external messaging.version
- The new value for versiontimestamp
- Time ([Instant]) in milliseconds when the record was updated or added.
-
-
Method Detail
-
getHoldingIdentity
HoldingIdentity getHoldingIdentity()
Gets the value of the 'holdingIdentity' field.
-
setHoldingIdentity
void setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field.
- Parameters:
value
- the value to set.
-
getCpiIdentifier
CpiIdentifier getCpiIdentifier()
Gets the value of the 'cpiIdentifier' field.
-
setCpiIdentifier
void setCpiIdentifier(CpiIdentifier value)
Sets the value of the 'cpiIdentifier' field.
- Parameters:
value
- the value to set.
-
getVaultDdlConnectionId
String getVaultDdlConnectionId()
Gets the value of the 'vaultDdlConnectionId' field.
-
setVaultDdlConnectionId
void setVaultDdlConnectionId(String value)
Sets the value of the 'vaultDdlConnectionId' field. ID of virtual node Vault DB connection for DDL operations. Null value means that DB is managed externally.
- Parameters:
value
- the value to set.
-
getVaultDmlConnectionId
String getVaultDmlConnectionId()
Gets the value of the 'vaultDmlConnectionId' field.
-
setVaultDmlConnectionId
void setVaultDmlConnectionId(String value)
Sets the value of the 'vaultDmlConnectionId' field. ID of virtual node Vault DB connection for DML operations.
- Parameters:
value
- the value to set.
-
getCryptoDdlConnectionId
String getCryptoDdlConnectionId()
Gets the value of the 'cryptoDdlConnectionId' field.
-
setCryptoDdlConnectionId
void setCryptoDdlConnectionId(String value)
Sets the value of the 'cryptoDdlConnectionId' field. ID of virtual node Crypto DB connection for DDL operations. Null value means that DB is managed externally.
- Parameters:
value
- the value to set.
-
getCryptoDmlConnectionId
String getCryptoDmlConnectionId()
Gets the value of the 'cryptoDmlConnectionId' field.
-
setCryptoDmlConnectionId
void setCryptoDmlConnectionId(String value)
Sets the value of the 'cryptoDmlConnectionId' field. ID of virtual node Crypto DB connection for DML operations.
- Parameters:
value
- the value to set.
-
getUniquenessDdlConnectionId
String getUniquenessDdlConnectionId()
Gets the value of the 'uniquenessDdlConnectionId' field.
-
setUniquenessDdlConnectionId
void setUniquenessDdlConnectionId(String value)
Sets the value of the 'uniquenessDdlConnectionId' field. ID of virtual node Uniqueness DB connection for DDL operations. Null value means that DB is managed externally.
- Parameters:
value
- the value to set.
-
getUniquenessDmlConnectionId
String getUniquenessDmlConnectionId()
Gets the value of the 'uniquenessDmlConnectionId' field.
-
setUniquenessDmlConnectionId
void setUniquenessDmlConnectionId(String value)
Sets the value of the 'uniquenessDmlConnectionId' field. ID of virtual node Uniqueness DB connection for DML operations.
- Parameters:
value
- the value to set.
-
getHsmConnectionId
String getHsmConnectionId()
Gets the value of the 'hsmConnectionId' field.
-
setHsmConnectionId
void setHsmConnectionId(String value)
Sets the value of the 'hsmConnectionId' field. ID of HSM connection. Null value means that HSM is not used.
- Parameters:
value
- the value to set.
-
getFlowP2pOperationalStatus
VirtualNodeOperationalState getFlowP2pOperationalStatus()
Gets the value of the 'flowP2pOperationalStatus' field.
-
setFlowP2pOperationalStatus
void setFlowP2pOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowP2pOperationalStatus' field.
- Parameters:
value
- the value to set.
-
getFlowStartOperationalStatus
VirtualNodeOperationalState getFlowStartOperationalStatus()
Gets the value of the 'flowStartOperationalStatus' field.
-
setFlowStartOperationalStatus
void setFlowStartOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowStartOperationalStatus' field.
- Parameters:
value
- the value to set.
-
getFlowOperationalStatus
VirtualNodeOperationalState getFlowOperationalStatus()
Gets the value of the 'flowOperationalStatus' field.
-
setFlowOperationalStatus
void setFlowOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowOperationalStatus' field.
- Parameters:
value
- the value to set.
-
getVaultDbOperationalStatus
VirtualNodeOperationalState getVaultDbOperationalStatus()
Gets the value of the 'vaultDbOperationalStatus' field.
-
setVaultDbOperationalStatus
void setVaultDbOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'vaultDbOperationalStatus' field.
- Parameters:
value
- the value to set.
-
getOperationInProgress
String getOperationInProgress()
Gets the value of the 'operationInProgress' field.
-
setOperationInProgress
void setOperationInProgress(String value)
Sets the value of the 'operationInProgress' field.
- Parameters:
value
- the value to set.
-
getExternalMessagingRouteConfig
String getExternalMessagingRouteConfig()
Gets the value of the 'externalMessagingRouteConfig' field.
-
setExternalMessagingRouteConfig
void setExternalMessagingRouteConfig(String value)
Sets the value of the 'externalMessagingRouteConfig' field. Route configuration used for external messaging. Null value means that no configuration was provided.
- Parameters:
value
- the value to set.
-
getVersion
int getVersion()
Gets the value of the 'version' field.
-
setVersion
void setVersion(int value)
Sets the value of the 'version' field.
- Parameters:
value
- the value to set.
-
getTimestamp
Instant getTimestamp()
Gets the value of the 'timestamp' field.
-
setTimestamp
void setTimestamp(Instant value)
Sets the value of the 'timestamp' field. Time ([Instant]) in milliseconds when the record was updated or added.
- Parameters:
value
- the value to set.
-
getClassSchema
static Schema getClassSchema()
-
getEncoder
static BinaryMessageEncoder<VirtualNodeInfo> getEncoder()
Return the BinaryMessageEncoder instance used by this class.
-
getDecoder
static BinaryMessageDecoder<VirtualNodeInfo> getDecoder()
Return the BinaryMessageDecoder instance used by this class.
-
createDecoder
static BinaryMessageDecoder<VirtualNodeInfo> createDecoder(SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore.
- Parameters:
resolver
- a SchemaStore used to find schemas by fingerprint
-
toByteBuffer
ByteBuffer toByteBuffer()
Serializes this VirtualNodeInfo to a ByteBuffer.
-
fromByteBuffer
static VirtualNodeInfo fromByteBuffer(ByteBuffer b)
Deserializes a VirtualNodeInfo from a ByteBuffer.
- Parameters:
b
- a byte buffer holding serialized data for an instance of this class
-
getSpecificData
SpecificData getSpecificData()
-
getSchema
Schema getSchema()
-
getConversion
Conversion<out Object> getConversion(int field)
-
newBuilder
static VirtualNodeInfo.Builder newBuilder()
Creates a new VirtualNodeInfo RecordBuilder.
-
newBuilder
static VirtualNodeInfo.Builder newBuilder(VirtualNodeInfo.Builder other)
Creates a new VirtualNodeInfo RecordBuilder by copying an existing Builder.
- Parameters:
other
- The existing builder to copy.
-
newBuilder
static VirtualNodeInfo.Builder newBuilder(VirtualNodeInfo other)
Creates a new VirtualNodeInfo RecordBuilder by copying an existing VirtualNodeInfo instance.
- Parameters:
other
- The existing instance to copy.
-
writeExternal
void writeExternal(ObjectOutput out)
-
readExternal
void readExternal(ObjectInput in)
-
-
-
-