public class DetachableContactModel extends org.apache.wicket.model.LoadableDetachableModel<Contact>
| Constructor and Description |
|---|
DetachableContactModel(Contact c) |
DetachableContactModel(long id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
used for dataview with ReuseIfModelsEqualStrategy item reuse strategy
|
protected ContactsDatabase |
getContactsDB() |
int |
hashCode() |
protected Contact |
load() |
detach, getObject, isAttached, of, onAttach, onDetach, setObject, toStringpublic DetachableContactModel(Contact c)
c - public DetachableContactModel(long id)
id - protected ContactsDatabase getContactsDB()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectReuseIfModelsEqualStrategy,
Object.equals(java.lang.Object)Copyright © 2017. All rights reserved.