org.jdtaus.core.container
Class Module

java.lang.Object
  extended byorg.jdtaus.core.container.Module
All Implemented Interfaces:
Cloneable, Serializable

public class Module
extends Object
implements Cloneable, Serializable

Module meta-data.

A module consists of the properties , and . Property holds the name of the module uniquely identifying the module in a collection of modules. Property holds a textual description, property a textual version of the module. A module defines specifications and implementations. Properties can be additionally defined.

Version:
$Id: Module.java 2201 2007-03-21 23:59:00Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Constructor Summary
Module()
           
 
Method Summary
 Object clone()
          Creates and returns a deep copy of this object.
 boolean equals(Object o)
          Indicates whether some other object is equal to this one by comparing property .
 String getDescription()
          Gets the description of the module.
 Implementations getImplementations()
          Gets the implementations of the module.
 String getName()
          Gets the name of the module.
 Properties getProperties()
          Gets the properties of the module.
 Specifications getSpecifications()
          Gets the specifications of the module.
 String getVersion()
          Gets the version of the module.
 int hashCode()
          Returns a hash code value for this object.
 void setDescription(String value)
          Setter for property .
 void setImplementations(Implementations value)
          Setter for property .
 void setName(String value)
          Setter for property .
 void setProperties(Properties value)
          Setter for property .
 void setSpecifications(Specifications value)
          Setter for property .
 void setVersion(String value)
          Setter for property .
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Module

public Module()
Method Detail

clone

public Object clone()
Creates and returns a deep copy of this object.

Returns:
a clone of this instance.

equals

public final boolean equals(Object o)
Indicates whether some other object is equal to this one by comparing property .

Parameters:
o - the reference object with which to compare.
Returns:
if this object is the same as ; otherwise.

getDescription

public String getDescription()
Gets the description of the module.

Returns:
the description of the module.

getImplementations

public Implementations getImplementations()
Gets the implementations of the module.

Returns:
implementations of the module.

getName

public String getName()
Gets the name of the module.

Returns:
the unique name of the module.

getProperties

public Properties getProperties()
Gets the properties of the module.

Returns:
the properties of the module.

getSpecifications

public Specifications getSpecifications()
Gets the specifications of the module.

Returns:
the specifications of the module.

getVersion

public String getVersion()
Gets the version of the module.

Returns:
the version of the module.

hashCode

public final int hashCode()
Returns a hash code value for this object.

Returns:
a hash code value for this object.

setDescription

public void setDescription(String value)
Setter for property .

Parameters:
value - the new description of the module.

setImplementations

public void setImplementations(Implementations value)
Setter for property .

Parameters:
value - the new implementations of the module.

setName

public void setName(String value)
Setter for property .

Parameters:
value - the new name of the module.

setProperties

public void setProperties(Properties value)
Setter for property .

Parameters:
value - the new properties of the module.

setSpecifications

public void setSpecifications(Specifications value)
Setter for property .

Parameters:
value - the new specifications of the module.

setVersion

public void setVersion(String value)
Setter for property .

Parameters:
value - the new version of the module.

toString

public String toString()
Returns a string representation of the object.

Returns:
a string representation of the object.


Copyright © 2005-2007 jDTAUS. All Rights Reserved.