source: fedd/abac-src/ttg/process/LinkingImplicationEdge.java @ ecf679e

axis_examplecompt_changesinfo-opsversion-2.00version-3.01version-3.02
Last change on this file since ecf679e was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[8780cbec]1package com.nailabs.abac.process;
2
3import com.nailabs.abac.trust.*;
4import com.nailabs.abac.test.*;
5import java.util.*;
6
7/**
8 * A linking implication edge represents an edge in a trust target graph
9 * between a <CODE>LinkTTNode</CODE> and a <CODE>SimpleTTNode</CODE>
10 */
11public class LinkingImplicationEdge extends ImplicationEdge {
12    /** default constructor (used for TNT integration) */
13    public LinkingImplicationEdge() {
14        super();
15        type = new String("LinkingImplication");
16    }
17
18    /** parsed elements contructor */
19    public LinkingImplicationEdge(TrustTarget parent, TrustTarget child, 
20                                  ProcessingState state) {
21        super(parent, child, state, null);
22        type = "LinkingImplication";
23    }
24   
25    /** convert this edge into a human-readable formatted String */
26    public String toString() {
27        StringBuffer buff = new StringBuffer("[");
28        buff.append(type).append("Edge");
29        buff.append(getParent()).append(" <<=== ");
30        buff.append(getChild()).append(", state = ");
31        buff.append(state).append("]");
32        return buff.toString();
33    }
34
35}
36
37
Note: See TracBrowser for help on using the repository browser.