This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 61362
Collapse All | Expand All

(-)src/org/netbeans/jmi/javamodel/HasBound.java (-5 / +5 lines)
Lines 28-60 Link Here
28
     * @param bound Value of the second association end.
28
     * @param bound Value of the second association end.
29
     * @return Returns true if the queried link exists.
29
     * @return Returns true if the queried link exists.
30
     */
30
     */
31
    public boolean exists(org.netbeans.jmi.javamodel.WildCard wildCards, org.netbeans.jmi.javamodel.JavaClass bound);
31
    public boolean exists(org.netbeans.jmi.javamodel.WildCard wildCards, org.netbeans.jmi.javamodel.Type bound);
32
    /**
32
    /**
33
     * Queries the instance objects that are related to a particular instance 
33
     * Queries the instance objects that are related to a particular instance 
34
     * object by a link in the current associations link set.
34
     * object by a link in the current associations link set.
35
     * @param bound Required value of the second association end.
35
     * @param bound Required value of the second association end.
36
     * @return Collection of related objects.
36
     * @return Collection of related objects.
37
     */
37
     */
38
    public java.util.Collection getWildCards(org.netbeans.jmi.javamodel.JavaClass bound);
38
    public java.util.Collection getWildCards(org.netbeans.jmi.javamodel.Type bound);
39
    /**
39
    /**
40
     * Queries the instance object that is related to a particular instance object 
40
     * Queries the instance object that is related to a particular instance object 
41
     * by a link in the current associations link set.
41
     * by a link in the current associations link set.
42
     * @param wildCards Required value of the first association end.
42
     * @param wildCards Required value of the first association end.
43
     * @return Related object or <code>null</code> if none exists.
43
     * @return Related object or <code>null</code> if none exists.
44
     */
44
     */
45
    public org.netbeans.jmi.javamodel.JavaClass getBound(org.netbeans.jmi.javamodel.WildCard wildCards);
45
    public org.netbeans.jmi.javamodel.Type getBound(org.netbeans.jmi.javamodel.WildCard wildCards);
46
    /**
46
    /**
47
     * Creates a link between the pair of instance objects in the associations 
47
     * Creates a link between the pair of instance objects in the associations 
48
     * link set.
48
     * link set.
49
     * @param wildCards Value of the first association end.
49
     * @param wildCards Value of the first association end.
50
     * @param bound Value of the second association end.
50
     * @param bound Value of the second association end.
51
     */
51
     */
52
    public boolean add(org.netbeans.jmi.javamodel.WildCard wildCards, org.netbeans.jmi.javamodel.JavaClass bound);
52
    public boolean add(org.netbeans.jmi.javamodel.WildCard wildCards, org.netbeans.jmi.javamodel.Type bound);
53
    /**
53
    /**
54
     * Removes a link between a pair of instance objects in the current associations 
54
     * Removes a link between a pair of instance objects in the current associations 
55
     * link set.
55
     * link set.
56
     * @param wildCards Value of the first association end.
56
     * @param wildCards Value of the first association end.
57
     * @param bound Value of the second association end.
57
     * @param bound Value of the second association end.
58
     */
58
     */
59
    public boolean remove(org.netbeans.jmi.javamodel.WildCard wildCards, org.netbeans.jmi.javamodel.JavaClass bound);
59
    public boolean remove(org.netbeans.jmi.javamodel.WildCard wildCards, org.netbeans.jmi.javamodel.Type bound);
60
}
60
}
(-)src/org/netbeans/jmi/javamodel/Resource.java (+18 lines)
Lines 55-60 Link Here
55
     */
55
     */
56
    public java.util.List getMain();
56
    public java.util.List getMain();
57
    /**
57
    /**
58
     * Adds a new {@link Import} into this resource. This method ensures that 
59
     * the imports are sorted correctly and that an import is not present twice 
60
     * in the resource. The method may also convert class import to package import 
61
     * and do other import optimizations.
62
     * The method returns true if the set of imports in the resource was chang
63
     * ed as a result of this operation. Otherwise (if the import was already pr
64
     * esent) it returns false.
65
     * @param importToAdd Import to be added to resource.
66
     * @return Adds a new {@link Import} into this resource. This method ensures 
67
     * that the imports are sorted correctly and that an import is not present 
68
     * twice in the resource. The method may also convert class import to package 
69
     * import and do other import optimizations.
70
     * The method returns true if the set of imports in the resource was changed 
71
     * as a result of this operation. Otherwise (if the import was already pres
72
     * ent) it returns false.
73
     */
74
    public boolean addImport(org.netbeans.jmi.javamodel.Import importToAdd);
75
    /**
58
     * Returns the value of attribute timestamp.
76
     * Returns the value of attribute timestamp.
59
     * Timestamp of the resource.
77
     * Timestamp of the resource.
60
     * @return Value of attribute timestamp.
78
     * @return Value of attribute timestamp.
(-)src/org/netbeans/jmi/javamodel/WildCard.java (-4 / +4 lines)
Lines 36-57 Link Here
36
     * Returns the value of attribute boundName.
36
     * Returns the value of attribute boundName.
37
     * @return Value of attribute boundName.
37
     * @return Value of attribute boundName.
38
     */
38
     */
39
    public org.netbeans.jmi.javamodel.MultipartId getBoundName();
39
    public org.netbeans.jmi.javamodel.TypeReference getBoundName();
40
    /**
40
    /**
41
     * Sets the value of boundName attribute. See {@link #getBoundName} for description 
41
     * Sets the value of boundName attribute. See {@link #getBoundName} for description 
42
     * on the attribute.
42
     * on the attribute.
43
     * @param newValue New value to be set.
43
     * @param newValue New value to be set.
44
     */
44
     */
45
    public void setBoundName(org.netbeans.jmi.javamodel.MultipartId newValue);
45
    public void setBoundName(org.netbeans.jmi.javamodel.TypeReference newValue);
46
    /**
46
    /**
47
     * Returns the value of reference bound.
47
     * Returns the value of reference bound.
48
     * @return Value of reference bound.
48
     * @return Value of reference bound.
49
     */
49
     */
50
    public org.netbeans.jmi.javamodel.JavaClass getBound();
50
    public org.netbeans.jmi.javamodel.Type getBound();
51
    /**
51
    /**
52
     * Sets the value of reference bound. See {@link #getBound} for description 
52
     * Sets the value of reference bound. See {@link #getBound} for description 
53
     * on the reference.
53
     * on the reference.
54
     * @param newValue New value to be set.
54
     * @param newValue New value to be set.
55
     */
55
     */
56
    public void setBound(org.netbeans.jmi.javamodel.JavaClass newValue);
56
    public void setBound(org.netbeans.jmi.javamodel.Type newValue);
57
}
57
}
(-)src/org/netbeans/jmi/javamodel/WildCardClass.java (-1 / +1 lines)
Lines 33-37 Link Here
33
     * @param boundName 
33
     * @param boundName 
34
     * @return The created instance object.
34
     * @return The created instance object.
35
     */
35
     */
36
    public WildCard createWildCard(boolean isLower, org.netbeans.jmi.javamodel.MultipartId boundName);
36
    public WildCard createWildCard(boolean isLower, org.netbeans.jmi.javamodel.TypeReference boundName);
37
}
37
}

Return to bug 61362