public class UpdatableDefault<T> extends ToStringDefault implements Updatable<T>
| Modifier and Type | Field and Description |
|---|---|
protected Filter<java.lang.reflect.Field> |
filterForUpdateMethod
The filter used to tell us what field will be ignored by method
update(Object).Here we provide a default FieldFilterByName, which is instantiated with getFieldNamesIgnoredByUpdateMethod().In subclass, we can either override getFieldNamesIgnoredByUpdateMethod() or we can assign a new Filter to filterForUpdateMethod. |
filterForToStringMethod| Constructor and Description |
|---|
UpdatableDefault() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getFieldNamesIgnoredByToStringMethod()
Here an empty list is returned.
Subclass needs to provide its own list to ignore so that these fields will not be added to method ToStringDefault.toString(). |
protected java.util.List<java.lang.String> |
getFieldNamesIgnoredByUpdateMethod()
Here an empty list is returned.
Subclass needs to provide its own list to ignore so that these fields will not be added to method update(Object). |
void |
update(T o) |
toStringprotected transient Filter<java.lang.reflect.Field> filterForUpdateMethod
update(Object).FieldFilterByName, which is instantiated with getFieldNamesIgnoredByUpdateMethod().getFieldNamesIgnoredByUpdateMethod() or we can assign a new Filter to filterForUpdateMethod.getFieldNamesIgnoredByToStringMethod()protected java.util.List<java.lang.String> getFieldNamesIgnoredByUpdateMethod()
update(Object).update(Object).protected java.util.List<java.lang.String> getFieldNamesIgnoredByToStringMethod()
ToStringDefaultToStringDefault.toString().getFieldNamesIgnoredByToStringMethod in class ToStringDefaultToStringDefault.toString().Copyright © SAS Institute. All Rights Reserved.