|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdtaus.core.container.Properties
Collection of properties.
| Constructor Summary | |
Properties()
|
|
| 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. |
Property[] |
getProperties()
Gets the properties of the collection. |
Property |
getProperty(int index)
Gets a property for an index. |
Property |
getProperty(String name)
Gets a property for a name. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setProperties(Property[] value)
Setter for property . |
Property |
setProperty(Property property)
Setter for a named property from property . |
int |
size()
Gets the number of properties held by the instance. |
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 Properties()
| Method Detail |
public Object clone()
public boolean equals(Object o)
o - the reference object with which to compare.
public Property[] getProperties()
public final Property getProperty(int index)
index - the index of the property to return.
IndexOutOfBoundsException - if is negativ,
greater than or equal to .public Property getProperty(String name)
name - the name of the property to return.
NullPointerException - if is .
MissingPropertyException - if no property matching
exists in the collection.public int hashCode()
public void setProperties(Property[] value)
value - the new collection of properties.
DuplicatePropertyException - if contains duplicate
properties.public Property setProperty(Property property)
property - the property to update or to add to property
.
NullPointerException - if is .
IllegalArgumentException - if a property with the same name but
different type exists.public final int size()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||