
public class Specifications extends ModelObject implements Cloneable, Serializable
| Constructor and Description |
|---|
Specifications()
Creates a new
Specifications instance. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getDocumentation, getModelVersion, setDocumentation, setModelVersionpublic Specifications()
Specifications instance.public boolean equals(Object o)
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()
public void setSpecifications(Specification[] value)
specifications.value - the new specifications for the instance.DuplicateSpecificationException - if value contains
duplicate specifications.public final int size()
Copyright © 2005-2012 jDTAUS. All Rights Reserved.