
public class Module extends ModelObject implements Cloneable, Serializable
A module consists of the properties name, description
and version. Property name holds the name of the module
uniquely identifying the module in a collection of modules. Property
description holds a textual description, property version
a textual version of the module. A module defines specifications,
implementations and properties.
| Constructor and Description |
|---|
Module()
Creates a new
Module instance. |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(Object o)
Indicates whether some other object is equal to this one by comparing
properties
name and version. |
Implementations |
getImplementations()
Gets the implementations of the module.
|
Messages |
getMessages()
Gets the messages 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 |
setImplementations(Implementations value)
Setter for property
implementations. |
void |
setMessages(Messages value)
Setter for property
messages. |
void |
setName(String value)
Setter for property
name. |
void |
setProperties(Properties value)
Setter for property
properties. |
void |
setSpecifications(Specifications value)
Setter for property
specifications. |
void |
setVersion(String value)
Setter for property
version. |
String |
toString()
Returns a string representation of the object.
|
getDocumentation, getModelVersion, setDocumentation, setModelVersionpublic Module()
Module instance.public Object clone()
public final boolean equals(Object o)
name and version.public Implementations getImplementations()
public Messages getMessages()
public Properties getProperties()
public Specifications getSpecifications()
public String getVersion()
null.public final int hashCode()
public void setImplementations(Implementations value)
implementations.value - the new implementations of the module.public void setMessages(Messages value)
messages.value - new messages of the module.public void setName(String value)
name.value - the new name of the module.public void setProperties(Properties value)
properties.value - the new properties of the module.public void setSpecifications(Specifications value)
specifications.value - the new specifications of the module.public void setVersion(String value)
version.value - the new version of the module.Copyright © 2005-2012 jDTAUS. All Rights Reserved.