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
|
Rev | Line | |
---|
[8780cbec] | 1 | package com.nailabs.abac.process; |
---|
| 2 | |
---|
| 3 | import com.nailabs.abac.trust.*; |
---|
| 4 | import com.nailabs.abac.test.*; |
---|
| 5 | import 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 | */ |
---|
| 11 | public 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.