org.topbraidcomposer.gef.diagram.model
Class AssociationModel

java.lang.Object
  extended by org.topbraidcomposer.gef.diagram.model.ClassRelationshipModel
      extended by org.topbraidcomposer.gef.diagram.model.AssociationModel

public class AssociationModel
extends ClassRelationshipModel


Field Summary
 
Fields inherited from class org.topbraidcomposer.gef.diagram.model.ClassRelationshipModel
sourceClassModel, targetClassModel
 
Constructor Summary
AssociationModel(ResourceModel sourceClass, ResourceModel targetClass)
           
 
Method Summary
 void addSourceProperty(com.hp.hpl.jena.rdf.model.Property property)
           
 void addTargetProperty(com.hp.hpl.jena.rdf.model.Property property)
           
 java.util.List getSourceProperties()
           
 java.util.List getTargetProperties()
           
 int getWeight()
           
 
Methods inherited from class org.topbraidcomposer.gef.diagram.model.ClassRelationshipModel
delete, equals, hashCode, init
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationModel

public AssociationModel(ResourceModel sourceClass,
                        ResourceModel targetClass)
Method Detail

addSourceProperty

public void addSourceProperty(com.hp.hpl.jena.rdf.model.Property property)

addTargetProperty

public void addTargetProperty(com.hp.hpl.jena.rdf.model.Property property)

getSourceProperties

public java.util.List getSourceProperties()

getTargetProperties

public java.util.List getTargetProperties()

getWeight

public int getWeight()
Specified by:
getWeight in class ClassRelationshipModel