1 package org.objectweb.modfact.jmi.repository.simpletrl; 2 import simpletrl.*; 3 import org.objectweb.modfact.jmi.reflect.*; 4 public class HasBodyImpl extends RefAssociationImpl implements simpletrl.HasBody { 5 6 public boolean exists(simpletrl.StatementExp end0,simpletrl.Rule end1) throws javax.jmi.reflect.JmiException { 7 return refLinkExists(end0,end1); 8 } 9 public boolean add(simpletrl.StatementExp end0,simpletrl.Rule end1) throws javax.jmi.reflect.JmiException { 10 return refAddLink(end0,end1); 11 } 12 public boolean remove(simpletrl.StatementExp end0,simpletrl.Rule end1) throws javax.jmi.reflect.JmiException { 13 return refRemoveLink(end0,end1); 14 } 15 public java.util.List getStatements(simpletrl.Rule end) throws javax.jmi.reflect.JmiException { 16 return (java.util.List ) refQuery("rule",end); 17 } 18 } 19 | Popular Tags |