KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > modfact > jmi > repository > javax > jmi > model > AttachesToImpl


1 package org.objectweb.modfact.jmi.repository.javax.jmi.model;
2 import org.objectweb.modfact.jmi.reflect.*;
3 public class AttachesToImpl extends RefAssociationImpl implements javax.jmi.model.AttachesTo {
4
5     public boolean exists(javax.jmi.model.ModelElement modelElement,javax.jmi.model.Tag tag) throws javax.jmi.reflect.JmiException {
6         return refLinkExists(modelElement,tag);
7     }
8     public boolean add(javax.jmi.model.ModelElement modelElement,javax.jmi.model.Tag tag) throws javax.jmi.reflect.JmiException {
9         return refAddLink(modelElement,tag);
10      }
11     public boolean remove(javax.jmi.model.ModelElement modelElement,javax.jmi.model.Tag tag) throws javax.jmi.reflect.JmiException {
12         return refRemoveLink(modelElement,tag);
13      }
14     public java.util.Collection JavaDoc getModelElement(javax.jmi.model.Tag tag) throws javax.jmi.reflect.JmiException {
15         return (java.util.List JavaDoc) refQuery("tag",tag);
16      }
17     public java.util.List JavaDoc getTag(javax.jmi.model.ModelElement modelElement) throws javax.jmi.reflect.JmiException {
18         return (java.util.List JavaDoc) refQuery("modelElement",modelElement);
19      }
20 }
21
Popular Tags