[Uml-devel] [Bug 130793] New: importing java subinterface before superinterface results in superinterface not being treated as an interface
JP Fournier
jfournier121 at rogers.com
Fri Jul 14 00:52:20 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=130793
Summary: importing java subinterface before superinterface
results in superinterface not being treated as an
interface
Product: umbrello
Version: unspecified
Platform: Slackware Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: jfournier121 rogers com
Version: (using KDE KDE 3.5.0)
Installed from: Slackware Packages
Compiler: gcc 3.4.4
OS: Linux
steps to reproduce:
- import ClassInfo.java (interface extends Info)
- import Info.java (interface)
- drag classes into class digram
- Info is missing <<interface>> stereotype
------------------------------
import java.io.*;
import java.beans.*;
public interface ClassInfo extends Info {
void build(ProjectOptions options) throws IOException;
// void setDirectory(String dir );
/** return a deep copy of the class info */
ClassInfo copy();
void setPackageName( String name );
String getPackageName();
//void setComment( String comment );
//String getComment();
//void addImport( String imports );
String getImports();
void setImports(String imports);
//void setVisibility( Visibility visibility );
//Visibility getVisibility();
//void addModifier( Modifier modifier);
//Modifier[] getModifiers();
//void setClassType( ClassType type );
//ClassType getClassType();
//void setClassName( String name );
//String getClassName();
void setSuperClass( String superClass );
String getSuperClass();
void setInterfaces( String implement );
String getInterfaces();
//void addVariable( VariableInfo var );
VariableInfo[] getVariables( );
VariableInfo createVariable();
void removeVariable( VariableInfo var );
void clearVariables();
// void addVariable( Visibility visibility,
// boolean isStatic,
// boolean isFinal,
// Type type,
// String name,
// Visibility setVisibility,
// Visibility getVisibility,
// String description );
MethodInfo[] getMethods();
MethodInfo createMethod();
void removeMethod( MethodInfo method );
void clearMethods();
//
// public void addPropertyChangeListener(PropertyChangeListener l ) ;
//
// public void removePropertyChangeListener( PropertyChangeListener l );
}
-------------------------------------------
import java.io.*;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeEvent;
public interface Info extends Serializable {
/** return a deep copy of the class info */
//ClassInfo copy();
void setComment( String comment );
String getComment();
void setVisibility( Visibility visibility );
Visibility getVisibility();
void addModifier( Modifier modifier);
Modifier[] getModifiers();
void removeModifier( Modifier modifier );
void clearModifiers();
void setType( Type type );
Type getType();
void setName( String name );
String getName();
public void addPropertyChangeListener(PropertyChangeListener l ) ;
public void removePropertyChangeListener( PropertyChangeListener l );
// void addVariable( Visibility visibility,
// boolean isStatic,
// boolean isFinal,
// Type type,
// String name,
// Visibility setVisibility,
// Visibility getVisibility,
// String description );
}
More information about the umbrello-devel
mailing list