public final class TrustEdge extends Object
TraceNode
Modifier and Type | Class and Description |
---|---|
static class |
TrustEdge.Primary
The extension of trust edges to a primary destination.
|
static class |
TrustEdge.Table
The relational store of trust edges that (in part) backs a compiled network trace.
|
Constructor and Description |
---|
TrustEdge(IDPair _registrant0,
IDPair _registrant1)
Creates a TrustEdge with default values.
|
TrustEdge(IDPair _registrant0,
IDPair _registrant1,
String bar)
Constructs a TrustEdge.
|
Modifier and Type | Method and Description |
---|---|
String |
getBar()
Describes the bar against the trust edge, if any has been set.
|
IDPair |
registrant0()
The trust source.
|
IDPair |
registrant1()
The trust destination.
|
void |
setBar(String newBar)
Sets a bar against the edge.
|
String |
toString()
Constructs a description of the edge, including the names of both registrants.
|
void |
write(TrustEdge.Table table)
Writes this edge to the table if it has unwritten changes.
|
public TrustEdge(IDPair _registrant0, IDPair _registrant1)
public String getBar()
A barred trust edge has no effect on the trust network. It extends no trust.
setBar(String)
public IDPair registrant0()
public IDPair registrant1()
public void write(TrustEdge.Table table) throws SQLException
SQLException