org.jdtaus.core.container
Class Implementation

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

public class Implementation
extends Object
implements Cloneable, Serializable

Implementation meta-data.

An implementation consists of the properties , , and . Property holds an identifier uniquely identifying the implementation in a collection of implementations. Property holds a name of the implementation uniquely identifying the implementation for a specification. Property holds vendor information for the vendor providing the implementation. Property holds a textual version of the implementation. Properties, dependencies and implemented specifications may be inherited from a up the hierarchy.

Version:
$Id: Implementation.java 2230 2007-03-26 01:37:48Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Constructor Summary
Implementation()
           
 
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 .
 Dependencies getDependencies()
          Gets the dependencies of the implementation.
 String getIdentifier()
          Gets the identifier of the implementation.
 Specifications getImplementedSpecifications()
          Gets the specifications the implementation implements.
 String getModuleName()
          Gets the name of the module holding the implementation.
 String getName()
          Gets the name of the implementation.
 Implementation getParent()
          Gets the parent implementation the implementation inherits from.
 Properties getProperties()
          Gets the properties of the implementation.
 String getVendor()
          Gets the vendor of the implementation.
 String getVersion()
          Gets the version of the implementation.
 int hashCode()
          Returns a hash code value for this object.
 void setDependencies(Dependencies value)
          Setter for property .
 void setIdentifier(String value)
          Setter for property .
 void setImplementedSpecifications(Specifications value)
          Setter for property .
 void setModuleName(String value)
          Setter for property .
 void setName(String value)
          Setter for property .
 void setParent(Implementation value)
          Setter for property .
 void setProperties(Properties value)
          Setter for property .
 void setVendor(String 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

Implementation

public Implementation()
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.

getDependencies

public Dependencies getDependencies()
Gets the dependencies of the implementation.

Returns:
the dependencies the implementation depends on.

getIdentifier

public String getIdentifier()
Gets the identifier of the implementation.

Returns:
the unique identifier of the implementation.

getImplementedSpecifications

public Specifications getImplementedSpecifications()
Gets the specifications the implementation implements.

Returns:
the specifications the implementation implements.

getModuleName

public String getModuleName()
Gets the name of the module holding the implementation.

Returns:
the name of the module holding the implementation.

getName

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

Returns:
the name of the implementation.

getParent

public Implementation getParent()
Gets the parent implementation the implementation inherits from.

Returns:
the parent implementation the implementation inherits from or if the implementation has no parent.

getProperties

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

Returns:
the properties of the implementation.

getVendor

public String getVendor()
Gets the vendor of the implementation.

Returns:
the vendor of the implementation.

getVersion

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

Returns:
the version of the implementation.

hashCode

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

Returns:
a hash code value for this object.

setDependencies

public void setDependencies(Dependencies value)
Setter for property .

Parameters:
value - the new dependencies of the implementation.

setIdentifier

public void setIdentifier(String value)
Setter for property .

Parameters:
value - the new identifier of the implementation.

setImplementedSpecifications

public void setImplementedSpecifications(Specifications value)
Setter for property .

Parameters:
value - the new specifications the implementation implements.

setModuleName

public void setModuleName(String value)
Setter for property .

Parameters:
value - the new name of the module holding the implementation.

setName

public void setName(String value)
Setter for property .

Parameters:
value - the new name of the implementation.

setParent

public void setParent(Implementation value)
Setter for property .

Parameters:
value - the new parent implementation of the implementation.

setProperties

public void setProperties(Properties value)
Setter for property .

Parameters:
value - new properties of the implementation.

setVendor

public void setVendor(String value)
Setter for property .

Parameters:
value - the new vendor of the implementation.

setVersion

public void setVersion(String value)
Setter for property .

Parameters:
value - the new version of the implementation.

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.