|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdtaus.core.container.Dependency
Dependency meta-data.
A dependency consists of a name uniquely identifying the dependency in a collection of dependencies. A dependency pairs a specification with a corresponding implementation from a set of available implementations. Properties set with a dependency overwrite the properties defined by the implementation. The flag indicates if an instance of the dependency is bound to the requesting implementation.
| Constructor Summary | |
Dependency()
|
|
| 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 the values of all properties. |
Implementation |
getImplementation()
Gets the implementation of the dependency. |
String |
getName()
Gets the name of the dependency. |
Properties |
getProperties()
Gets the properties of the dependency. |
Specification |
getSpecification()
Gets the specification of the dependency. |
int |
hashCode()
Returns a hash code value for this object. |
boolean |
isBound()
Gets the flag indicating if the dependency is bound to a requesting implementation. |
void |
setBound(boolean value)
Setter for property . |
void |
setImplementation(Implementation value)
Setter for property . |
void |
setName(String value)
Setter for property . |
void |
setProperties(Properties value)
Setter for property . |
void |
setSpecification(Specification 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 |
public Dependency()
| Method Detail |
public Object clone()
public boolean equals(Object o)
o - the reference object with which to compare.
public Implementation getImplementation()
public String getName()
public Properties getProperties()
public Specification getSpecification()
public int hashCode()
public boolean isBound()
public void setBound(boolean value)
value - if an instance of the dependency should be
bound to the requesting implementation; if not.public void setImplementation(Implementation value)
value - the new implementation of the dependency.public void setName(String value)
value - the new name of the dependency.public void setProperties(Properties value)
value - the new properties of the dependency.public void setSpecification(Specification value)
value - the new specification of the dependency.public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||