|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
addFoo(element), calls that
method.
Otherwise, if the instance has an add(index,element),
computes the size of the list and calls add(size(),element)
.
Othewise, if the instance has a List getFoo[plural suffix]
() method, calls that and adds the element to the list.
Othewise, if the instance has a Foo[] getFoo[plural suffix]
() method as well as a setFoo[plural suffix]
(Foo[]) method, calls the read method, copies the array into a
new array with an additional element and calls the write method to assign
the new array to the property.
add(index,element),
calls that method.
Othewise, if the instance has an add(element) method and
index == size(), calls that method.
Othewise, if the instance has a List getFoo [plural
suffix]() method, calls that and inserts the element into the
list.
Othewise, if the instance has a Foo[] getFoo[plural suffix]
() method as well as a setFoo[plural suffix]
(Foo[]) method, calls the read method, copies the array into a
new, one-longer, array inserting the additional element and calls the
write method to assign the new array to the property.
Bean is an interface that should be implemented by beans, or
classes that can make themselves appear to be beans.string
to lower case, unless the second character is
upper case.
addFoo(value) method:
Return type void
Name starts with "add" followed by capitalized singular
form of the property name
One parameter
addFoo(index, value) method:
Return type void
Name starts with "add" followed by capitalized singular
form of the property name
Two parameters, first integer
removeFoo(value) method:
Name starts with "remove" followed by capitalized singular
form of the property name
One parameter
removeFoo(index) method:
Name starts with "remove" followed by capitalized singular
form of the property name
One integer parameter
getFooCount() method:
Returns integer
Name starts with "get" followed by capitalized singular
form of the property name, followed by "Count" or "Size"
No parameters