topical media & game development
actionscript-graph-high-Relation.ax
actionscript-graph-high-Relation.ax
[swf]
flex
package ConceptGraphHigh {
public class @ax-actionscript-graph-high-Relation {
private var fromID:String; //Who makes the relation
private var toID:String; //To whom is related
private var relation:String; //The content of the relation
private var relationExplanation:String; //The explanation of the relation
//Creates a relation from fromID to toID
public function @ax-actionscript-graph-high-Relation(fromID:String, toID: String, relation:String="", relationExplanation:String=""): void {
this.fromID = fromID;
this.toID = toID;
this.relation=relation;
this.relationExplanation=relationExplanation;
}
public function getFromID():String { //Return the origin of the relation
return fromID;
}
public function setFromID(fromID:String):void { //Set the origin of the relation
this.fromID=fromID;
}
public function getToID():String { //Return the destination of the relation
return toID;
}
public function setToID(toID:String):void { //Set the destination of the relation
this.toID=toID;
}
public function get@ax-actionscript-graph-high-Relation():String{ //Return the content of the relation
return relation;
}
public function get@fileExplanation():String{ //Return the explanation of the relation
return relationExplanation;
}
public function set@ax-actionscript-graph-high-Relation(relation:String):void { //Set the content of the relation
this.relation=relation;
}
public function set@fileExplanation(relationExplanation:String):void { //Set the explanation of the relation
this.relationExplanation=relationExplanation;
}
}
}
(C) Æliens
27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.