
public class Implementation extends ModelObject implements Cloneable, Serializable
An implementation consists of the properties identifier,
name, description, vendor and version.
Property identifier holds an identifier uniquely identifying the
implementation in a collection of implementations. Property name
holds a name of the implementation uniquely identifying the implementation
for a specification. Property description holds a textual
description. Property vendor holds vendor information for the vendor
providing the implementation. Property version holds a textual
version of the implementation. Properties, dependencies and implemented
specifications may be inherited from a parent up the hierarchy.
Property final flags an implementation as the final node in an
inheritance hierarchy.
| Constructor and Description |
|---|
Implementation()
Creates a new
Implementation 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
identifier and version. |
Dependencies |
getDeclaredDependencies()
Gets the declared dependencies of the implementation.
|
Specifications |
getDeclaredImplementedSpecifications()
Gets the specifications the implementation declares to implement.
|
Messages |
getDeclaredMessages()
Gets the declared messages of the implementation.
|
Properties |
getDeclaredProperties()
Gets the declared properties of the implementation.
|
Dependencies |
getDependencies()
Gets the dependencies of the implementation.
|
String |
getIdentifier()
Gets the identifier of the implementation.
|
Specifications |
getImplementedSpecifications()
Gets the specifications the implementation implements.
|
Messages |
getMessages()
Gets the messages of the implementation.
|
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.
|
boolean |
isFinal()
Gets a flag indicating if the implementation is a final node
in an inheritance hierarchy.
|
void |
setDependencies(Dependencies value)
Setter for property
dependencies. |
void |
setFinal(boolean value)
Setter for property
final. |
void |
setIdentifier(String value)
Setter for property
identifier. |
void |
setImplementedSpecifications(Specifications value)
Setter for property
implementedSpecifications. |
void |
setMessages(Messages value)
Setter for property
messages. |
void |
setModuleName(String value)
Setter for property
moduleName. |
void |
setName(String value)
Setter for property
name. |
void |
setParent(Implementation value)
Setter for property
parent. |
void |
setProperties(Properties value)
Setter for property
properties. |
void |
setVendor(String value)
Setter for property
name. |
void |
setVersion(String value)
Setter for property
version. |
String |
toString()
Returns a string representation of the object.
|
getDocumentation, getModelVersion, setDocumentation, setModelVersionpublic Implementation()
Implementation instance.public Object clone()
public final boolean equals(Object o)
identifier and version.public Dependencies getDeclaredDependencies()
public Specifications getDeclaredImplementedSpecifications()
public Messages getDeclaredMessages()
public Properties getDeclaredProperties()
public Dependencies getDependencies()
The dependencies of an implementation are a merged set of all parent dependencies overwritten by any declared dependencies.
IllegalDependencyTypeException - for any dependency type collisions
during merging.public String getIdentifier()
public Specifications getImplementedSpecifications()
The specifications an implementation implements are a merged set of all specifications implemented by any parent overwritten by any declared implemented specifications.
public Messages getMessages()
The messages of an implementation are a merged set of all parent messages overwritten by any declared messages.
public String getModuleName()
public String getName()
public Implementation getParent()
null if the implementation has no parent.InheritanceConstraintExceptionpublic Properties getProperties()
The properties of an implementation are a merged set of all parent properties overwritten by any declared properties.
IllegalPropertyTypeException - for any property type collisions
during merging.PropertyOverwriteConstraintException - if the implementation does
not provide values for all properties declared for its implemented
specifications.public String getVendor()
public String getVersion()
null.public final int hashCode()
public boolean isFinal()
true if the implementation is a final node in an
inheritance hierarchy; false if the implementation is allowed
to be the parent of another implementation.InheritanceConstraintExceptionpublic void setDependencies(Dependencies value)
dependencies.value - the new dependencies of the implementation.public void setFinal(boolean value)
final.value - true if the implementation is a final node in an
inheritance hierarchy; false if the implementation is allowed
to be the parent of another implementation.InheritanceConstraintExceptionpublic void setIdentifier(String value)
identifier.value - the new identifier of the implementation.public void setImplementedSpecifications(Specifications value)
implementedSpecifications.value - the new specifications the implementation implements.public void setMessages(Messages value)
messages.value - new messages of the implementation.public void setModuleName(String value)
moduleName.value - the new name of the module holding the implementation.public void setName(String value)
name.value - the new name of the implementation.public void setParent(Implementation value)
parent.value - the new parent implementation of the implementation.InheritanceConstraintException - if value is flagged as
final.public void setProperties(Properties value)
properties.value - new properties of the implementation.public void setVendor(String value)
name.value - the new vendor of the implementation.public void setVersion(String value)
version.value - the new version of the implementation.Copyright © 2005-2012 jDTAUS. All Rights Reserved.