VaultCredentialEntity
@Entity @Table( name = "builder_vault_credential", indexes = {@Index(name = "ix_builder_vault_cred_vault", columnList = "vault_id")}) public class VaultCredentialEntity
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:28–140Vault 凭证 Entity,在多次调用之间保存和恢复会话与记忆数据。位于 io.agentscope.builder.web.persistence.jpa 包。核心成员包括 getRowId、setRowId、getCredentialId、setCredentialId、getVaultId、setVaultId。
Encrypted credential entry inside a VaultEntity.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public VaultCredentialEntity() | 初始化 `VaultCredentialEntity` 实例。 Creates a new instance. |
方法摘要Method Summary
构造器详情Constructor Detail
VaultCredentialEntity
public VaultCredentialEntity()
初始化 VaultCredentialEntity 实例。
Creates a new instance.
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:67方法详情Method Detail
getRowId
public Long getRowId()
获取 getRowId。
Returns the row id.
Longio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:69–71setRowId
public void setRowId(Long rowId)
设置 setRowId。
Sets the row id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
rowId | Long | row 标识(类型 `Long`)。The row id. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:73–75getCredentialId
public String getCredentialId()
获取凭证标识。
Returns the credential id.
Stringio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:77–79setCredentialId
public void setCredentialId(String credentialId)
设置凭证标识。
Sets the credential id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
credentialId | String | 凭证标识(类型 `String`)。The credential id. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:81–83getVaultId
public String getVaultId()
获取 getVaultId。
Returns the vault id.
Stringio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:85–87setVaultId
public void setVaultId(String vaultId)
设置 setVaultId。
Sets the vault id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
vaultId | String | vault 标识(类型 `String`)。The vault id. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:89–91getCredentialType
public String getCredentialType()
获取凭证类型。
Returns the credential type.
Stringio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:93–95setCredentialType
public void setCredentialType(String credentialType)
设置凭证类型。
Sets the credential type.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
credentialType | String | 凭证类型(类型 `String`)。The credential type. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:97–99getLabel
public String getLabel()
获取标签。
Returns the label.
Stringio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:101–103setLabel
public void setLabel(String label)
设置标签。
Sets the label.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
label | String | 标签(类型 `String`)。The label. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:105–107getTarget
public String getTarget()
获取目标。
Returns the target.
Stringio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:109–111setTarget
public void setTarget(String target)
设置目标。
Sets the target.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
target | String | 目标(类型 `String`)。The target. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:113–115getCiphertext
public String getCiphertext()
获取 getCiphertext。
Returns the ciphertext.
Stringio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:117–119setCiphertext
public void setCiphertext(String ciphertext)
设置 setCiphertext。
Sets the ciphertext.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
ciphertext | String | ciphertext(类型 `String`)。The ciphertext. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:121–123getCreatedAt
public long getCreatedAt()
获取已创建 At。
Returns the created at.
longio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:125–127setCreatedAt
public void setCreatedAt(long createdAt)
设置已创建 At。
Sets the created at.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
createdAt | long | 已创建 At(类型 `long`)。The created at. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:129–131getUpdatedAt
public long getUpdatedAt()
获取已更新 At。
Returns the updated at.
longio/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:133–135setUpdatedAt
public void setUpdatedAt(long updatedAt)
设置已更新 At。
Sets the updated at.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
updatedAt | long | 已更新 At(类型 `long`)。The updated at. |
io/agentscope/builder/web/persistence/jpa/VaultCredentialEntity.java:137–139