|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdtaus.core.container.Specification
Specification meta-data.
A specification consists of the properties , , and . Property holds an identifier uniquely identifying the specification in a collection of specifications. Property holds vendor information for the vendor providing the specification. Property holds a textual description and property holds a textual version of the specification. The flag indicates whether implementations of the specification should be instantiated once or whenever requested through the container.
| Constructor Summary | |
Specification()
|
|
| 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 specification. |
String |
getIdentifier()
Gets the identifier of the specification. |
Implementation |
getImplementation(String name)
Gets an implementation for a name. |
Implementations |
getImplementations()
Gets all available implementations of the specification. |
String |
getModuleName()
Gets the name of the module holding the specification. |
String |
getVendor()
Gets the vendor of the specification. |
String |
getVersion()
Gets the version of the specification. |
int |
hashCode()
Returns a hash code value for this object. |
boolean |
isSingleton()
Gets the flag indicating the instantiation strategy of the specification. |
void |
setDescription(String value)
Setter for property . |
void |
setIdentifier(String value)
Setter for property . |
void |
setImplementations(Implementations value)
Setter for property . |
void |
setModuleName(String value)
Setter for property . |
void |
setSingleton(boolean 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 |
public Specification()
| Method Detail |
public Object clone()
public final boolean equals(Object o)
o - the reference object with which to compare.
public String getDescription()
public String getIdentifier()
public Implementation getImplementation(String name)
name - the name of the implementation to return.
NullPointerException - if is .
MissingImplementationException - if no implementation matching
exists.public Implementations getImplementations()
public String getModuleName()
public String getVendor()
public String getVersion()
public final int hashCode()
public boolean isSingleton()
public void setDescription(String value)
value - the new description of the specification.public void setIdentifier(String value)
value - the new identifier of the specification.public void setImplementations(Implementations value)
value - the new implementations of the specification.
DuplicateImplementationException - if contains
duplicate implementations.public void setModuleName(String value)
value - the new name of the module holding the specification.public void setSingleton(boolean value)
value - to flag the specification as a singleton;
to not flag the specification as a singleton.public void setVendor(String value)
value - the new vendor of the specification.public void setVersion(String value)
value - the new version of the specification.public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||