MUM.data
Class ComponentDescriptor

java.lang.Object
  extended byMUM.data.ComponentDescriptor
All Implemented Interfaces:
java.io.Serializable

public class ComponentDescriptor
extends java.lang.Object
implements java.io.Serializable

This class define a component descriptor, that is a simple ADT to describe the classes that compose a certain entity, the interface of the entity and the class to be used as a factory for that entity.

See Also:
Serialized Form

Constructor Summary
ComponentDescriptor(java.lang.String packageName, java.lang.String interfaceName, java.lang.String className, java.util.HashSet classList)
          Constructor
 
Method Summary
 boolean comparePackageInterface(ComponentDescriptor other)
          This method compares two istances.
 java.util.HashSet getClassList()
          This method returns the classList
 java.lang.String getClassName()
          This method returns the className
 java.lang.String getInterfaceName()
          This method returns the interfaceName
 java.lang.String getPackageName()
          This method returns the packageName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentDescriptor

public ComponentDescriptor(java.lang.String packageName,
                           java.lang.String interfaceName,
                           java.lang.String className,
                           java.util.HashSet classList)
Constructor

Method Detail

comparePackageInterface

public boolean comparePackageInterface(ComponentDescriptor other)
This method compares two istances. It returns true if the istance have the same packageName and className of the istance passed as argument.


getPackageName

public java.lang.String getPackageName()
This method returns the packageName


getInterfaceName

public java.lang.String getInterfaceName()
This method returns the interfaceName


getClassList

public java.util.HashSet getClassList()
This method returns the classList


getClassName

public java.lang.String getClassName()
This method returns the className



Copyright © 2004 Luca Foschini