|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdtaus.core.container.ModelObject
org.jdtaus.core.container.Specifications
public class Specifications
Collection of specifications.
| Constructor Summary | |
|---|---|
Specifications()
|
|
| 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. |
Specification |
getSpecification(int index)
Gets a specification for an index. |
Specification |
getSpecification(String identifier)
Gets a specification for an identifier. |
Specification[] |
getSpecifications()
Gets the specifications of the collection. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setSpecifications(Specification[] value)
Setter for property specifications. |
int |
size()
Gets the number of specifications held by the instance. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class org.jdtaus.core.container.ModelObject |
|---|
getDocumentation, getModelVersion, setDocumentation, setModelVersion |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Specifications()
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean equals(Object o)
equals in class Objecto - the reference object with which to compare.
true if this object is the same as o;
false otherwise.public final Specification getSpecification(int index)
index - the index of the specification to return.
index.
IndexOutOfBoundsException - if index is negativ,
greater than or equal to size().public Specification getSpecification(String identifier)
identifier - the identifier of the specification to return.
identifier.
NullPointerException - if identifier is null.
MissingSpecificationException - if no specification matching
identifier exists in the collection.public Specification[] getSpecifications()
public int hashCode()
hashCode in class Objectpublic void setSpecifications(Specification[] value)
specifications.
value - the new specifications for the instance.
DuplicateSpecificationException - if value contains
duplicate specifications.public final int size()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||